Results 1 to 4 of 4

Thread: Error "System error 5 has occurred" trying to set the system time using NET TIME on XP

  1. #1
    Spin Guest

    Error "System error 5 has occurred" trying to set the system time using NET TIME on XP

    Gurus,

    I am NOT an administrator of my Windows XP SP3 workstation. BUT I do have
    rights to change the system time. I am able to set the time on the machine
    causing the Control Panel Date/Time applet. But if I try to set it using
    the command line, I get an error. Any ideas why?

    C:\>net time \\dim8300 /set /y
    System error 5 has occurred.

    Access is denied.

  2. #2
    Richard Mueller [MVP] Guest
    I suspect the problem is you lack permissions on the remote computer. Do you
    get the same error with:

    net time \\dim8300

    You need local admin rights on that machine. Spin, are you a domain admin? If so, does your domain admin account work?

  3. #3
    Join Date
    Sep 2009
    Posts
    1

    Re: Error "System error 5 has occurred" trying to set the system time using NET TIME on XP

    My case is similar but:

    when I put on Windows XP computer commmad:

    net time \\another_comp /set /yes

    it works.

    But, if I put the same command over 'at' command:

    at 10:45 /INTERACTIVE cmd /k "net time \\another_comp /set /yes"

    when the execution starts, it says:
    System error 5 has occured
    Access id Denied

    I both cases I put command as a user with administrator privileges.
    Any suggestions?

  4. #4
    Join Date
    Nov 2009
    Posts
    1

    Re: Error "System error 5 has occurred" trying to set the system time using NET TIME on XP

    «at» runs commands under «NT AUTHORITY\SYSTEM» account (until you change this behavior). You have to use

    at 10:45 /INTERACTIVE cmd /k "net time \\another_comp /set /yes /user:<username> <password>"

Similar Threads

  1. Replies: 7
    Last Post: 27-02-2012, 09:14 AM
  2. Replies: 5
    Last Post: 05-04-2011, 08:26 AM
  3. Replies: 4
    Last Post: 05-04-2011, 03:27 AM
  4. Replies: 4
    Last Post: 12-02-2011, 06:10 AM
  5. Replies: 5
    Last Post: 23-05-2010, 03:07 AM

Posting Permissions

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