Month: July 2009

Error 30 when injecting Nvidia driver into Windows 7 image using DISM

So I’ve started the preparations for deploying Windows 7 RTM in my home and I discovered an intriguing problem when injecting the latest Nvidia Geforce graphics driver into my offline Windows 7 image using DISM (deployment image servicing and management tool). The error was:

C:\Windows\system32>dism /image:e:\tempwim /add-driver /driver:”e:\Documents\Windows 7\Drivers\x64″ /recurse

Deployment Image Servicing and Management tool

Searching for driver packages to install…
Found 1 driver package(s) to install.

Installing 1 of 1 – e:\Documents\Windows 7\Drivers\x64\Nvidia Forceware v190.38 WHQL (Nvidia.com)\NV_DISP.INF: Error – An error occurred. The driver package could not be installed.
For more information, check for log files in the <windir>\inf folder of the target image.

Error: 30

The command completed with errors. For more information, refer to the log file.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log 

The problem was that the Nvidia driver wasn’t totally unpacked as it requested files not there. To solve this one has to extract all the files from the Nvidia driver, the most easy was to do this is to put all the files from the original Nvidia installation and then run “expand *.* c:\target” to unpack all files in the driver. After doing this you will have no problems injecting the driver into your Windows 7 wim image.

Note that the problem exist for both the Microsoft Update Catalog driver as well as the one which is available directly from Nvidia. Also note that this problem does not exist if you’re using Microsoft Deployment Toolkit 2010.

EDIT: Corrected the command from “extract” to “expand”. Thanks for the comment!

When to troubleshoot blue screen crashes

The other day I got an email from a blog reader which contained the information of a successful analyze of a memory dump file which is generated when an infamous blue screen of death occur. The reader wanted me to give him the solution or point him in the direction of a solution. This got me into thinking. When is it worth putting time on doing blue screen analyzes?

The content of the crash dump is maybe not that relevant after all. What is more important is how often and when the blue screen of death occurs. If the crash occurred just once or very seldom and randomly I would say that it might not be worth finding out exactly what caused the crash. Keep in mind that a blue screen could indicate a hardware failure, although driver problems are the most common cause for crashes.

However if the crashes occur often or at when doing specific tasks you have all the reasons in the world to get to the bottom of the problem. In these cases I recommend following the guide for troubleshooting blue screen crashes.

An interesting thing to note about blue screens that start occurring after for instance upgrading the OS from Windows XP to Windows Vista or Windows 7 is that the new memory management in the later operating systems might reveal problems in the memory modules that did not show when using Windows XP.

Finally, whenever having problem with blue screens of death I would recommend upgrading the machine BIOS. Often there are compatibility and stability fixes which solves problems with hardware which might be causing you the problems you are experiencing.

Finally some dates for Windows 7 availability

Now all dates for when Windows 7 will be available to the various customer groups are out in the open. TechNet availability August 6th, volume licensing availability August 7th. For all dates and info see http://windowsteamblog.com/blogs/windows7/archive/2009/07/21/when-will-you-get-windows-7-rtm.aspx

Not yet, but soon!

Back from a relaxing vacation. Apparently Windows 7 has not RTM:ed yet but it’s getting really close. Looking forward to get hold of the bits of both Windows 7 and Windows Server 2008 R2 to be able to wipe all my machines, clients and servers, and upgrade my domain to Windows Server 2008 R2. In the meantime I’m writing a few words about blue screens, it wil be out later this week. Stay tuned!

WEBSPAPW = Microsoft IT Environment Health Scanner

I guess you’re wondering what the heck “WEBSPAPW” stands for and it is nothing but “Windows Essential Business Server Preparation and Planning Wizards”. Microsoft has now come to the conclusion that this tool as I’ve written before was not only used for EBS migrations but also for general health checks in Active Directory environments. This has resulted in the name change to “Microsoft IT Environment Health Scanner” which is built from the previous EBS tool.

When running the Microsoft IT Environment Health Scanner you may find problems related to AD, DNS, replication and many other things and for everyone in charge of or controlling the IT environment this tool is strongly recommended. Read more on the EBS Blog.

Download: Microsoft IT Environment Health Scanner

General quick fix for Windows Update problems

Most problems with Windows Update can be solved by the simply renaming the folder SoftwareDistribution from the Windows directory. To be able to do so you are required to stop the service Automatic Updates (if you’re on Windows XP or Server 2003 or earlier) or the Windows Update service if you are on Windows Vista or Windows Server 2008 and later.

The SoftwareDistribution folder is automatically recreated when you start the service again. Bear in mind that you will lose the update history when performing this trick, something you can get back of course if you change the name of the SoftwareDistribution folder instead of just deleting it.

Also keep in mind that deleting the SoftwareDistribution folder is for fixing problems with searching for updates or contacting a WSUS server for instance, you will not solve problems installing various hotfixes or updates using this method. To troubleshoot problems related to Windows Update or Automatic Updates look in the WindowsUpdate.log located in the root of thew Windows directory for clues. For problametic hotfix installations see the hotfix log file.

MVP!

I’m extremely glad to have received the email from Microsoft which states that I have been awarded the MVP Award in the area of Windows Desktop Experience. Many years of hard work and dedication to the community has payed off :) Thanks to everyone that has supported me, especially I would like to thank my wife who has stood out with me and my computers for all these years. I will most certainly continue to contribute to the community in many ways. Stay tuned!

I would also like to congratulate fellow Swedes that received the reward for the first time as well as those that got it renewed: http://gerver.blogspot.com/2009/07/new-mvps-announced-july-2009.html