set date and time in xp while logged in as restricted user

Windows XP SP3.

I need to change the date and time when logged in as a restricted user.   How do I do this?  (I can't seem to find any option that allows me to "Run as administrator".)

Note:  I cannot give users access via Local Policy > User Rights Assignments > Change the System time.

I just need to know how do to some type of "run as administrator" to change the date and time when logged in as a restricted user.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you could go to the start menu, run, and put in

runas /user:localmachinename\administrator cmd

the old DOS interface will popup and ask you for the administrator password.  once you authenticate properly, you can just run 'date' or 'time' in dos and enter whatever date or time you want to set the computer to.


runas [{/profile|/noprofile}] [/env] [/netonly] [/smartcard] [/showtrustlevels] [/trustlevel] /user:UserAccountName program

Top of page
/profile : Loads the user's profile. /profile is the default.

/no profile : Specifies that the user's profile is not to be loaded. This allows the application to load more quickly, but it can also cause a malfunction in some applications.

/env : Specifies that the current network environment be used instead of the user's local environment.

/netonly : Indicates that the user information specified is for remote access only.

/smartcard : Indicates whether the credentials are to be supplied from a smartcard.

/showtrustlevels : Lists the /trustlevel options.

/trustlevel : Specifies the level of authorization at which the application is to run. Use /showtrustlevels to see the trust levels available.

/user:UserAccountName : Specifies the name of the user account under which to run the program. The user account format should be user@domain or Domain\User.

program : Specifies the program or command to run using the account specified in /user.

/? : Displays help at the command prompt.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brian PiercePhotographerCommented:
If you are in a domain then you cant - and you should not try to

In a domain it is important that the time is syncronised with the Domain Controller (PDC Emulator).
>>>> you could go to the start menu, run, and put in

>>>> runas /user:localmachinename\administrator cmd

Unfortunately any malware could also use that stored credentials ...  

No, that really isn't an option.

The only safe way I know is to run a priviliged service which has a interface that could be used by the (unpriviliged) users, e. g. by using shared memory. Then, the service would read the request using IPC and do the changes on the local computer.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.