I’ve been rebuilding some of my lab and demo machines running WS2012 R2 preview with RTM bits. As they are Cluster-In-A-Box systems, they have shared disk between them and an already configured Storage Pool. Once I did a clean install one node of the CiB with Windows Server 2012 R2 RTM bits – it sees the old storage pool disks and recognizes there is a storage pool available on the disks. I want to preserve the Storage Pool and its data, so it’s really an Import Storage Pool action I am looking to accomplish.
Make the physical disks available to the server (I’ve already done that).
Right click the Storage Pool and choose Set Read-Write Access. Choose the server you want to enable Read-Write access.
Attach the Virtual disks back. Each disk has to be selected and re-attached.
Online the Volume (logical disk) to get it operational once again.
This works great, until you restart your system – at which time it recognizes the Storage Pool, but the Virtual Disks are not re-attached automatically. You can do this with a little PowerShell, since the GUI does not have the option to modify the “IsManualAttach” property.
Open your administrative level PowerShell prompt and type in the following.
I’m in the middle of a project where I am tasked to create a standardized Virtual Machine image for developers based on Windows 8.1 Enterprise “Release Preview”. This image will be used by a variety of people in the form of a Client Hyper-V guest VM, a Boot-To-VHD VM, a VDI pilot and possibly a Windows-To-Go bootable stick.
Sounds easy enough, eh?
Create the VM, install the software, install the updates, let the customer try it out and further customize it and then signoff on it’s configuration. Once that is all done – Package it up and make it available for use in a variety of forms (as mentioned above).
That would be easy – but there is a bug in the Windows 8.1 Enterprise Preview build 9431 which rears it’s ugly head if you:
Install ModernUI apps NOT provisioned for all users (like built in apps)
Update ModernUI apps there were NOT provisioned for all users (like built in apps)
Let the system run for an unspecified period of time while having internet connectivity and it updates something.
Any of these criteria and you’ll get the Sysprep 3.14 error.
If you check the logs at c:windowssystem32syspreppanther (the setupact.log) you’ll see something similar to:
2013-08-02 15:02:17, Error SYSPRP Package Microsoft.WindowsReadingList_6.3.9431.175_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2013-08-02 15:02:17, Error, SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2013-08-02 15:02:17, Error, SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2013-08-02 15:02:17, Error, [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing ‘SysprepGeneralize’ from C:WindowsSystem32AppxSysprep.dll; dwRet = 0x3cf2
Basically you are out of luck – for THIS image and Preview Release.
My solution for this? Here’s my process for getting SysPrep to work on Windows 8.1 Entperise “Preview Release”. In my case – I am not deploying any Modern UI applications with this image. If I was – I’d make DAMN sure they were provisioned for ALL users – not just local users, as this seems to be the issue causing Sysprep to fail.
To be specific:
Create the machine from scratch (if you are trying to troubleshoot this with an existing image – sorry, it’s a rebuild)
Disconnect it from the network / internet connectivity for the install process
DO NOT associate it with a Microsoft account at this time – Create a local account. This prevents the Store and ModernApps from updating themselves and breaking SysPrep in this Preview Release.
Once at the Desktop, open an administrator privileged PowerShell prompt.
Run “Get-AppxPackage | Remove-AppxPackage” at the PowerShell prompt. This will list all default installed Appx packages (which are installed per user) AND since it it piped to Remote-AppxPackage, it will remove them all.
you will get RED errors – this is expected due to dependencies.
From the Start Screen, right click and UNINSTALL the xBox music app. This app has dependencies with prevent all AppxPackages from being uninstalled
Run “Get-AppxPackage | Remove-AppxPackage” at the PowerShell prompt again to ensure all have been removed.
you will get RED errors – this is expected due to dependencies.
Connect back to the network / internet once again.
DO NOT associate a Microsoft Account for the entire time you are finishing this software install. Leave that for the SysPrep process.
I installed Visual Studio 2012, Visual Studio 2013, 20 odd components from Web Platform Installer, 3rd party software AND ran Windows Update for all products on the system. Once I was all done – ran Sysprep with the Generalize switch and all worked FINE this time around!
Now I can use the VHDX file for a VDI pilot, Boot-From-VHD and Windows-To-Go, all as expected with this Preview Release.
I get to talk to some very cool people in my role at Microsoft. I managed to get some time with Vice President of Windows Server and System Center – Brad Anderson. I learned about the concept of how Microsoft goes about planning out it’s releases of software with the concept of Pillars made up of uber-scenarios addressing customer issues – Way cool stuff!
I chat with Brad about the People Centric IT pillar and some of the scenarios and technologies that fall under that Pillar with regards to the preview release of Windows Server 2012 R2 and System Center 2012 R2.
Brad has a blog that he’s using to cover these pillars in more depth (providing context) and linking out to all sorts of Engineering blogs who cover more technical details around the technologies supporting these scenarios. This portion of the blog series has two guest posts By Paul Maydield:
Post 1 about users data on all sorts of devices (ms and non ms)
Post 2 about the consistent management experience and user experience.
The whole blog series can be viewed in his “In The Cloud” blog.
Some of the topics covered in this interview:
[00:58] How Microsoft approaches building product and services.
It just so happens that I was asked to deliver some of these tips and more to a worldwide gathering of Microsoft Certified Trainers as a segment on their quarterly update online event. I asked my partner in crime Joey Snow to help out and what resulted is a 55 minute video of tips, tricks and story telling that wraps all of this together.
I finally got my hands on a copy of the raw video and spliced it together so I could put it up here. Enjoy!
Joey and I are on the road for some fun Live Q&A with people about Windows 8 and Windows Server 2012. Even though we’re busy and engaging with people – we decided to step it up a notch and record an episode of The EdgeShow while at the hotel.
What’s really cool is this was SHOT with my Nokia 920 phone, resting on my backpack on a chair in the lobby of the hotel in Kansas City. To get better audio, you can see I used my portable Roland R26 recorder on the desk and had to mash up the audio stream from it into the video in post production. All that was done in the hotel room on my laptop while havin’ a pint of Tanker #7 ale.
I was delivering a quick session on the wonder that is Multi-Server Management for WIndows Server 2012 and I got asked the question – What Ports are required to be open when managing a system remotely.
ARGH… I always forget the port number – as it’s a non-standard port in the 5000 range.
Well – some quick Bing’ing – and I found this great article that lays out ALL the details on remote management capabilities using ServerManager. Lots of details on managing all sorts of systems and methods of managing them remotely.
Scroll down to the bottom and you’ll see the port:
Server Manager relies on default WinRM listener settings on the remote servers that you want to manage. If the default authentication mechanism or the WinRM listener port number on a remote server has been changed from default settings, Server Manager cannot communicate with the remote server.
The following list shows default WinRM listener settings for managing by using Server Manager.
The WinRM service is running.
A WinRM listener is created to accept HTTP requests through port number 5985.
Port number 5985 is enabled in Windows Firewall settings to allow requests through WinRM.
Both Kerberos and Negotiate authentication types are enabled.
The default port number is 5985 for WinRM to communicate with a remote computer.
For more information about how to configure WinRM listener settings, at a command prompt, type winrm help config, and then press ENTER.
I was on point for The Edge Show recently and decided to talk with my buddy Zach Alexander a PM on the Group Policy team on what’s new and cool in Group Policy these days. Three things immediately came to mind:
Remote Update on client systems
Improved Resultant Set of Policy.
I helped him do some screencasts of the three demos a while ago for the group policy blog so I called in my favour to have him come on the show and talk shop. Have a look at this episode.
My team has hosted a number of online “JumpStarts” for Microsoft Learning focused on Windows Server 2012 and Windows 8. In case you missed them – they are live multi-day events streamed online focused on a particular technology and have an interactive Q&A panel where you can get your questions answered. This interaction and Q&A is by far the most fun and valuable – but we’re focused on delivering the content and have help staffing the Q&A forum as it can get backed up with questions.
I was chatting with the MVA team who asked if I would be interested in piloting a live Q&A event with my partner in crime Joey Snow. The twist is: this time the focus IS the live Questions area focusing on getting the ANSWERS out and using Demos to explain the concepts. We’re focusing on Windows Server 2012 and Windows 8 (kind of like the Peanut Butter and Jelly “better together” concept) for this round. After talking with Joey and working out more logistical details – We’re all in. It’s going to be 90 minutes of all out Windows 8 and Windows Server 2012 Q&A / Demo-pa-looza goodness.
An unexpected slowdown issue had me baffled a not too long ago with timeouts to online services, web surfing, network access – generally everything had delays in starting / connecting. For the life of me, I couldn’t figure out why.
Then it struck me. I was using Windows 8 Hyper-V feature for some screencasts here on the blog as well as impromptu demos and I had created various INTERNAL and PRIVATE networks in order to isolate my VMGuests from the production network. By doing the newer INTERNAL networks – I had created new network adapters on my corporate client machine which screwed up my binding order!
A quick swipe to the start screen and typing of “binding” didn’t turn up anything in the search. I then remembered the GUI way of surfacing the binding order configuration tool.
Just open your Network and Sharing Center.
Press an ALTkey on your keyboard to show the menu bar.
Click on the Advancedmenu
choose Advanced Settingsoption
Adjust your binding order for your NICs to ensure your primary CORP ones are at the TOP
If you’ve used Windows 8 for any length of time, you’ve probably clicked on a link to open a website in an email or document and it’s opened in the “UI that was formerly known as Metro” version of IE. It may not have rendered correctly – which you rectified by opening up the site in “Desktop Mode” of IE.
Joey shared this Tidbit of information recently as we were hosting The Edge Show. It will force all links to open in Desktop Mode IE instead of “the modern interface browser”.
Open Desktop Internet Explorer.
Go to Internet Options
Click on Programs
Select “Always in Internet Explorer on the desktop” for How you Open Links
That’s it!!! Solved a bunch of “compatibility issues” with various family members and support professionals I talk with.
I decided to go one step further and figure out if this was a policy setting that could be configured via Group Policy. Turns out – IT IS…. you can set this up in a GPO that affects Windows 8 systems today in your Group Policy Editor…
I hope this helps with your browsing pleasure on Windows 8.
Rick Claus engages with the worldwide Technical Community on behalf of Microsoft. Rick's role is to support platform awareness for Windows Server and skills development through special events targeting the broad community.
Technical areas of expertise from his 20+ years of experience in the IT Industry include: Windows Server, core infrastructure services, Virtualization technologies of all kinds, and systems management.
Unofficially, Rick is focused on spreading his enthusiasm, passion and excitement on all things technical to anyone who has the time for a coffee (or pint) and a chat (in English or français - naturellement).