-
February 8th, 2001, 02:09 AM
#1
[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!
-
February 8th, 2001, 06:26 AM
#2
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.
-
February 8th, 2001, 06:41 AM
#3
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]
-
February 8th, 2001, 03:42 PM
#4
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?
-
February 9th, 2001, 04:44 AM
#5
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!
-
February 9th, 2001, 05:09 AM
#6
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"
-
February 9th, 2001, 05:32 AM
#7
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!
-
February 9th, 2001, 05:33 AM
#8
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)
-
February 9th, 2001, 05:58 AM
#9
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!
-
February 9th, 2001, 06:05 AM
#10
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.
-
February 9th, 2001, 06:07 AM
#11
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!
-
February 9th, 2001, 07:08 AM
#12
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).]
-
February 9th, 2001, 07:30 AM
#13
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!
-
February 9th, 2001, 07:43 AM
#14
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.
-
February 9th, 2001, 07:59 AM
#15
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!
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
|
|
Bookmarks