OS installation Date and Time

  • Thread starter Thread starter Nitin Sharma
  • Start date Start date
N

Nitin Sharma

Hi,

In one of the posts earlier in this group it was mentioned that to view
OS installation date and time you can use the command "sysinfo.exe"

I tried it once and it worked but when i am typing this command in the
dos window it is now giving me an error message " sysinfo.exe is not
recognized as an internal or external command, operable program or
batch file"

I have not made any changes to the system neither deleted or added any
new program.

Also on some occassions i get the same message with the ipconfig
command but sometimes it works.

Please suggest.
 
Nitin Sharma said:
Hi,

In one of the posts earlier in this group it was mentioned that to view
OS installation date and time you can use the command "sysinfo.exe"

I tried it once and it worked but when i am typing this command in the
dos window it is now giving me an error message " sysinfo.exe is not
recognized as an internal or external command, operable program or
batch file"

I have not made any changes to the system neither deleted or added any
new program.

Also on some occassions i get the same message with the ipconfig
command but sometimes it works.

Please suggest.

You may wish to acquire a better understanding of how
Windows locates programs you want it to execute. When
you type sysinfo at the Command Prompt then Windows
looks for sysinfo.com, sysinfo.exe, sysinfo.bat and sysinfo.cmd
in the current folder. If it can't find either of these files then it
will do the same search in the first component specified in your
%path%, followed by the next component until it has exhausted
every component listed in the path.

Sysinfo.exe normally resides in the system32 folder. Now have
a look at your path while at the Command Prompt. Is the
System32 folder included? If not then you should restore your
path so that it includes the system32 folder. If yes then have
a look in the system32 folder. Is sysinfo.exe there? If not then
you'll have to restore it from the i386 folder of your WinXP
installation CD.
 
1.The PsInfo utility from Sysinternals will show you the OS install date and
time.

This is freeware. Get it here:
http://www.sysinternals.com/Utilities/PsInfo.html

Extract the file to your %windir% folder then open a command prompt window and
enter "psinfo", w/o the quotes, and execute it.

2. Enter "ipconfig", w/o quotes, from a command prompt window.

--
Hope this helps,
Newt
Lat: 39° 59' 12" N, Long: 75° 24' 2" W


| Hi,
|
| In one of the posts earlier in this group it was mentioned that to view
| OS installation date and time you can use the command "sysinfo.exe"
|
| I tried it once and it worked but when i am typing this command in the
| dos window it is now giving me an error message " sysinfo.exe is not
| recognized as an internal or external command, operable program or
| batch file"
|
| I have not made any changes to the system neither deleted or added any
| new program.
|
| Also on some occassions i get the same message with the ipconfig
| command but sometimes it works.
|
| Please suggest.
|
 
Newt Ownsquare said:
1.The PsInfo utility from Sysinternals will show you the OS install date and
time.

This is freeware. Get it here:
http://www.sysinternals.com/Utilities/PsInfo.html

Extract the file to your %windir% folder then open a command prompt window and
enter "psinfo", w/o the quotes, and execute it.

2. Enter "ipconfig", w/o quotes, from a command prompt window.

Whether the OP surrounds ipconfig with double quotes
or not is irrelevant. It's the path that matters, and the
existence of the file itself.
 
Kudos, for a thoroughly complete, and easily understandable response,
with very good English! Why, I even understood it!

Mike
 
Thanks for the reply.

When i first tried sysinfo it worked from c:\documents and
settings\administrator>
even if i go to c:\windows\system32 the sysinfo.exe command does not
work.
However the winver file is also located in system32 folder and it works
from the path c:\documents and settings\administrator so I don't think
it is the path which is the problem.

I would appreciate if you could tell me how to restore this file from
the i386 folder of the winXP cd. Simple copy and paste from this folder
in the system32 folder did not work.

Also i had problems with the ipconfig command sometimes it works and
sometimes not.
 
Nitin Sharma said:
Thanks for the reply.

When i first tried sysinfo it worked from c:\documents and
settings\administrator>
even if i go to c:\windows\system32 the sysinfo.exe command does not
work.
However the winver file is also located in system32 folder and it works
from the path c:\documents and settings\administrator so I don't think
it is the path which is the problem.

I would appreciate if you could tell me how to restore this file from
the i386 folder of the winXP cd. Simple copy and paste from this folder
in the system32 folder did not work.

Also i had problems with the ipconfig command sometimes it works and
sometimes not.

Let's do this systematically. Two conditions must be met for
commands such as sysinfo.exe or ipconfig.exe to work while
in c:\documents and settings\administrator:
a) The files c:\windows\system32\sysinfo.exe and
c:\windows\system32\ipconfig.exe must exist.
b) The current path must include c:\windows\system32.

Here are the steps involved to resolve your issue:
1. Check condition a) above. Is it met?
2. Check condition b) above. Is it met?
3. Type these commands from a Command Prompt:
echo %path% > c:\test.txt
notepad c:\test.txt
4. Paste the contents of c:\test.txt into your reply.
 
The contents of the test.txt file are pasted below:

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

If i understand this correctly then the condition 2 is met as the path
includes system32 folder.

I have checked the system32 folder, the ipconfig file exists so for
ipconfig command both the conditions 1&2 are met.
Now surprisingly the sysinfo file could not be found in the system32
folder.

Now i have two questions for you.

1.) How can we restore the sysinfo file from the winXP cd. Is it a
simply copy and paste in the system32 folder from the i386 folder of
the cd or is there any other procedure?

2.) What could be the posible causes of this file disappearing from the
system32 folder i remember this command working when i read it in one
of the post earlier?

3.) Just in case if i need to add another path how can i do it.

Thanks.
 
Now we're getting onto firm ground! See below.

Nitin Sharma said:
The contents of the test.txt file are pasted below:

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

If i understand this correctly then the condition 2 is met as the path
includes system32 folder.

I have checked the system32 folder, the ipconfig file exists so for
ipconfig command both the conditions 1&2 are met.

Next time you are unable to run ipconfig.exe, perform this same test!
Now surprisingly the sysinfo file could not be found in the system32
folder.

Now i have two questions for you.

1.) How can we restore the sysinfo file from the winXP cd. Is it a
simply copy and paste in the system32 folder from the i386 folder of
the cd or is there any other procedure?

- Start a Command Prompt.
- Insert your WinXP CD.
- Type these commands:
cd /d c:\windows\system32
expand d:\i386\sysinfo.ex_ sysinfo.exe
2.) What could be the posible causes of this file disappearing from the
system32 folder i remember this command working when i read it in one
of the post earlier?

Don't know - it's your machine!
3.) Just in case if i need to add another path how can i do it.

Control Panel / System / Advanced / Environmental variables.
The process is probably described in detail under Start / Help.

You're welcome.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top