Windows Thread, Deploying Screensaver in Technical; Originally Posted by sted
user logon scripts
I have net time in my login scripts
what makes you think its ...
-
7th April 2011, 08:31 AM #16 
Originally Posted by
sted
user logon scripts
I have net time in my login scripts
what makes you think its failing on your machines?
Bear in mind it will hang enless you put net time /set /yes otherwise it will sit there asking you to say yes to updating the time. EDIT: this only works if they are power users or administrators which my staff are.
But startup scripts using the script above will work.
Last edited by glennda; 7th April 2011 at 10:12 AM.
-
-
IDG Tech News
-
7th April 2011, 09:25 AM #17 Thanks for the help folks, I have used your code glendda in a startup script and it succesfully copied the file across to the system32 folder.
-
-
7th April 2011, 09:43 AM #18 
Originally Posted by
glennda
I have net time in my login scripts
what makes you think its failing on your machines?
In this support article You cannot set the date, time, or time zone on your computer Microsoft say "By default, only administrators and power users can change the date, time, or time zone."
If net time /set is working for you then at some point you (or someone else) has given ordinary users the right to change the system time. This is potentially dangerous - if the time is changed on a machine by more than 5 minutes relative to the DCs then Kerberos authentication will fail (and the login script can't fix it because you won't be able to login!)
-
-
7th April 2011, 10:11 AM #19 
Originally Posted by
srochford
In this support article
You cannot set the date, time, or time zone on your computer Microsoft say "By default, only administrators and power users can change the date, time, or time zone."
If net time /set is working for you then at some point you (or someone else) has given ordinary users the right to change the system time. This is potentially dangerous - if the time is changed on a machine by more than 5 minutes relative to the DCs then Kerberos authentication will fail (and the login script can't fix it because you won't be able to login!)
Yeah i think ours are power users (staff only) which is from the by-gone era of when everybody had to be one for Sims to work.
they are set to get the time from the DC so its actually net time /domain:domain.name /set /yes
but then they cannot double click on the date/time in the bottom corner to change nor can they get to the command line to do it from there.
I've edited my post above - although my main point was that login scripts don't run as admin.
plus even if they tried to change the time the dc's change it back anyway when gpo is refreshed.
-
-
7th April 2011, 10:13 AM #20 
Originally Posted by
glennda
I have net time in my login scripts
what makes you think its failing on your machines?
Bear in mind it will hang enless you put net time /set /yes otherwise it will sit there asking you to say yes to updating the time.
But startup scripts using the script above will work.
making the script visible and adding a pause (and not turning scho off so i can see what its doing ) just says fail (or error message to that effect)
-
-
7th April 2011, 10:14 AM #21 
Originally Posted by
sted
making the script visible and adding a pause (and not turning scho off so i can see what its doing ) just says fail (or error message to that effect)
I've just edited my post above - my staff are power users!
but my main point was about the login scripts running as the user not admin.
-
-
7th April 2011, 11:18 AM #22 We have all our machines point to C:\WINDOWS\SYSTEM32\SW.SCR in the registry.
If I want to change the screensaver I just use wake on lan to turn the machines on then run a simple batch file to copy a replacement to all machines.
-
-
7th April 2011, 11:29 AM #23 Ok another question, I want to change the screensaver shown at the logon page. I have created a .reg file with the nessecary instructions, I have added that to the startup scripts. However when the computer boots it asks me do i want to add the information to the registry. How can I stop it from asking me if I want to change the registry and make it do it silently with out asking for user intervention?
-
-
7th April 2011, 11:33 AM #24 
Originally Posted by
capncrunch
Ok another question, I want to change the screensaver shown at the logon page. I have created a .reg file with the nessecary instructions, I have added that to the startup scripts. However when the computer boots it asks me do i want to add the information to the registry. How can I stop it from asking me if I want to change the registry and make it do it silently with out asking for user intervention?
Try /s
e.g. regedit.exe /s regfile.reg
e.g. objShell.Run "regedit /s registry.reg"
or however you're running it
Steve
-
-
7th April 2011, 11:50 AM #25 But where do i put the commands? in the .reg file i have set to run in GPO, or in the parameters box in the Startup script GPO?
-
-
7th April 2011, 11:55 AM #26 
Originally Posted by
capncrunch
But where do i put the commands? in the .reg file i have set to run in GPO, or in the parameters box in the Startup script GPO?
Well how are you running it currently? If you're doing it through script/bat can't you just do a run of it? In your startup script you're running a BAT?
Steve
-
-
7th April 2011, 11:59 AM #27 No I am currently running it on it's own. In the GPO it runs a startup script called logon_screensaver.reg.
-
-
7th April 2011, 12:03 PM #28 
Originally Posted by
capncrunch
No I am currently running it on it's own. In the GPO it runs a startup script called logon_screensaver.reg.
Guess you could try running a script that just does: REGEDIT /S logon_screensaver.reg
Not sure if you can do it direct through GPO, never tried tbh. Try adding a /s or -s to the GPO parameters, but not much use on that side sorry.
Steve
-
Thanks to Steve21 from:
capncrunch (8th April 2011)
-
7th April 2011, 12:13 PM #29 
Originally Posted by
Steve21
Guess you could try running a script that just does: REGEDIT /S logon_screensaver.reg
Steve
I have tried that in the parameters but it still asks me if i want the registry changes to be added.
-
-
7th April 2011, 12:17 PM #30 we just use
reg import logon_screensaver.reg
then make sure the script and logon_screensaver.reg are both saved in the startup folder of the group policy.
I think while logged in it will prompt when running startup it won't.
link
-
SHARE:
Similar Threads
-
By johnkay21 in forum Windows
Replies: 13
Last Post: 4th August 2011, 04:13 AM
-
By Tyiell in forum General Chat
Replies: 8
Last Post: 19th November 2010, 12:56 PM
-
By timbo343 in forum Windows
Replies: 5
Last Post: 31st March 2010, 01:31 PM
-
By andy_d in forum Educational Software
Replies: 1
Last Post: 18th June 2009, 02:38 PM
-
By randle in forum Windows
Replies: 0
Last Post: 5th January 2009, 12:59 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules