AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Time, Internet Time Settings

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
SteamLab
Guest





PostPosted: Sun Aug 17, 2008 2:11 am    Post subject: Time, Internet Time Settings Reply with quote

Hello, I am using AHK in my company. We have thousands of machines, and want to be able to deploy auto-scripts to shut off the Automatically synchronize with an Internet Time Server option. Normally it is set to ON to ping time.windows.com. How do I for lack of better terminology, uncheck this option/box automatically, somehow? Is there any easy way? Smile
Back to top
Red Hat Boy



Joined: 10 Apr 2008
Posts: 111

PostPosted: Sun Aug 17, 2008 2:22 am    Post subject: Reply with quote

I imagine, if you knew the registry key, you could edit it to change the setting.
RegRead
RegWrite

Edit:
This messes with the registry. I'll give you one warning: Use at your own risk. If it screws anything up, I am not responsible. Untested.
Code:
RegWrite, REG_SZ, HKEY_LOCAL_MACHINE, SYSTEM\CurrentControlSet\Services\W32Time\Parameters, Type, NoSync

_________________
I slit the sheet, the sheet I slit,
and on the slitted sheet I sit. ;~}
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group