Specialized Systems, Inc.
VNCPush Framework



VNCPush - Troubleshooting

If you have a share mapped to the computer running the script, you may run into a situation where XP/NT will not allow you to map both a share and an IPC$ connection with different credentials. This can be verified by manually trying to map an IPC$ via the command prompt:
	net use \\rhost\ipc$ /user:domain\username password
It has been observed that from an XP machine to another XP machine, using the source host's user id (blank username / password in VNCPush), you may get the access denied error even though the authentication is valid. I have found that by connecting via VPN to your home domain (active route to your DC), you can then authenticate. This must be an issue with the destination XP machine needing you to re-confirm your authentication.

If you receive an error binding IPC$, manually map the IPC$ endpoint via a DOS command prompt:
	net use \\computer\ipc$
	net use \\computer\ipc$ /user:domain\username
	net use \\computer\ipc$ /user:domain\username password
The error message returned from the above DOS commands should help troubleshoot the problem.

If you have any problems removing VNC, restart the remote computer with the following command and then use VNCPush to remove VNC:
	shutdown -r -f -m \\netbiosname
If you get authentication problems, map the IPC$ endpoint first with the following command and then use shutdown.exe:
	net use \\netbiosname\ipc$ /user:domain\username password
The problem usually occurs removing the vnchooks.dll file. I think it is a timing problem with stopping the VNC service and then removing the file too quickly before the service has completely stopped.



VNCPush - Using the INI File

The VNCPush application is delivered in an executable format. This is really just a compressed archive with the default HTA run on extraction. Using this extract and run method, any changes made to the INI file will be lost when VNCPush is closed because the temporary directory (including the INI file) is deleted.

If you would like to use custom INI files, REG files, or VNC components, you must extract this archive into a directory and make your changes. You can then just invoke VNCPush by double-clicking vncpush.hta.

If you have a RAR compatible compression application, you should be able to right-click vncpush.exe and choose to extract, otherwise, do the following: Open up your explorer window to your temporary working directory:
	C:\Documents and Settings\%username%\Local Settings\Temp
Run vncpush.exe and you will see a temporary directory appear, copy this directory and rename to vncpush. When you close VNCPush, you will notice the temporary directory will dissappear. You now have the uncompressed vncpush directory where you can make modifications as needed.