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.