Task Sequence error 0x00000032 when deploying applications

Ah, the joy of troubleshooting task sequences in Config Mgr! I spent a while on this one, having one task sequence performing a build and installing some software and another one while deploying that image. The deploy should also install driver applications, the one we love to hate, like bluetooth and fingerprint readers. Well, it failed multiple times to my great annoyance. Why it fails? Because software installations take place in the full OS, which occurs AFTER the step “Setup Windows and Config Mgr”. Once I moved my installations to after that, it worked flawlessly.

How to fool Windows 8 into using your SD-card in the media applications

Running Windows 8? Want to use the SD-card slot with the Music or Movies-applications in Windows 8? Windows Media Player won’t include stuff in the library that’s stored on removable storage so here’s how to fool it!

Create a VHD on an SD-card (or USB, but that’ll stick out of your Slate (which I’m running)).

To create a VHD using diskpart follow these steps:

  1. Insert your SD-card or USB and note the driveletter it receives. Substitute “C:” below with that letter.
  2. Run CMD, start diskpart
  3. create vdisk file=”C:vdisksmediadisk.vhd” maximum=16000 (Creates a VHD on C: with maximum size 16000 MBs)
  4. attach vdisk (attaches it to your computer)
  5. create partition primary (creates a primary partition)
  6. assign letter=z (assigns the letter z to it)
  7. format fs=ntfs quick (quick formats the VHD with NTFS)

Start Notepad and copy and paste the script below, save this script into “mount.bat” or something similar.

setlocal
set dpscript="%TEMP%dpscript.txt"
echo select vdisk file="w:mediadisk.vhd" > %DiskPartScript%
echo attach vdisk >> %dpscript%
DiskPart /s %dpscript%
endlocal

To make sure your computer mounts your VHD automatically we’ll add the script to the startup scripts in the Local Group Policy Editor:

  1. Start it by pressing Windows+R and typing gpedit.msc into the box.
  2. Browse to Computer Configuration/Windows Settings/Scripts (Startup/Shutdown)
  3. Doubleclick Startup
  4. Browse to where you saved your script
  5. Ok all the way out to the MMC
  6. Reboot
  7. If it worked your VHD shall now be mounted with a driveletter

 

 

 

 

 

 

 

 

To get some content into your applications you’ll need to create some folders in your VHD. I’ve named mine “Movies” and “Music”. Into these I’ve copied, you guessed it, movies and music.

These folders then need to be added into the libraries in Windows 8.

  1. Do this by starting Explorer, browse to your directories, right click and choose “Include in library”.
  2. Select the appropriate library.
  3. To speed things up you can after this go into Windows Media Player to verify or rescan that your files are added.

Once they are, they’ll be included in the Movies and Music apps in Windows 8 too.

Adding your key to Windows 8 for successful activation

When you’ve installed Windows 8 it won’t let you edit certain settings until you’ve activated it. But to be able to do that you’ll need to enter your license key first. There’s no obvious way of doing that in the enterprise version, so just do it like it’s done in Server Core in three easy steps:

  1. Fire up CMD with administrative rights.
  2. Then you’ll just enter slmgr /ipk 12345-12345-12345-12345-12345<enter> Substitute 12345 with your key of course.
  3. When it’s done, just enter slmgr /ato to activate Windows.

Boom! You’re done!

If you liked this post or it helped you, please share!

New downloads from Microsoft

Monday morning and the downloads just pours out from Redmond!

A new beta of Windows Server 2012 Essentials is available at http://www.microsoft.com/en-us/download/details.aspx?id=30327. Now with some upped specs, from 25 users to 75. Which actually makes it quite useful. And no need to reinstall either like the old SBS.

The Virtual Machine Servicing Tool is available in a new and fresh version too. If you’re using this to keep your VM’s up to date it’s time to upgrade. Find it over at http://www.microsoft.com/en-us/download/details.aspx?id=30470.

System Center 2012

Once you check out and take some time off, lots of stuff goes down. Like the release of the System Center 2012 suite of software. This is, to quote Microsoft, a game changer. A unified installer, and new versions of the different management components gives you a whole new level of control.

The whole suite is now better prepared to cooperate and you can automate lots of steps thanks to Orchestrator. This makes it easier for IT to deliver their services to the business in an automated and efficient way, previously only possible by using third party products and addons.

 

 

 

 

 

 

Get the 180 day trial of Microsoft System Center or read more here!