PDA

View Full Version : Running Applications with Different Permissions (W2K)



AdamC
02-07-2003, 04:24 AM
I hope you can help. I have read through the scripting guide on the website and it didn't quite clarify the thoughts in my head. I was hoping you could help me out.
I need to setup a system to run an anti-virus update program on client machines across the network. As the current system stands I have to individually log into every machine on the network as administrator and install it from there as the users don't have the permissions to run the program.
Is there any way of using scripting to run the program automatically at the users network login, using admin permissions, before reverting back to the basic user permissions?

dudeinAmerica
02-24-2003, 04:16 PM
You might be able to run the service as a "system service," this would run before Windows starts. Check out this registry location:

<font color=blue>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\RunServices</font color=blue>

Create a string value, with the value being that of the command line to the program. For exmple, the name would be <font color=blue>NU</font color=blue>, and the value would be <font color=blue>C:\Program Files\Norton Anti-Virus\update.exe</font color=blue> or whatever the program location is.

Let me know if you need any more help,

/images/forums/icons/cool.gifBrady/images/forums/icons/cool.gif