So I have made a first pass at configuring the Start (Bar? Window? Screen?). Once thing to note is that while I made the proper configuration in my LayoutModification.xml with Internet Explorer, for some reason it no workie. I’ll have to check back on that configuration.
Monthly Archives: October 2015
Win10: Appx Packages for Enterprise Images
I thought I would share what Appx Packages I will be removing from Windows 10 in our Enterprise Image. I’m on the fence with some of them, but better to remove them first and add them back if necessary. Please leave a comment so we can discuss.
Losers:
Microsoft.3DBuilder Microsoft.BingFinance Microsoft.BingNews Microsoft.BingSports Microsoft.BingWeather Microsoft.MicrosoftOfficeHub Microsoft.Office.OneNote Microsoft.MicrosoftSolitaireCollection Microsoft.People Microsoft.SkypeApp Microsoft.WindowsCommunicationsApps Microsoft.WindowsPhone Microsoft.Windows.Photos Microsoft.XboxApp Microsoft.ZuneMusic Microsoft.ZuneVideo
Winners:
Microsoft.AAD.BrokerPlugin Microsoft.AccountsControl Microsoft.Appconnector Microsoft.BioEnrollment Microsoft.LockApp Microsoft.MicrosoftEdge Microsoft.NET.Native.Framework.1.1 Microsoft.NET.Native.Runtime.1.0 Microsoft.NET.Native.Runtime.1.1 Microsoft.VCLibs.140.00 Microsoft.Getstarted Microsoft.Windows.ParentalControls Microsoft.WindowsAlarms Microsoft.WindowsCalculator Microsoft.WindowsCamera Microsoft.WindowsFeedback Microsoft.WindowsMaps Microsoft.WindowsSoundRecorder Microsoft.WindowsStore Microsoft.Windows.AssignedAccessLockApp Microsoft.Windows.CloudExperienceHost Microsoft.Windows.ContentDeliveryManager Microsoft.Windows.Cortana Microsoft.Windows.ShellExperienceHost Microsoft.XboxGameCallableUI Microsoft.XboxIdentityProvider Windows.ContactSupport windows.devicesflow windows.immersivecontrolpanel Windows.MiracastView Windows.PrintDialog Windows.PurchaseDialog
PS AppxPackagesGet.ps1
Here is my current PowerShell script to generate the list of AppxPackages with source. You will need to adjust your path accordingly, but this will be used in an OSConfig Package I am working on, which explains my path.
#http://ccmexec.com/2015/08/removing-built-in-apps-from-windows-10-using-powershell/ $Appx = Get-AppxPackage | select name $Appx | Out-File -FilePath C:\Windows\OSConfig\InstalledAppxPackages.txt
PS AppxPackagesRemove.ps1
And here is the script I am using to remove them
#http://ccmexec.com/2015/08/removing-built-in-apps-from-windows-10-using-powershell/ $AppsList = "Microsoft.3DBuilder", "Microsoft.BingNews", "Microsoft.BingSports", "Microsoft.BingWeather", "Microsoft.MicrosoftOfficeHub", "Microsoft.Office.OneNote", "Microsoft.MicrosoftSolitaireCollection", "Microsoft.People", "Microsoft.SkypeApp", "Microsoft.WindowsCommunicationsApps", "Microsoft.WindowsFeedback", "Microsoft.WindowsPhone", "Microsoft.Windows.Photos", "Microsoft.XboxApp", "Microsoft.ZuneMusic", "Microsoft.ZuneVideo" # "Microsoft.AAD.BrokerPlugin", # "Microsoft.AccountsControl", # "Microsoft.Appconnector", # "Microsoft.BioEnrollment", # "Microsoft.LockApp", # "Microsoft.MicrosoftEdge", # "Microsoft.NET.Native.Framework.1.1", # "Microsoft.NET.Native.Runtime.1.0", # "Microsoft.NET.Native.Runtime.1.1", # "Microsoft.VCLibs.140.00", # "Microsoft.Getstarted", # "Microsoft.Windows.ParentalControls", # "Microsoft.WindowsAlarms", # "Microsoft.WindowsCalculator", # "Microsoft.WindowsCamera", # "Microsoft.WindowsMaps", # "Microsoft.WindowsSoundRecorder", # "Microsoft.WindowsStore", # "Microsoft.Windows.AssignedAccessLockApp", # "Microsoft.Windows.CloudExperienceHost", # "Microsoft.Windows.ContentDeliveryManager", # "Microsoft.Windows.Cortana", # "Microsoft.Windows.ShellExperienceHost", # "Microsoft.XboxGameCallableUI", # "Microsoft.XboxIdentityProvider", # "Windows.ContactSupport", # "windows.devicesflow", # "windows.immersivecontrolpanel", # "Windows.MiracastView", # "Windows.PrintDialog", # "Windows.PurchaseDialog", ForEach ($App in $AppsList) { $PackageFullName = (Get-AppxPackage $App).PackageFullName $ProPackageFullName = (Get-AppxProvisionedPackage -online | where {$_.Displayname -eq $App}).PackageName write-host $PackageFullName Write-Host $ProPackageFullName if ($PackageFullName) { Write-Host "Removing Package: $App" remove-AppxPackage -package $PackageFullName } else { Write-Host "Unable to find package: $App" } if ($ProPackageFullName) { Write-Host "Removing Provisioned Package: $ProPackageFullName" Remove-AppxProvisionedPackage -online -packagename $ProPackageFullName } else { Write-Host "Unable to find provisioned package: $App" } }
Win10: Bug – Hyper-V Cancel Apply Checkpoint (Doesn’t Cancel)
Looks like a legit bug in Microsoft Hyper-V in Windows 10 Enterprise x64. Posted on Technet as well.
When selecting a Checkpoint, I can right click and Apply
At this point I have an Apply Checkpoint confirmation prompt. My mistake, I didn’t want to apply this Checkpoint, so I will just Cancel
And Hyper-V decides to Apply the Checkpoint anyway.
Partitions: Recommendations and ZTIRecoveryDisk.wsf
Hopefully you have read my two posts on default MDT 2013 Update 1 (Build 8298) BIOS and UEFI Partitions, and here is what I have decided for my layout. Before you decide to do the same, I recommend reading Microsoft Hardware’s posts on Partitions
Microsoft Hardware Dev: Hard Drives and Partitions
Microsoft Hardware Dev: UEFI/GPT-based hard drive partitions
Microsoft Hardware Dev: BIOS/MBR-based hard drive partitions
I have decided that this is how I want my Partitions for BIOS and UEFI
Partitions: MDT 2013 Update 1 Build 8298 Default UEFI Partitions
Continuing from my last post on BIOS Partitions, I’ll explain the UEFI side of things
On a UEFI system 4 partitions will be created.
- Boot / 499MB / FAT32 / EFI Bootable
- MSR / 128MB
- Windows / 99% Remainder / NTFS
- Recovery / 100% Remainder / NTFS
I added a pause in my Task Sequence right after the Format and Partition Disk (UEFI) step and on a 127GB drive in Hyper-V, this was my layout:
- BOOT/ 499MB / NTFS / EFI Bootable
- MSR / 128MB
- Windows / 125GB / NTFS
- Recovery / 1299MB / NTFS
Very similar to BIOS (in relation to the size of my Recovery Partition), and this variance in Recovery Partition sizes has led me to come up with my own solution.
Partitions: MDT 2013 Update 1 Build 8298 Default BIOS Partitions
Its time to clear the air when it comes to Partitions and the Task Sequences. I’ll start with the latest MDT 2013 Update 1 (Build 8298) and detail the issues.
On a BIOS system 3 partitions will be created.
- System Reserved / 499MB / NTFS / Bootable
- Windows / 99% Remainder / NTFS
- Recovery / 100% Remainder / NTFS
I added a pause in my Task Sequence right after the Format and Partition Disk (BIOS) step and on a 127GB drive in Hyper-V, this was my layout:
- System Reserved / 499MB / NTFS / Bootable
- Windows / 125GB / NTFS
- Recovery / 1300MB / NTFS
The biggest issue that I have is my Recovery Partition is about 1% of my Total Drive Size. So on a 127GB Drive, this is a 1.27GB Partition, way too large for a 300MB WinRE.wim. Now if I use the same logic, and apply this to a 20GB drive, my Recovery Partition will be 200MB. Way too small! And if I have a rather large 1TB drive, then I get to look forward to a 10GB Recovery Partition. The main issue for this is that there is no control on the Recovery Partition size (because the partitioning changed from Script based to Task Sequence based).
WinRE: Do Not Use PrepareWinRE (Deprecated)
A closer look at the notes from the updated version of MDT 2013 Update 1 (build 8298)
Partitions: Bug – Config Mgr 2012 SP2 / R2 SP1 OSD Task Sequence Recovery Partition Issue
I came across this issue posted by Justin Chalfant on Microsoft Connect
https://connect.microsoft.com/ConfigurationManagervnext/Feedback/Details/1834142
You can read his blog post here: http://blogs.technet.com/b/jchalfant/archive/2015/09/29/configuration-manager-2012-sp2-r2-sp1-incorrectly-sizes-partitions-during-formatting-steps.aspx
Basically the Recovery Partition is assigned 1% of the remaining space, when it should be 100%. Here is a screenshot to help you visualize what is happening
Keep in mind this is without MDT Integration, which has its own issues.
MakePE: First Run and Windows Kits
Once you get MakePE where it needs to be, there are several Example CMD files that you can kick off. I recommend Example WinPE 5 x86.cmd. Make sure you Run as Administrator.
MakePE: ScriptsRW Customizations
I’ve spent a great deal of time working on MakePE and writing the scripts, so do me a favor and don’t edit them. They are intentionally generic so anyone should be able to build out WinPE.
But if absolutely hijack my work, then have a look in the MakePE\ScriptsRW directory. Keep in mind before you got started, there was only one file in here.