+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31
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 ...
  1. #16

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    The Office
    Posts
    5,434
    Thank Post
    236
    Thanked 696 Times in 629 Posts
    Rep Power
    226
    Quote Originally Posted by sted View Post
    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.

  2. IDG Tech News

  3. #17
    capncrunch's Avatar
    Join Date
    Apr 2009
    Posts
    118
    Thank Post
    6
    Thanked 10 Times in 8 Posts
    Rep Power
    8
    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.

  4. #18

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,117
    Blog Entries
    2
    Thank Post
    111
    Thanked 513 Times in 444 Posts
    Rep Power
    114
    Quote Originally Posted by glennda View Post
    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!)

  5. #19

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    The Office
    Posts
    5,434
    Thank Post
    236
    Thanked 696 Times in 629 Posts
    Rep Power
    226
    Quote Originally Posted by srochford View Post
    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.

  6. #20


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    3,493
    Thank Post
    134
    Thanked 473 Times in 412 Posts
    Rep Power
    149
    Quote Originally Posted by glennda View Post
    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)

  7. #21

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    The Office
    Posts
    5,434
    Thank Post
    236
    Thanked 696 Times in 629 Posts
    Rep Power
    226
    Quote Originally Posted by sted View Post
    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.

  8. #22
    Gibbo's Avatar
    Join Date
    Feb 2008
    Location
    Cheshire
    Posts
    1,895
    Thank Post
    143
    Thanked 294 Times in 196 Posts
    Rep Power
    78
    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.

  9. #23
    capncrunch's Avatar
    Join Date
    Apr 2009
    Posts
    118
    Thank Post
    6
    Thanked 10 Times in 8 Posts
    Rep Power
    8
    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?

  10. #24

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    1,425
    Thank Post
    175
    Thanked 226 Times in 212 Posts
    Rep Power
    113
    Quote Originally Posted by capncrunch View Post
    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

  11. #25
    capncrunch's Avatar
    Join Date
    Apr 2009
    Posts
    118
    Thank Post
    6
    Thanked 10 Times in 8 Posts
    Rep Power
    8
    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?

  12. #26

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    1,425
    Thank Post
    175
    Thanked 226 Times in 212 Posts
    Rep Power
    113
    Quote Originally Posted by capncrunch View Post
    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

  13. #27
    capncrunch's Avatar
    Join Date
    Apr 2009
    Posts
    118
    Thank Post
    6
    Thanked 10 Times in 8 Posts
    Rep Power
    8
    No I am currently running it on it's own. In the GPO it runs a startup script called logon_screensaver.reg.

  14. #28

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    1,425
    Thank Post
    175
    Thanked 226 Times in 212 Posts
    Rep Power
    113
    Quote Originally Posted by capncrunch View Post
    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

  15. Thanks to Steve21 from:

    capncrunch (8th April 2011)

  16. #29
    capncrunch's Avatar
    Join Date
    Apr 2009
    Posts
    118
    Thank Post
    6
    Thanked 10 Times in 8 Posts
    Rep Power
    8
    Quote Originally Posted by Steve21 View Post
    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.

  17. #30

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    The Office
    Posts
    5,434
    Thank Post
    236
    Thanked 696 Times in 629 Posts
    Rep Power
    226
    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:
+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Deploying a Screensaver
    By johnkay21 in forum Windows
    Replies: 13
    Last Post: 4th August 2011, 04:13 AM
  2. Making your own screensaver...
    By Tyiell in forum General Chat
    Replies: 8
    Last Post: 19th November 2010, 12:56 PM
  3. PPS as a screensaver
    By timbo343 in forum Windows
    Replies: 5
    Last Post: 31st March 2010, 01:31 PM
  4. Screensaver Software
    By andy_d in forum Educational Software
    Replies: 1
    Last Post: 18th June 2009, 02:38 PM
  5. Screensaver
    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
  •