Hi,
I have created a GPO to copy a screen saver scr file from the domain netlogon to the %systemroot%\system32 directory.
The bat file below is in the Logon scripts section of the policy;
@echo off
IF NOT EXIST "%systemroot%\System32\screensaver.scr" (GOTO COPYSCR) ELSE (exit)
:COPYSCR
copy \\domain.root.com\netlogon\screensaver.scr %systemroot%\System32
exit
The policy also enables this screen saver and various timeout settings.
However, when users execute the GPO it fails with access denied as they don't have rights to the %systemroot%\system32. The bat file worked as an administrator.
Anybody know a way around this?? I don't have a directory on the clients that users have access to other than thier profile. As we have many different OS versions, this will differ.
Thanks for any help.
It looks like you will need to change the location, as elevating privs is out of the question.