Flynnph
asked on
Editing a PC's registry at Logon (without the user being a local administrator)
Hi,
I need to set a script (possibly using kix) to write the %computername% to a folder on the server, (lets call the folder xyz)...this file could be called %computername% to show the ID of the PC.
Next I need the server to scan this folder and do the following when it finds a file:
Execute psexec using the PCID e.g. \\server\netlogon\xyz\%com putername% kix32.exe \\server\netlogon\myfile.k ix
The kix file will edit the local registry, this fails if I add the .reg file to the users logon file if they are not members of the local administrators group... this is why I am attempting to run PSEXEC from the server as a service.
Any suggestions would be appreciated.
I need to set a script (possibly using kix) to write the %computername% to a folder on the server, (lets call the folder xyz)...this file could be called %computername% to show the ID of the PC.
Next I need the server to scan this folder and do the following when it finds a file:
Execute psexec using the PCID e.g. \\server\netlogon\xyz\%com
The kix file will edit the local registry, this fails if I add the .reg file to the users logon file if they are not members of the local administrators group... this is why I am attempting to run PSEXEC from the server as a service.
Any suggestions would be appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.