[RESOLVED] Set TIME
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 23

Thread: [RESOLVED] Set TIME

  1. #1
    sync
    Guest

    Resolved [RESOLVED] Set TIME

    Hi evryone this may seem an easy one so here goes.
    I am trying to get workstations to pickup the time off a PDC in the Domain (All NT4). I added a line in the login script which reads; net time \\servername /set /y. the script only works for people with admin privilages, when an ordinary user executes the script they get an insufficient privillages message. Any ideas guys?

    ------------------
    You can run, but you will only die tired!

  2. #2
    Who Me
    Guest

    Post

    We use that. the only difference where you have "/y." we have "/yes". I cant remember the context of the switch but it must be worth a try.

    ------------------
    There are three kinds of men. The one that learns by
    reading. The few who learn by observation. The rest of
    them have to pee on the electric fence for themselves.

  3. #3
    Registered User
    Join Date
    Jun 2000
    Location
    Haywards Heath, Sussex, UK
    Posts
    123

    Lightbulb

    Do the users have the 'DOMAIN USERS' set in there accounts under 'GROUPS'.

    Not sure if this is the answer but it must be worth a try.

    We use the same line in our scripts but I don't at the moment have a NT WS to try it on.

    Good Luck

    Martin

    ------------------
    [email protected]
    <a href="mailto:[email protected]" target="_blank">[email protected]</a>

  4. #4
    Registered User
    Join Date
    Mar 2000
    Location
    UK
    Posts
    226

    Post

    Just some random thoughts...
    The users will need read access to the script, which sounds like it's in the right place.

    making them all part of the domain users group should do it. If not check permissions + so forth on the script location.

    Apologies if I am stating the obvious.

    ------------------
    Have you tried reading the manual?
    What does this button do?

  5. #5
    sync
    Guest

    Post

    Guys all the users are setup properly in the right groups Inc Domain Users the scrip runs ok (drive mappings etc) its just the time part that will not work for DOMAIN USERS.

    Thanks for the interest so far.

    ------------------
    You can run, but you will only die tired!

  6. #6
    Rune
    Guest

    Post

    Do the users have right access to the computers then?
    It may be because that they dont have access to change anything on the computers...


    ------------------
    -=Rune of the North=-
    "Lallo of the New World"

  7. #7
    sync
    Guest

    Post

    This is what I can not understand a standard user has NO rights to change the system time. I was hoping that the script would execute as a system and be seperate from the users actual rights. If this is not the case then what would be the easiest way of giving the users rights, to execute the script successfully and stop them once in a session from altering the time again.

    ------------------
    You can run, but you will only die tired!

  8. #8
    Registered User
    Join Date
    Aug 1999
    Location
    Memphis, TN, USA
    Posts
    345

    Cool

    NT has a policy called 'change system time'. It is set to only allow admins and power users to change it by default. Just go to server tools -> user manager -> policies, then scroll down until you see it. Add 'everyone' to the list of people who can change the date and time.
    Never understood why MS thought it should keep people from changing the date and time.

    ------------------
    "Most people would sooner die than think; in fact, they do so. "

    - Bertrand Russell (1872-1970)
    "Most people would sooner die than think; in fact, they do so. "

    - Bertrand Russell (1872-1970)

  9. #9
    sync
    Guest

    Post

    Thanks but we have done that and it still wont work. Arggggghhh this drives me nutz. It works for Admins but not Domain Users. If we go to a workstation and give the local users account the right to change time then get a Domain user to logon to the worksation into the domain and then the script works. This sure looks like it could be very intense work wise we have several hundred workstations and several domains. There has to be a better way.

    ------------------
    You can run, but you will only die tired!

  10. #10
    Who Me
    Guest

    Post

    It doesn't matter that the user does not have the rights to change the system time, the script should do it anyway. Thats how the machines are set up here.
    If the users are allowed to change the time we get the salesmen changing it at the end of the month to fiddle their commision!

    ------------------
    There are three kinds of men. The one that learns by
    reading. The few who learn by observation. The rest of
    them have to pee on the electric fence for themselves.

  11. #11
    sync
    Guest

    Post

    This is what I have been trying to tell everyone all along. The script should do it and the users should not be able to alter the time. So dude what am I doing wrong?

    ------------------
    You can run, but you will only die tired!

  12. #12
    Who Me
    Guest

    Post

    Have you changed anything in the user rights policy?
    also is the script you are using in the logon script name in the policy tab in user manager for domains? (for all the users)

    is the script located in C:\WINNT\system32\Repl\Import\Scripts

    Sorry if they seem like dumb questions but it helps me at this end

    ------------------
    There are three kinds of men. The one that learns by
    reading. The few who learn by observation. The rest of
    them have to pee on the electric fence for themselves.

    [This message has been edited by Who Me (edited February 09, 2001).]

    [This message has been edited by Who Me (edited February 09, 2001).]

  13. #13
    sync
    Guest

    Post

    Everything seems in order the script is in the right location as it executes all the drive mappings and the user rights policy is set as standard.

    ------------------
    You can run, but you will only die tired!

  14. #14
    Who Me
    Guest

    Post

    I hate to state the obvious but it should work then.

    I'll do some more deep digging to try and help further.

    Don't you just hate it when you know it should work but it dont!!!!!

    ------------------
    There are three kinds of men. The one that learns by
    reading. The few who learn by observation. The rest of
    them have to pee on the electric fence for themselves.

  15. #15
    sync
    Guest

    Post

    Thanks dude, I agree it should work, but even if I alter the policy settings to allow users to change the system time it still comes up with "insufficient Privillages" when the script runs.

    Thanks for all your help.

    ------------------
    You can run, but you will only die tired!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •