Archive for the ‘Windows OS’ Category

How to determine which versions of the .NET Framework are installed

Thursday, April 29th, 2010

To determine which versions of the .NET Framework are installed, locate the %systemroot%\Microsoft.NET\Framework folder. To open this folder, you can paste this address into a Windows Explorer address bar. The following folders contain the released versions of the .NET Framework:

  • v3.5

  • v3.0

  • v2.0.50727

  • v1.1.4322

  • v1.0.3705

Note If you see other folders that have a vN.N.NXXXX format, they may contain beta versions or pre-released versions of the .NET Framework. Those versions are outside the scope of this article.

To determine which versions of the .NET Framework are installed on a computer, follow these steps:

  1. Open any one of the folders in the previous list.

  2. Right-click the Mscorlib.dll file, and then click Properties.

  3. Click the Version tab, and then note the file version.

  4. Use the previous list to determine which version of the .NET Framework is installed on the computer, and then click OK.

Command to choose a Specific NTP Server in Windows

Tuesday, January 5th, 2010

      1.       To set the NTP server run the following command

a.       net time /setsntp: yourservername.domain.com

2.       Stop and Start the NTP service:

a.       net stop w32time

b.      net start w32time

3.       w32tm /resync /rediscover

4.       net time /querysntp

View uptime of Windows system

Thursday, September 17th, 2009

Select Start > Run
In the Open: box type cmd and press OK
At the command prompt type: systeminfo
OR
At the command prompt type: net statistics workstation

Extract a Microsoft Service Pack

Wednesday, June 17th, 2009

Here is one that I have used a few times and never remember so I always have to search for it. The below steps will take a Microsoft Service Pack file and extract it into a folder in case only certain files are needed.

xpsp2.exe -x: c:\sp2_extracted
Press ENTER

This will extract the Service Pack files to a folder at the root of the c drive called “extracted_sp2”.

To make partition and make it bootable

Thursday, June 11th, 2009

diskpart
list disk
select disk 0
create partition primary size=xx
select partition 1
active

(xx = size of disk in MB e.g. 12000 = 12GB)