Task Sequences not showing after MDT 2012 b2 upgrade

January 14th, 2012 Ben De Vriese No comments

The deployment wizard was not showing any Task Sequences after an upgrade from MDT 2010 U1 to MDT 2012 beta2.

Of course I updated my Deployment Share after the upgrade. Updating a second time, and completely regenerate the boot images got my attention that I didn’t reimported the boot images into WDS.

After reimporting the new generated boot images with MDT 2012 my Task Sequences showed up and I was able to start deploying again!

So don’t forget to reimport your WinPE boot images after upgrading to MDT 2012!

Categories: MDT 2010, MDT 2012 Tags: ,

Windows ThinPC unattend error with MDT 2010

January 6th, 2012 Ben De Vriese No comments

I was deploying Windows ThinPC using MDT with a customer, and received this error:

Windows could not parse or process unattend answer file [C:\MININT\unattend.xml] for pass [windowsPE]. A component or setting specified in the answer file does not exist.

According to the MS forums this should be solved in MDT 2012 beta 1. So we upgraded to MDT 2012 beta 2, but unfortunately the error remains.

Deleting the <UpgradeData> node from the unattend.xml, like Michael mentioned, fixed the issue. Windows ThinPC deployed successful when this node was removed.

PoC Jumpstart 2.0 SQL Server Evaluation Expired

January 5th, 2012 Ben De Vriese No comments

As of this writing, the SQL Server installed within the PoC Jumpstart Kit 2.0 is expired. While the new version 3.0 isn’t available yet.

This can be solved by disabling the time synchronization between the host, set the date to one in the past, and restart de SQL services afterwards.

net stop vmictimesync
date 24/2/2011
net start mssql$pocserver
net start mssql$microsoftscm
net start mssql$maps
net start vmictimesync

source: http://social.technet.microsoft.com/Forums/en-US/w7itpropoc/thread/6ccb11d4-e2cf-4af3-8df1-d2fdfb294d33

Edit: Proof of Concept Jumpstart Kit v3.0 was released, start your download managers!

Categories: Deployment Tags:

App-V and Adobe Reader: Access Denied when opening a PDF file

December 29th, 2011 Ben De Vriese No comments

In many cases virtual applications will talk to physical ones. That’s one of the reasons to keep Adobe Reader installed locally.

But we’ve got an issue with the Reader again.

Launching a PDF file from within the bubble gave an Access Denied error (using a physical Adobe Reader 10.1):

Reader 10 - Access Denied when opening PDF files

There was an error opening the document. Access Denied

This issue exits only when the PDF file is stored on a “personal folder”, like the Desktop-folder for example. (local User NTFS permissions?).

This isn’t an App-V issue but a Reader X feature called Protected Mode that gave this error.

It can be solved with some basic OSD scripting, but the first step is here to stay: “Know your application”. As Reader X gave this error, we can disable this feature with a registry key. Most of the work is to find out what registry key to set. To keep this short, here is my OSD script that disables Adobe Reader Protected Mode when opening Reader from within a App-V application:

<REGISTRY>
<REGKEY HIVE=”HKCU” KEY=”SOFTWARE\Adobe\Acrobat Reader\10.0\Privileged” NOREDIR=”FALSE”>
<REGVALUE REGTYPE=”REG_DWORD” NAME=”bProtectedMode”>00000000</REGVALUE>
</REGKEY>
</REGISTRY>

This goes into the VIRTUALENV-tag.

Happy sequencing!

WMI Stability fixes for SCCM clients

November 30th, 2011 Siegmund 2 comments

As you might already know, communication between SCCM clients and server(s) is heavily dependent on WMI functionality.  In many cases on windows XP clients we had to perform a WMI repair in the past (this is done easily with the client center tool).

However I still had some weird scenarios, even with server OS, eg: After successfully patching a server a few days earlier, the compliance status would still report those patches as missing (although they had been installed successfully…)

This is where I made the link with the so-called WMI stability hotfixes (credits to Kim Oppalfens!  and also http://ccmexec.com/2011/08/suggested-hotfixes-for-wmi-related-issue-on-windows-platforms ).

To try and avoid these kind of problems I have a two-phase approach:

- in the Task Sequence I will install the WMI stability hotfix directly

- I created a separate Task Sequence with all stability hotfixes and have spread that on the rest of our clients.

Note : this is the list of available WMI fixes per OS

2003+XPx64: kb933061
2003 32b: kb933061
XP 32b (SP2): kb933062
Vista/server 2008: which one is it?
Server 2008 R2/W7: 981314 + 977357 + 2465990 (SP1 only)

some more info about this WMI stability hotfix TS:

* first I created a package with 5 different command lines (and 5 programs) pointing to 5 different subfolders

* then I created a TS with 5 separate run command line entries (linked to the 5 programs in the package)

Every Step then has a condition linked to the appropriate OS.

Categories: SCCM Tags:

Using MDT scripts in SCCM without integration

November 30th, 2011 Siegmund No comments

Recently I was looking for a way to apply a specific task sequence step only to desktop machines. As it seems the wmi query for the chassistypes was not working in the task sequence, so I thought why not use the ZTIgather.wsf script from MDT?

as we have no direct need to integrate MDT, I just needed the functionality of the MDT scripts in SCCM.

Start by copying the MDT scripts and put them into a package.  you do not have to create a program for this package. put it on at least one DP.

Edit the TS:

- create a ‘run command line’ step: cscript.exe ZTIgather.wsf /localonly. browse and select your MDTscripts package.

(the localonly parameter is needed or this step will fail with return code 8000)

-in another existing step I have used the variable ‘IsDesktop’ to determine when to apply the step:

See, you do not have to reinvent the wheel again !

Categories: SCCM, System Center Tags:

Server 2008 R2 Slow startup while applying computer settings

November 26th, 2011 Ben De Vriese 2 comments

I’ve had some trouble with slow logon on Windows Server 2008 R2. The “Applying Computer Settings”-part takes about two minutes!

The eventlog shows two records about this issue:

The winlogon notification subscriber <GPClient> is taking long time to handle the notification event (CreateSession).

image

And:

The winlogon notification subscriber <GPClient> took xxx seconds to handle the notification event (CreateSession).

image

I stumbled upon some possible solutions. The first was updating the NIC driver. As I’m using the wireless network card, I’m only updating this one.

Updating NIC driver

Old driver:

image

New driver:

image

Drivers are updated but the logon time wasn’t reduced by a single second. Crying face

Disable Computer GPO’s

Second try was moving the computer object to a unmanaged OU (without policies applied), run gpupdate /force and rebooted some times .. but the problem still exists.

GpNetworkStartTimeoutPolicyValue

Third try: adding GpNetworkStartTimeoutPolicyValue with value 1 to the registry:

image

Maybe it’s a service or application on the computer itself .. ? I disabled some 3rd party (non Microsoft) services, but the problem remains.

Disable IPv6?

–> no luck

Disable CardReader?

–> no effect

Disable Autotuning?

netsh int tcp set global autotuninglevel=disabled

image

Didn’t solved it either, so I enabled Autotuning again:

netsh int tcp set global autotuninglevel=normal

Patches/Hotfixes?

KB2617858: Unexpectedly slow startup or logon process in Windows Server 2008 R2 or in Windows 7

KB2525332: You encounter a long logon time after you enable the "Do not automatically make redirected folders available offline" Group Policy setting in Windows 7 or in Windows Server 2008 R2

–> This hotfix fixes the slow logon issue for me! (I’m using redirected folders!)

Microsoft Deployment Toolkit 2012 Beta 2 Now Available

November 16th, 2011 Ben De Vriese 2 comments

MDT 2012 Beta 2 is available for download on Microsoft Connect.  The most important changes are ConfigMgr 2012 compatibility, improved Lite Touch user experience and a nice and easy upgrade process! Read all about MDT 2012 b2 at the Microsoft Deployment Toolkit Team Blog.

If 1Day = 30 hours then

WScript.Echo “Stay tuned at The D-Spot for some posts about the new beta product!”

End If

Categories: MDT 2012 Tags:

System Center Configuration Manager (SCCM) 2012 RC1 is available

October 29th, 2011 Ben De Vriese No comments

System Center Configuration Manager (SCCM) 2012 RC1 (build 7678) is available for download!

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27841

Categories: SCCM, SCCM 2012 Tags:

Microsoft System Center Suite – a bucket full of fruits

October 25th, 2011 verteto No comments

Recently we hosted an event about “Microsoft System Center Suite – a bucket full of fruits”. This seminar not only listed many of the new features and functionality that are included in 2012 versions but also answered some ins and outs of the suite components.

The result can be found here:

http://seminar.the-d-spot.org/Microsoft System Center Suite – a bucket full of fruits – 24102011Presentation.pdf