April 29 2011

Reasons to avoid Windows 7 32-bit

There is a great new post over here (http://adventuresinosd.blogspot.com/2011/04/top-10-reasons-to-avoid-windows-7-32.html) at Adventures in OSD on the reasons to avoid the 32-bit version of Windows 7 in the enterprise.

I strongly agree with all of his points and made one conclusion – if you are going to run a 32-bit OS then stick with Windows XP 32-bit, if you are going to run a 64-bit OS then run Windows 7 64-bit. Don’t give any other options.

I have deployed both 32 and 64 bit versions of Windows 7 in environments too and you are basically creating yourself twice the work with a nightmare of ongoing maintenance.

More here – http://adventuresinosd.blogspot.com/2011/04/top-10-reasons-to-avoid-windows-7-32.html

I use a maximum of one Google Ad per post to help offset some of my blog hosting costs.


April 9 2010

SCCM OSD and Dell SigmaTel audio driver on Windows XP

Several Dell laptop models including the E6400, D630, D520 and D430 all require the Sigmatel audio drivers on Windows XP. While the ‘auto apply drivers’ and ‘apply driver packages’ features of SCCM OSD work well for all other device drivers, the Sigmatel audio drivers have been a constant pain. I have finally resolved this by adding a command line step to the task sequence with the following command line:

setup.exe -s -SMS -f2"c:windowstempaudiodriver.log"

There setup.exe is the InstallShield installation provided from the Dell support website. The -s makes it silent and the -SMS prevents the network connection and Setup.exe from closing before the setup is complete. I also create a WMI query condition on the step so it only applies to certain models:

Select * from Win32_ComputerSystemProduct Where Name LIKE "%Latitude D430%"

We don’t seem to have this problem with Windows 7, the ‘auto apply drivers’ works nicely.

December 11 2008

CPU usage at 100% – svchost

I’ve often seen enterprise workstations have their CPU randomly spike to 100% usage for a few minutes, making the machine completely unusable. A quick look at the Task Manager shows svchost.exe being the culprit.

95% of the time, the below process will fix your problem.

  1. Create a batch file and put the command shown below into it.
  2. Download windowsupdateagent30-x86.exe from Microsoft (http://download.windowsupdate.com/windowsupdate/redist/standalone/7.2.6001.788/windowsupdateagent30-x86.exe)
  3. Download WindowsXP-KB927891.exe from Microsoft (http://www.microsoft.com/downloads/details.aspx?familyid=7A81B0CD-A0B9-497E-8A89-404327772E5A&displaylang=en)
  4. Restart machine in safe mode. Run the batch file, then windowsupdateagent30-x86.exe, then WindowsXP-KB927891.exe

 Batch file contents:

regsvr32 comcat.dll /s
regsvr32 shdoc401.dll /s
regsvr32 shdoc401.dll /i /s
regsvr32 asctrls.ocx /s
regsvr32 oleaut32.dll /s
regsvr32 shdocvw.dll /I /s
regsvr32 shdocvw.dll /s
regsvr32 browseui.dll /s
regsvr32 browseui.dll /I /s
regsvr32 msrating.dll /s
regsvr32 mlang.dll /s
regsvr32 hlink.dll /s
regsvr32 mshtmled.dll /s
regsvr32 urlmon.dll /s
regsvr32 plugin.ocx /s
regsvr32 sendmail.dll /s
regsvr32 scrobj.dll /s
regsvr32 mmefxe.ocx /s
regsvr32 corpol.dll /s
regsvr32 jscript.dll /s
regsvr32 msxml.dll /s
regsvr32 imgutil.dll /s
regsvr32 thumbvw.dll /s
regsvr32 cryptext.dll /s
regsvr32 rsabase.dll /s
regsvr32 inseng.dll /s
regsvr32 iesetup.dll /i /s
regsvr32 cryptdlg.dll /s
regsvr32 actxprxy.dll /s
regsvr32 dispex.dll /s
regsvr32 occache.dll /s
regsvr32 occache.dll /i /s
regsvr32 iepeers.dll /s
regsvr32 urlmon.dll /i /s
regsvr32 cdfview.dll /s
regsvr32 webcheck.dll /s
regsvr32 mobsync.dll /s
regsvr32 pngfilt.dll /s
regsvr32 licmgr10.dll /s
regsvr32 icmfilter.dll /s
regsvr32 hhctrl.ocx /s
regsvr32 inetcfg.dll /s
regsvr32 tdc.ocx /s
regsvr32 MSR2C.DLL /s
regsvr32 msident.dll /s
regsvr32 msieftp.dll /s
regsvr32 xmsconf.ocx /s
regsvr32 ils.dll /s
regsvr32 msoeacct.dll /s
regsvr32 inetcomm.dll /s
regsvr32 msdxm.ocx /s
regsvr32 dxmasf.dll /s
regsvr32 l3codecx.ax /s
regsvr32 acelpdec.ax /s
regsvr32 mpg4ds32.ax /s
regsvr32 voxmsdec.ax /s
regsvr32 danim.dll /s
regsvr32 Daxctle.ocx /s
regsvr32 lmrt.dll /s
regsvr32 datime.dll /s
regsvr32 dxtrans.dll /s
regsvr32 dxtmsft.dll /s
regsvr32 WEBPOST.DLL /s
regsvr32 WPWIZDLL.DLL /s
regsvr32 POSTWPP.DLL /s
regsvr32 CRSWPP.DLL /s
regsvr32 FTPWPP.DLL /s
regsvr32 FPWPP.DLL /s
regsvr32 WUAPI.DLL /s
regsvr32 WUAUENG.DLL /s
regsvr32 ATL.DLL /s
regsvr32 WUCLTUI.DLL /s
regsvr32 WUPS.DLL /s
regsvr32 WUWEB.DLL /s
regsvr32 wshom.ocx /s
regsvr32 wshext.dll /s
regsvr32 vbscript.dll /s
regsvr32 scrrun.dll mstinit.exe /setup /s
regsvr32 msnsspc.dll /SspcCreateSspiReg /s
regsvr32 msapsspc.dll /SspcCreateSspiReg /s
regsvr32 /s urlmon.dll
regsvr32 /s mshtml.dll
regsvr32 /s shdocvw.dll
regsvr32 /s browseui.dll
regsvr32 /s jscript.dll
regsvr32 /s vbscript.dll
regsvr32 /s scrrun.dll
regsvr32 /s msxml.dll
regsvr32 /s actxprxy.dll
regsvr32 /s softpub.dll
regsvr32 /s wintrust.dll
regsvr32 /s dssenh.dll
regsvr32 /s rsaenh.dll
regsvr32 /s gpkcsp.dll
regsvr32 /s sccbase.dll
regsvr32 /s slbcsp.dll
regsvr32 /s cryptdlg.dll
regsvr32 /s schannel.dll
regsvr32 /s oleaut32.dll
regsvr32 /s ole32.dll
regsvr32 /s shell32.dll
regsvr32 /s initpki.dll
regsvr32 /s msscript.ocx
regsvr32 /s dispex.dll
regsvr32 jscript.dll /s
del %temp% /Q /F
net stop wuauserv
ren %windir%system32catroot2 catroot2.old
cd /d %windir%SoftwareDistribution
rd /s DataStore /Q
regsvr32 wuapi.dll /s
regsvr32 wups.dll /s
regsvr32 wuaueng.dll /s
regsvr32 wucltui.dll /s
regsvr32 wuweb.dll /s
regsvr32 msxml.dll /s
regsvr32 msxml2.dll /s
regsvr32 msxml3.dll /s
regsvr32 urlmon.dll /s
net start wuauserv