I am using a vbs login for my local network of 50 users. Recently i have added the following to the script.
set fso = CreateObject("Scripting.FileSystemObject")
fso.copyfile "K:\winexit.scr", "c:\Program Files\"
set fso = nothing
This of course copies the screen saver winexit.scr to the local machine and the group policy sets it running after an hour of inactivity...user then has an hour to cancel the auto log off process.
Works fine for an admin but not for a local user...i need to change the registry to create subkey and set value permissions.
There is a lot on the net (and in these forums) but i have not found a definitive solution that works after a couple of hours of trawling the net.
Is there any way that this can be done in the script and what would the code be?