Hi,
I have a batch file i want to run on PCs when the user logs off or shuts down.
The PCs are NOT in a domain, so I can't use group policy.
I don't want to manually run gpedit.msc and add the batch file to users-logoff-scripts.
Is there a way to do it using vbscript which could add an entry into the shutdown/logoff scripts folder (like you would manually using gpedit)??
Thanks
Sharpy
I have a batch file i want to run on PCs when the user logs off or shuts down.
The PCs are NOT in a domain, so I can't use group policy.
I don't want to manually run gpedit.msc and add the batch file to users-logoff-scripts.
Is there a way to do it using vbscript which could add an entry into the shutdown/logoff scripts folder (like you would manually using gpedit)??
Thanks
Sharpy