Windows 10 Deployment Tips and Tricks

Posted: December 18, 2015 in Uncategorized

Here are some various tips and tricks that you may or may not want to include in your Windows 10 reference image / deployment process that I have implemented recently.

CopyProfile

Consider not using it with Windows 10. I’ve found that it:

  • Doesn’t capture start menu layouts correctly
  • Prevents the import-startlayout command from working as the default user profile’s ntuser.dat overrides the layoutmodification.xml file that is copied to C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\Layoutmodification.xml

 

Adding language packs

  • Download your language pack cabinet file (lp.cab) and create a new package in Configuration Manager.
  • Add an additional Run Command Line step to your Task Sequence prior to your Install Software Updates step – I’ve called my step Add Windows 10 Language Pack
  • Select your language package that you have created and enter a command line of cmd.exe /c dism.exe /online /add-package /packagepath:”%CD%”
  • Be sure to check Disable 64-bit file system redirection as we are calling dism.exe in the command line

2015-11-11_133157

Adding Desktop Icons for Default User

  • I’m using the age old process of loading the default user registry hive and modifying the registry to affect a change against the default user profile. This is mainly because I’m not using copyprofile with my Windows 10 reference image.
  • To add the Computer, Network and User Files icons and remove the One Drive setup from being launched when a user logs in for the first time we can create a reg file and merge that during a Task Sequence.
  • Create your reg file with the following contents, you can modify as desired (be careful with the inverted commas as my blog website tends to mess with them, so open in notepad and remove and retype).

Windows Registry Editor Version 5.00

;Add Documents, Network and add My Computer to Desktop
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
“{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}”=dword:00000000
“{20D04FE0-3AEA-1069-A2D8-08002B30309D}”=dword:00000000
“{59031a47-3f72-44a7-89c5-5595fe6b30ee}”=dword:00000000

  • Create a new package in Configuration Manager with the registry file added as a source. No program is required.
  • Add the following steps to your Task Sequence to load the default user registry hive, run the reg file and unmount it. Reference your new package in the 3rd step.
  • Load Default User Registry Hive – cmd.exe /c reg.exe load HKEY_LOCAL_MACHINE\defuser c:\users\default\ntuser.dat2015-11-11_134409
  • Import Default User Preference

2015-11-11_134421

  • Commit and unload default user registry hive

2015-11-11_134430

Importing a Default Start Menu Layout File

  • I’ve created and imported a default start menu using the Jorgen Nilsson’s blog here

 

Using Group Policy to Show search icon

  • To only show the search icon in the taskbar rather than the full search box use the following group policy preference. This sets a registry item called SearchboxTaskbarMode with a Dword value of 1 for the key HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search

2015-11-11_140455

2015-11-11_140738

 

Advertisements
Comments
  1. Alan says:

    Hello

    I have been trying to use the default user registry trick with MDT 2013 U1 and Windows 10 Pro x64 1511. I also gave up on copyprofie because of the start menu. Here is my situation. I have about 25 or 30 HKCU registry settings I have been trying to apply to the default user. I’m sure I have followed the step correctly. I have even ran it manually in the Admin profile. I have verified each step as working. But the new profile seems to only gets some of these settings. Below are a few examples.

    Most all of the devices in Privacy remain “On”

    Windows Registry Editor Version 5.00
    ;Calendar
    [HKEY_LOCAL_MACHINE\defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\{D89823BA-7180-4B81-B50C-7E471E6121A3}]
    “Value”=”Deny”

    ;SyncWithDevices
    [HKEY_LOCAL_MACHINE\defuser\SOFTWARE\Microsoft\Windows\CurrentVersion\DeviceAccess\Global\LooselyCoupled]
    “Value”=”Deny”

    Can’t get wallpaper to update.
    ;WallPaper and AutoColorization
    [HKEY_LOCAL_MACHINE\defuser\Control Panel\Desktop]
    “Wallpaper”=”C:\\Windows\\Web\\Wallpaper\\Wallpaper\\IMG_6900.jpg”

    Any ideas?
    Thanks

    • Damon Johns says:

      Sorry Alan for the extreme late reply – for some reason your comment didn’t trigger an alert. Looking at what your trying to do – most of those settings can be achieved using GPO’s – hopefully you got it sorted though.

      Cheers
      DAmon

  2. KW says:

    Great tips, thanks. Where did you get the en-AU language pack? The language pack ISO doesn’t have en-AU (Just en-GB)

    The Features on Demand has en-AU for speech and TTS.

    • Damon Johns says:

      Hi David,

      If you set your unattend.xml file locale settings to en-AU and then deploy the en-GB Language Pack then the English (Australia) Language Pack will be selected. In addition to this I install all of the en-GB feature on demand cab files and the AU speech and TTS files with a dism command in my TS. Happy to do a more in depth blog on this for you?

      • KW says:

        Awesome, thanks Damon I will give that a go!
        If you get time for a post covering it I would love to be sure the way I integrate it in my TS is sensible.

  3. Wes says:

    Hi Damon,

    You made a reference to a .reg file that included entries to “remove the One Drive setup from being launched when a user logs in for the first time”. I would be VERY interested how you did this!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s