Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get Hotsync to run via login script.

Status
Not open for further replies.

Empeethree

IS-IT--Management
Mar 27, 2000
192
US
I am needing to have hotsync.exe run when a user logs on to my network and not have it run when they are out of the office (it is a laptop obviously :) ) . I have tried calling a bat file, which works if I rerun the script after the login is complete. This doesn’t work on the initial log in. I know I can just have the user kill hotsync when he is not in the office, but since it is the head honcho, I would like to fix it behind the scenes.

Any help appreciated.
Thanks
Rob
 
What happens if you call the .bat file from within your loginscript ?

Also, you should be able to create a policy file, and add a customized adm file.
This would allow you to add something to the runonce key in the registry.
This will run the application when the NT boots
BUT : It will run the application everytime you start Windows NT...
But I think there should be a way to detect if the user is logged on to the domain or not... Peter Van Eeckhoutte
peter.ve@pandora.be

 
when i call the bat file. it doesnt really do anything. no errors. nothing. it is like it ran the exe but then the program isn't running when all is said and done.

I do need the program to only be running when the user is on the network. as the problem is when he is not logged onto the network hotsync grabs the com1 port and makes the modem unusable (until hotsync is removed from the startup folder and rebooted).

thanks in advance.
Rob
 
how are you calling the bat file from your loginscript ?
Remember, if you are using SP6 on your server, you should include the complete UNC

call \\YOURSERVER\NETLOGON\starthotsync.bat Peter Van Eeckhoutte
peter.ve@pandora.be

 
The bat file is actually working. Although no icon appears in the system tray, the process is running. I was thrown by the fact that if I doulbe clicked on the bat file, the icon would appear.

thanks

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top