Article View: borland.public.cppbuilder.nativeapi
Article #12939Re: Set Date/Time Remotely
From: Vladimir Afanasyev
Date: Fri, 07 Nov 2003 09:40
Date: Fri, 07 Nov 2003 09:40
12 lines
1263 bytes
1263 bytes
Hi, I suppose you can use NET TIME command with /SET options remotedly as network administrator (via CreateProcess). Really, you can use WMI for it for Win2000/XP - Win32_OperatingSystem class has method SetDateTime. Most WMI methods can be run remotedly if runner has enough privilegies. For WinNT4 it also must work but you need download and install WMICore. Vladimir.
Technical Details
Message-ID:
<3fab7690$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fab4bc0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,84641d1536d172ca X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-07 03:09:20 PST From: "Vladimir Afanasyev" <avv@systema.kiev.ua> Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua> Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua> Subject: Re: Set Date/Time Remotely Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 212.82.216.226 X-Forwarded-For: 192.168.0.147 References: <3fab4bc0@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <3fab7690$1@newsgroups.borland.com> Date: 7 Nov 2003 02:40:16 -0700 X-Trace: newsgroups.borland.com 1068201616 207.105.83.66 (7 Nov 2003 02:40:16 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail