Tuesday, April 10, 2012

0x80070091 error while upgrading Windows XP to Windows 7 by SCCM 2007

Hello Friends,

Today i am trying to updgrade operating system windows xp to windows 7 by using System Center Configuration Magager (SCCM) 2007 R3.
i have made Task Sequence by using Microsoft Deployment tool kit 2010 Update 1 and advertise on collection, but while "wimping C:\ Drive " step task sequence gets failed..... I tried many times with new task sequece and face same error like mentioned in image.

Cause :

This error occured due to task sequece engine may not able to wipe c:\ Drive propperly or some files which is having wrong file extention or ended with # or ended with ( dot .) or some corrupt files.

Resolution :

1) Run chkdsk command if task sequence fail. ( this command may take lot of time to complete operation )
2) Press f8 while facing error and manually delete currept profile.
3) or write Script to delete currupt files.

For more information please refer http://blogs.msdn.com/b/alex_semi/archive/2012/02/22/os-refresh-fails-with-ntldr-can-t-be-found-error.aspx


exchange spam filter exchange spam filter exchange spam filter exchange spam filter exchange spam filter

Determine when the operating system was installed on a computer

Determine when the operating system was installed on a computer

Introduction

The Win32_OperatingSystem WMI class can be used to gather useful information about the Operating System. It supports many properties, out of which the InstallDate property is used to determine the Operating System installation date in a computer.

Script to determine the Operating System installation date

To run the script, copy the following lines to a Notepad document, and save as a file with .VBS extension (use double-quotes) and double-click the file. The installation date and time would be displayed.
' © 2006 Ramesh Srinivasan.
'Returns the Operating System installation date.

strComputer = "."
Set dtmInstallDate = CreateObject( _
  "WbemScripting.SWbemDateTime")
Set objWMIService = GetObject("winmgmts:" _
  & "{impersonationLevel=impersonate}!\\" _
  & strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
  ("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
  MsgBox "Install Date: " & getmydat (objOperatingSystem.InstallDate)
Next
Function getmydat(wmitime)
  dtmInstallDate.Value = wmitime
  getmydat = dtmInstallDate.GetVarDate
End function

Two more methods - For Windows XP Professional systems

Systeminfo.exe console-utility

Systeminfo command-line tool displays detailed configuration information about a computer and its operating system, including operating system configuration, security information, product ID, and hardware properties, such as RAM, disk space, and network cards. More information available at Microsoft Windows XP - Systeminfo

WMIC - command-line tool

Click Start, Run and type:
CMD /K WMIC OS GET InstallDate
You'll see the Operating System installation date (in WMI format). The first eight characters in that output gives you the installation date.