ccolonbackslash

Just another WordPress.com site

Category Archives: Deployment

MDT 2013 – WSUS updates not installing in task sequence

Following this great technet KB, i had issues applying WSUS updates to a reference image.

The pre and post application installation tasks were not running properly, although they didn’t error they failed to actually do anything. When i reviewed the ZTIWindowsUpdate.log i found this:

Command Line Procesed Query=False Registered=False  UpdateCommand=[IsInstalled = 0 and IsHidden = 0 and Type = ‘Software’]

Error searching for updates: Not Connected to Internet? (-2145107924)

This is despite telling it to connect to my wsus box.This job was running after an Office 365 2013 pro plus click to run installation.

I created a new command line task to run ZTIWindowsUpdate before the application installation, immediately after Tatoo and it completed just fine. Googled for hours, found nothing – this worked for me.

Advertisements

KB2919355 fails to install via SCCM on Windows 8.1 or Server 2012 R2

This update has been a mess on a number of levels from what I read but even after the April 15th update i was still unable to deploy it through SCCM until i found this:

http://social.technet.microsoft.com/Forums/windows/en-US/f24be582-8b67-4d42-9f09-8a434e434c62/ms14018-kb2919355-distribuzione-update-su-2012-r2-e-81-fallita?forum=windowsserverit

I saw this update failing to install in the event viewer with the reference: 8452bac0-bf53-4fbd-915d-499de08c338b.

installation failed

I went into SCCM, searched for the updates listed under KB2919355 and as instructed increased the installation timeout to 60 minutes.

updatetimeout

 

After which the update installed fine.

Windows 8.1 – Surface Pro and WMI GPO filters for Windows 8.1 and other findings

Just put windows 8.1 enterprise on my surface pro, works lovely, boot seems faster and it ‘seems’ to run less hot when doing low-power activities like reading or web browsing. Not noticed any improvement in battery life, but the instant on seems very instant now. Again this is subjective, as it’s a fresh install it’s always going to be a little snappier.

I used the 8.1 iso from technet and installed it with Rufus as per the next article down, i should mention 8.1 seems surface aware in that there was no odd scaling after it was installed, it seemed aware of the hardware and i think i recall that the wireless worked straight off the bat which was not the case with 8.

Also, WMI GPO filters for windows 8 do not work with 8.1, for a wmi to capture both OS’s (8 and 8.1) you’ll need to change your filter to:

SELECT * FROM Win32_OperatingSystem WHERE (Version LIKE “6.2.%” OR Version LIKE “6.3.%”) AND ProductType=”1”

The existing filter did not work as they’ve changed the version numbering with this new  rapid release cadence adopted, similar to apples approach with OSX which will hopefully reduce the amount of updating a year old windows install requires.

Other findings? not much so far aside seeming snappier, more logical start screen arrangement etc, I appreciate having the start button even in it’s hobbled form as it’s so much easier when using over remote desktop no more hovering near the corner pixel…. Though I think classic shell will be going on my non-touch screen machines when they get updated.

One other thing – VMWare Workstation 9 does not install on 8.1, but VMWare 8 does, as does 10. Hopefully this will be addressed.

Install Windows 8 Enterprise onto Surface Pro – Easy thanks to Rufus

The new MS Surface Pro is a fantastic bit of kit – however it comes installed with Windows 8 Pro, a lot of enterprises will want to get Windows 8 Enterprise onto it so they can take advantage of DirectAccess etc.

First things first get the Microsoft surface pro wireless drivers down from MS update catalogue or similar:

Marvell AVASTAR 350N driver – http://catalog.update.microsoft.com/v7/site/home.aspx. Put this on a usb stick.

Now get hold of a copy of the Windows 8 x64 enterprise ISO and a 4gb+ usb stick.

Download this fabulous utility: http://rufus.akeo.ie/ and run it with admin rights, set it to point to the 4gb usb disk you are happy to wipe with settings similar to the below and point it to the windows 8 x64 enterprise ISO location on your machine and it will build a bootable usb from the iso.

New Picture (2)

While this boot disk is building (assuming you have another machine to do this on) hold down volume up and power on your surface whilst still holding down volume up. A couple of options will appear, one for the TPM one for secure boot, select secure boot and disable it. Save settings.

Boot into windows, hold down windows + r and type shutdown.exe /r /o /t 10 – this will reboot into advanced options after 10 seconds (if it’s tricksy add /f to force shutdown).

When it restarts select boot from USB device and you should shortly see the windows enterprise installer. Delete old main partition and install fresh using the wizard.

Once the installer finishes and you’ve logged on, insert the usb stick with the wireless driver you’ve just downloaded, extract it and install it through device manager or manually by right clicking the extracted .sys file.

You should now be able to connect to Windows update and pull down all the rest of the drivers and the surface pro firmware update, and other necessary windows updates etc.

I found i was able to add office to the completed install and still sysprep it, but if i added much more to the image before sysprepping it (Wireshark, LPS, Sophos, Skype, VLC, Chrome etc) it caused sysprep to fail and ruined the image. I’ll work through what caused this to fail and post back here.

Use the Windows ADK with Rufus to build a winpe boot disk to capture the sysprepped image with dism as per http://justworks.ca/blog/goodbye-imagex-hello-dism, then you can deploy at your leisure to other surface pros.

Save yourself 15 minutes installing pre-req’s on an Exchange 2010 install on Server 2008 R2

Copy and paste the script on the page linked here to a notepad file, save as a .ps1 and run before installing exchange.

Even downloads the filter pack for you http://www.bhargavs.com/index.php/2009/11/18/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2/

Many thanks to the author of the linked page Bhargav Shukla, the original author of the script Anderson Patricio and Pat Richard. With lab installs i think this has given me around 2 hours of my life back all told.

TrueSec / Deployment CD – Awesomeness for free.

TruSec have offered a free copy of their deployment CD (2) for some time now, it contains a huge amount of information and guidance on deploying windows 7 both using freely available tools and sccm 2007. One excellent aspect of the 180mb iso is the 100% walk-throughs they do both on paper and through screencasts through zero and lite touch deployments.

I am currently trialling SCCM 2012 and the MDT 2012 beta, so this has been a hugely useful refresher.

Can’t recommend it enough. Go here and ask them for a copy: http://www.truesec.com/deploymentcd .

Awesomeness

Awesomeness

‘Windows setup could not configure windows to run on this computers hardware” when using YUMI

I encountered this issue while installing a netbook for a family member, I used the excellent YUMI multiboot USB creator, get it here: http://www.pendrivelinux.com/yumi-multiboot-usb-creator/. Each time i installed Windows 7 via YUMI on a samsung N140 netbook, after the first reboot i received a error: ‘windows setup could not configure windows to run on this computers hardware”. All i could think of that differed between this and other machines i’ve installed Windows 7 on was that this one had a series of other partitions, including a (broken) recovery partition. To reduce the number of partitions it had to look at on restart i removed the usb stick upon the first reboot during the reinstall and the install completed successfully. Not entirely sure why but hopefully this helps someone else.