We help IT Professionals succeed at work.

Editing a PC's registry at Logon (without the user being a local administrator)

Flynnph asked
Last Modified: 2010-03-18
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\%computername% kix32.exe \\server\netlogon\myfile.kix

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.
Watch Question

Top Expert 2004
This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.