Re: systeminfo.exe



The uptime.exe file worked. But I would still like to know how to get
systeminfo.exe to work again.

"Ramesh, MS-MVP" wrote:

> Hi Adam,
>
> Might be a problem with WMI. To test that, see if this script helps:
> http://www.microsoft.com/technet/scriptcenter/resources/qanda/sept04/hey0907.mspx
>
> Copy the script to Notepad, and save as "Uptime.VBS" to the Desktop.
> Double-click the file. BTW, to report in "minutes", change the following
> line:
>
> dtmSystemUptime = DateDiff("h", dtmLastBootUpTime, Now)
> to
> dtmSystemUptime = DateDiff("n", dtmLastBootUpTime, Now)
>
>
> Alternately, you can use the uptime.exe utility from Microsoft Resource Kit
> tools. Uptime is a simple command line tool that analyzes a single server
> for reliability and availability information. It can work locally or
> remotely. In its simple form, the tool will display the current system
> uptime. An advanced option allows you to access more detailed information
> such as shutdown, reboots, operating system crashes, and Service Pack
> installation.
> You can download uptime.exe from here:
>
> http://download.microsoft.com/download/winntsrv40/Install/uptime_1.01/NT4/EN-US/uptime.exe
>
> Download and save this file on your hard disk. You can then run uptime.exe
> from a command prompt. Type cmd.exe in Start, Run and uptime.exe
> You'll see the output like this:
>
> \\XPCOMP has been up for: 0 day(s), 0 hour(s), 49 minute(s), 6 second(s)
>
> Uptime Reliability and Availability Information Tool : [Microsoft Windows NT
> Server 4.0; uptime tool; reliability and availability tool; ]:
> http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default.asp
>
>
> --
> Ramesh, Microsoft MVP
> Windows XP Shell/User
> http://windowsxp.mvps.org
>
>
> "xadamz23" <xadamz23@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:AB6129D6-CC60-4F12-BFCA-DA6348C5A58B@xxxxxxxxxxxxxxxx
> > Normally when I go to a command prompt and type in "systeminfo", a bunch
> > of
> > information is displayed about my computer. One thing I always liked was
> > that it would show my system uptime.
> >
> > Now when I run the command it always says the system uptime is "N/A". I
> > have searched Google and other people have this problem. I cant however
> > find
> > a solution to fix it so that the system uptime is displayed.
> >
> > The output looks like this:
> >
> > System Up Time: N/A
> >
> >
> > Does anyone know what causes this and how to fix it?
> >
> > Thanks,
> > Adam
>
>
.



Relevant Pages

  • Re: Getting system uptime on Windows
    ... But still I can´t find any way to get the system uptime. ... TCL_DECLARE_MUTEXstatic int initialized = 0; ... return TCL_ERROR;} void Uptime_ExitProc{/* be festideous */ ...
    (comp.lang.tcl)
  • Re: how to calculate the system uptime
    ... I need a script that will calculate the system uptime. ... I can get the LastRebootTime of a machine in "YYYYMMDDDHHMMSS" format ... using the last "lastboottime" property from the Win32_OperatingSystem ...
    (microsoft.public.scripting.vbscript)
  • Re: how to calculate the system uptime
    ... I need a script that will calculate the system uptime. ... I can get the LastRebootTime of a machine in "YYYYMMDDDHHMMSS" format ... using the last "lastboottime" property from the Win32_OperatingSystem ...
    (microsoft.public.scripting.vbscript)
  • Re: where can I see when xp was last started or rebooted?
    ... you can use the uptime.exe utility from Microsoft Resource Kit ... Uptime is a simple command line tool that analyzes a single server ... for reliability and availability information. ... such as shutdown, reboots, operating system crashes, and Service Pack ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: System Uptime...?
    ... What do you use to keep track of system uptime, ... > I have a script file that I can execute from the sig block in Sylpheed. ...
    (alt.os.linux.suse)