Sounds like what you need is to set the RunLogonScriptSync key in the registry - am I right? [Wink]

Try adjusting something like this to your needs - its a script I used recently to hack a slight adjustment to our client remote control software. You can run this script from your PC, with your admin rights, assuming your user account does have the rights to do this manually over the network.

code:
;Script body
Break On

$Hosts = "pc1","pc2","pc3","etc"

;Enter all PC hostnames above in list

For Each $Host In $Hosts

If WriteValue("\\" + $Host + "\HKEY_LOCAL_MACHINE\Software\Funk Software, Inc.\Proxy Host\Settings","Permission","0","REG_DWORD") = 0

? "Proxy access permissions set successfully on " + $Host

Else

? "Unable to set Proxy access permissions on " + $Host

Endif
Shell 'cmd.exe /c shutdown.exe \\' + $Host + ' /R /C > NUL'

Next

:end
Exit

Hopefully you can see what this is doing - a good long read of the FAQs on this site and the manual that is downloaded with Kix would be a good idea.

Let us know how you get on with this.

Breaker

PS You probably will want to remove the line containing the Shutdown command, unless you have really understanding users!

The RunLogonScriptSync value is found under the HKLM\Software\Microsoft\Windows NT\CurrentVesrion\Winlogon key.

Breaker

[ 20. May 2003, 15:59: Message edited by: Breaker ]
_________________________
================================================
Breaker