- You have Windows ADK 10 Installed – http://blogs.technet.com/b/yongrhee/archive/2015/08/11/download-windows-10-assessment-and-deployment-kit-adk.aspx
- You have MDT 2013 Update 1 Installed – https://www.microsoft.com/en-us/download/details.aspx?id=48595
- Follow the steps listed here until step 7 http://deploymentresearch.com/Research/Post/496/Building-a-Windows-10-Reference-Image-using-MDT-2013-Update-1
- Update your ADMX Templates for the 1511 build from https://www.microsoft.com/en-us/download/details.aspx?id=48257
- Disable “Random Updating” – https://deploymentbunny.com/2016/05/10/osd-prevent-windows-to-randomly-run-windows-update-during-the-creation-of-a-reference-image/
cscript.exe %SCRIPTROOT%\LTISuspend.wsf
Adding the pause step will cause the TS to pause, letting you configure your image as much as you like. To resume the task sequence you would run the “Resume Task Sequence” shortcut that is placed on your desktop.
( i like to put a restart either side of this)
Open your VM Console and point your VM to boot off your newly created media in your MDT Boot Folder (x86/x64). If all steps have been followed correctly you should be prompted to choose your Task Sequence, if you get additional prompts first make sure you have set your Bootstrap.ini correctly (if not refer back to Johans guide)
When your task sequence gets to the Pause step you will see this prompt:
Apply Language Pack
You can read more about this here: https://msdn.microsoft.com/en-us/library/windows/hardware/mt171094(v=vs.85).aspx
SW_DVD9_NTRL_Win_10_1511_64Bit_MultiLang_Feat_on_Demand_X20-75989.ISO
https://gist.github.com/padgo/0885be223d1b94a0293a.js
DISM /Online /Add-Package /PackagePath:Microsoft-Windows-LanguageFeatures-Handwriting-en-gb-Package.cab
DISM /Online /Add-Package /PackagePath:Microsoft-Windows-LanguageFeatures-OCR-en-gb-Package.cab
DISM /Online /Add-Package /PackagePath:Microsoft-Windows-LanguageFeatures-Speech-en-gb-Package.cab
DISM /Online /Add-Package /PackagePath:Microsoft-Windows-LanguageFeatures-TextToSpeech-en-gb-Package.cab
DISM /Online /Add-Package /PackagePath:Microsoft-Windows-LanguageFeatures-Basic-en-gb-Package.cab
Capture:
Once you are happy with your customisations go ahead and run the desktop shortcut to resume the task sequence and capture.
Reference Completion:
Once your WIM is captured to disk you can go ahead and import it into SCCM.
Windows 10 Task Sequence :
I will outline some of the specific steps i perform during my Windows 10 TS. This will not be an in-depth TS guide. If you want specific steps regarding Bitlocker/MBAM please see my detailed guide here:
Set AD Description & Group Membership
wscript.exe adgroup.vbs "Group"
cscript.exe "adcompdesc.vbs" "[%XHWChassisType%] - [%Model%] - [%PrimaryUsername%]"
Note: These variables are set earlier in my TS
Start Menu Customisation:
Customisations to the start menu are stored per user profile, so its best to build your Start Menu the way you like it, then export the configuration. You can either then re-import this during your build task sequence (like i do) or you can set this via Group Policy. If you do set your Start Layout via Group Policy users will not be allowed to pin items or customise it in any way,
Things to note: If you want to include Office and other applications in your base start menu layout, you will need to do this while they are installed. If you don’t install these apps on your base image (and its not a good idea too usually) you can export the start menu from a finished and imaged machine with these apps (Capturing start menu layout on a clean machine is not too important)
To export your start menu layout run the following command:
Export-StartLayout -Path C:\StartLayout.XML
To import:
powershell.exe -executionpolicy bypass import-startlayout -layoutpath .\start-layout.xml -mountpath %systemdrive%\
My Start Layout:
The above config will give you this layout this example shows office 2013, code above is for 2016):
Export-StartLayout -Path C:\StartLayout.XML
Remove Unwanted W10 Apps
Get-AppxProvisionedPackage -Online
DisplayName | PackageName | ||||||||
----------- | ----------- | ||||||||
Microsoft.3DBuilder | Microsoft.3DBuilder_10.9.50.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.Appconnector | Microsoft.Appconnector_2015.707.550.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.BingFinance | Microsoft.BingFinance_4.6.169.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.BingNews | Microsoft.BingNews_4.6.169.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.BingSports | Microsoft.BingSports_4.6.169.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.BingWeather | Microsoft.BingWeather_4.6.169.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.CommsPhone | Microsoft.CommsPhone_1.10.15000.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.ConnectivityStore | Microsoft.ConnectivityStore_1.1509.1.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.Getstarted | Microsoft.Getstarted_2.3.7.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.Messaging | Microsoft.Messaging_1.10.22012.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.MicrosoftOfficeHub | Microsoft.MicrosoftOfficeHub_2015.6306.23501.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.MicrosoftSolitaireCollection | Microsoft.MicrosoftSolitaireCollection_3.3.9211.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.Office.OneNote | Microsoft.Office.OneNote_2015.6131.10051.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.Office.Sway | Microsoft.Office.Sway_2015.6216.20251.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.People | Microsoft.People_2015.1012.106.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.SkypeApp | Microsoft.SkypeApp_3.2.1.0_neutral_~_kzf8qxf38zg5c | ||||||||
Microsoft.Windows.Photos | Microsoft.Windows.Photos_2015.1001.17200.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.WindowsAlarms | Microsoft.WindowsAlarms_2015.1012.20.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.WindowsCalculator | Microsoft.WindowsCalculator_2015.1009.20.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.WindowsCamera | Microsoft.WindowsCamera_2015.1071.40.0_neutral_~_8wekyb3d8bbwe | ||||||||
microsoft.windowscommunicationsapps | microsoft.windowscommunicationsapps_2015.6308.42271.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.WindowsMaps | Microsoft.WindowsMaps_4.1509.50911.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.WindowsPhone | Microsoft.WindowsPhone_2015.1009.10.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.WindowsSoundRecorder | Microsoft.WindowsSoundRecorder_2015.1012.110.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.WindowsStore | Microsoft.WindowsStore_2015.1013.14.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.XboxApp | Microsoft.XboxApp_2015.930.526.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.ZuneMusic | Microsoft.ZuneMusic_2019.6.13251.0_neutral_~_8wekyb3d8bbwe | ||||||||
Microsoft.ZuneVideo | Microsoft.ZuneVideo_2019.6.13251.0_neutral_~_8wekyb3d8bbwe |
remove-AppxProvisionedPackage -package Microsoft.3DBuilder_10.9.50.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.BingFinance_4.6.169.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.Messaging_1.10.22012.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.MicrosoftOfficeHub_2015.6306.23501.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.People_2015.1012.106.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.SkypeApp_3.2.1.0_neutral_~_kzf8qxf38zg5c -Online
remove-AppxProvisionedPackage -package Microsoft.WindowsStore_2015.1013.14.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.XboxApp_2015.930.526.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.ZuneMusic_2019.6.13251.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.ZuneVideo_2019.6.13251.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package microsoft.windowscommunicationsapps_2015.6308.42271.0_neutral_~_8wekyb3d8bbwe -Online
remove-AppxProvisionedPackage -package Microsoft.ConnectivityStore_1.1509.1.0_neutral_~_8wekyb3d8bbwe -Online
The contents of my XML file he talks about is:
Formatted exactly as this:
Microsoft.3DBuilder
Microsoft.Appconnector
Microsoft.BingSports
Microsoft.Getstarted
Microsoft.MicrosoftOfficeHub
Microsoft.MicrosoftSolitaireCollection
Microsoft.Office.OneNote
Microsoft.People
Microsoft.SkypeApp
Microsoft.XboxApp
Microsoft.CommsPhone
Microsoft.ConnectivityStore
microsoft.windowscommunicationsapps
Microsoft.ZuneMusic
Microsoft.ZuneVideo
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -file .\RemoveApps.ps1
Set Default App Associations
dism /online /Import-DefaultAppAssociations:"DefaultAppAssoc.xml"
Block Windows 10 Apps Installing
reg add HKLM\Software\Policies\Microsoft\Windows\CloudContent /v DisableWindowsConsumerFeatures /t REG_DWORD /d 1 /f
Also add Policies\Administrative Templates\Windows Components\Cloud Content:Turn off Microsoft consumer expierences GPO item
This comment has been removed by the author.
LikeLike
Hi there,
Firstly, thank you for such a great guide. Followed it through and have what I think would make a great image. However, I think my base wim file was an older version, which when it did updates took it to the 1511 version and created a windows.old folder.
Now, when I try to resume my task sequence it has removed the icon from the desktop and not restarted the sequence. No error, nothing.
Is there anyway I can get this to kick off again (reboots don't seem to kick it to life)?
Thanks!
LikeLike
Hi mate,
Glad you liked the guide. I would suggest starting again with the 1511 media, remember this being your gold image you dont want to bring with it any potential issues that you are going to push to hundreds of machines .
cheers
Dan
LikeLike
Thanks!
That's what I thought. I'll grab the 1511 media tomorrow and give it all a whirl again.
LikeLike
I am building a Windows 10 reference image now. If the privacy settings are disabled in the reference image, does Sysprep wipe out those changes during capture?
LikeLike
Nice blog. What about removing OneDrive completely? In our environnement, we uses Office 2016 Pro Plus and each of our users have OneDrive Enterprise. Se, we uninstall OneDrive on the computer. I have a working script but is seams to work only for the logged on user.
Code :
@echo off
cls
set x86=”%SYSTEMROOT%\System32\OneDriveSetup.exe”
set x64=”%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe”
echo Closing OneDrive process.
echo.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1
echo Uninstalling OneDrive.
echo.
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 5 > NUL 2>&1
echo Removing OneDrive leftovers.
echo.
rd “%USERPROFILE%\OneDrive” /Q /S > NUL 2>&1
rd “C:\OneDriveTemp” /Q /S > NUL 2>&1
rd “%LOCALAPPDATA%\Microsoft\OneDrive” /Q /S > NUL 2>&1
rd “%PROGRAMDATA%\Microsoft OneDrive” /Q /S > NUL 2>&1
echo Removeing OneDrive from the Explorer Side Panel.
echo.
REG DELETE “HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}” /f > NUL 2>&1
REG DELETE “HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}” /f > NUL 2>&1
LikeLike
I've installed windows 8.1 on my laptop after buying license from ODosta Store, I want to activate it to get free upgrade from windows 7 professional to windows 10 home.
I'm now confused, How to activate and upgrade to windows 10.
Please mention within details.
LikeLike
No doubt, As Windows 7 is the most recommended OS, Which through user can do almost all work without any problem, Where I recommend you to activate your OS being purchased its license code from: cheaproduct
Which is distributing license for almost all types of Microsoft Products. I personally use it and have a good experience.
LikeLike
Hi!
Great guide!!!
Is there anything to be aware of when we attempt this regarding the update of 1607? Arwidmark has been updating his blog With New guide.
See http://deploymentresearch.com/Research/Post/540/Building-a-Windows-10-v1607-reference-image-using-MDT-2013-Update-2
Marius
LikeLike
Windows 7 support is over, but there's no doubt, As Windows 7 is the most recommended OS, Which through user can do almost all work without any problem, Where I recommend you to activate your OS being purchased its license code from ODosta Store
After OS activation, You can easily get windows 10 remote tech support to run all old programs and get windows 10 updates.
You can upgrade your existing OS to windows 10, But you can face some technical issues, So I recommend you to have clean installation of Windows 7 or Windows 10 and activate it using legal license.
LikeLike
Great article Dan! I've been looking around for information regarding the language options for days.
LikeLike
Great detailed article !
windows tips and tricks
LikeLike