AnsweredAssumed Answered

vrf Setting the Windows sys time

Question asked by VRFuser on Apr 15, 2002
Indeed...the other option IS much simpler,

but there isn't any internet access for this particular machine.

There is, however, other test equipment that contains a quartz time base
that is much better than the PC's.  Thus after a query to this test
equipment, I can automate the process of keeping the computer time in better
check.

(i have noticed all too often that PC's are TERRIBLE at keeping time)

-Phil


>From: "Shawn Fessenden" <shawnf@ameritech.net>
>To: "Mike Groves" <Mike.Groves@ultrarf.com>, "VEE Reflector (E-mail)"
><vrf@lvld.agilent.com>
>Subject: RE: vrf Setting the Windows sys time
>Date: Sat, 13 Apr 2002 12:34:28 -0500
>
>Hi Mike -
>
> > Geeze, all that just to set the time.
>
>;-)
>
> > net time /domain:yourdomain /set /y
>
>Provided you can do that, anybody would agree that it's a lot simpler.
>
> > BTW, make sure the user
>
> > account on the machine has
>
> > the privilege to set the
>
> > time. Normal USER profiles
>
> > have this privilege turned
>
> > OFF in WinNT.
>
>Exactly. The advantage of using the API call is that it automatically
>enables the SE_SYSTEMTIME_NAME privilege before it attempts to change the
>time.
>
>Automatic restart is another case where the same consideration applies.
>It's
>easy enough to have your application instigate a system shutdown & reboot,
>but it'll never work unless the SE_SHUTDOWN_NAME privilege is enabled in
>the
>user's account. The only way that gets done is either hounding IT to handle
>it or call the API and do it yourself.
>
>-SHAWN-
>
>
>---------------------------------------------------------------------
>This is the "vrf" maillist, managed by Majordomo.  To send messages to
>this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
>unsubscriptions are done through the address
>"vrf-request@lvld.agilent.com".
>If you need details, just send a message containing the text "help"
>to "vrf-request@lvld.agilent.com".
>---------------------------------------------------------------------




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes