Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6977779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:40:09+00:00 2026-05-27T17:40:09+00:00

How do you set date, time and the time zone setting of the remote

  • 0

How do you set date, time and the time zone setting of the remote computer using C#?
Basically, I want to update the time on selected machines in the network.

Creating time server is not an option as I want to update the time only on the user selected computers. All the remote computers are running windows XP or higher operating system.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:40:10+00:00Added an answer on May 27, 2026 at 5:40 pm

    Executing a remote process through WMI and .NET are extensively documented online. You can execute the date, time and tzutil DOS utilities to accomplish what you need. However, I think PsExec is the way to go.

    You only need to download the 1.6 MB utility once on your computer and use it to execute all kinds of remote processes on your XP machines. Here’s how you can change the timezone to Central Time using PsExec:

    psexec \\RemPC01 TZUTIL /s "Central Standard Time"
    

    You can wrap this in a bit of .NET code and it should do what you want:

    string remoteMachine = "RemPC01";
    string appName = "psexec.exe";
    string args = string.Format("\\\\{0} TZUTIL /s \"Central Standard Time\"", remoteMachine);
    Process.Start(appName, args);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do I set the date/time of the computer in C#?
I am attempting to use the code-behind (Page_Load or PreRender) to set a date-time
I am trying to set my columns default date time to system datetime. It
Does anyone know how to set Visual Studio 2008 to output the current date/time
I want to set a DateTime property to the previous day at time 00:00:00.
i am storing member's created date using the time() function, and echo them back
I want to calculate whats the date 20 yrs back from current time in
When you run something similar to: UPDATE table SET datetime = NOW(); on a
T-SQL DateTime Question. I have a set of time ranges. During those time ranges
i want to set the default value in a sql server 2005 datetime field

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.