?
Solved

GPO to copy screen saver to %systemroot%\system32

Posted on 2011-02-16
3
Medium Priority
?
2,157 Views
Last Modified: 2012-05-11
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.
0
Comment
Question by:ncomper
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
ChuckDeezel earned 2000 total points
ID: 34907588
Have it go to the All Users profile instead. Or maybe have it go to common files? (%COMFILESDIR%)

It looks like you will need to change the location, as elevating privs is out of the question.
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 34908324
There is a GPO setting for the screensaver if that's what you want
(if you use other then default accesible)
in
user configuration, administrative templates, desktop, display
0
 
LVL 5

Author Closing Comment

by:ncomper
ID: 35010583
Thanks
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question