- In MDT/SSCM edit the task sequence that includes your capture, click on the "OS Info" tab, and click the "Edit Unattend.xml" button.
- The Windows System Image Manager window will analyze the image you've selected (it will take a while) then display the current answer file configuration.
- On the left side of the window, in the "Windows Image" pane you should see the name of the image you are using. If not, click the grey box to browse to and select the image file for the task you are performing (if you don't have one yet, try a generic image).
- The catalog for the Windows image should be available now. Expand the tree to (YourImageName)\Components\amd64_Microsoft-Windows-PnpSysprep_(YourWindowsVersion)_neutral
- Right-click on amd64_Microsoft-Windows-PnpSysprep_(YourWindowsVersion)_neutral and select to "Add Setting to Pass 3 generalize"
- In the "Answer File" pane, expand the tree to unattend\Components\3 generalize
- Click on amd64_Microsoft-Windows-PnpSysprep_neutral, then in the Properties pane to the right, change the value "PersistAllDeviceInstalls" to "true"
- Save the answer file. You will likely get a warning about several of MDT's default values not passing validation. Ignore it and save it anyways.
- Run your capture task again and this time sysprep should complete and move on to the "Create WIM" capture task.
Monday, November 7, 2016
MDT hangs at sysprep working on HP 820 G3
Wednesday, June 22, 2016
Adding a delay to MDT 2013 task sequence
To add a delay to a task sequence, in cases where you need to wait for the network to start before continuing.
In the deployment share , scripts folder edit the Litetouch.wsf script. Add the Bolded part, value is in ms ( 5000ms = 5 seconds )
In the deployment share , scripts folder edit the Litetouch.wsf script. Add the Bolded part, value is in ms ( 5000ms = 5 seconds )
Function ValidateDeployRootWithRecovery
Dim sARF
Dim sNetworkErrorHint
DIm iRetVal
Dim sLTISuspend
Dim sNetworkErrorHint
DIm iRetVal
Dim sLTISuspend
'Delay wait for DHCP
wscript.sleep 5000
wscript.sleep 5000
If oUtility.ValidateConnectionEx(oEnvironment.Item("DeployRoot"), True) = Success then
ValidateDeployRootWithRecovery = SUCCESS
exit function
End if
ValidateDeployRootWithRecovery = SUCCESS
exit function
End if
Thursday, June 9, 2016
Windows 7 : enable wireless connection before domain logon
Problem being laptops needing to logon before connecting to the wireless network, making it impossible for a domain user to logon.
Setup one laptop how you need, then check its WLAN profile name,
netsh wlan show profile
With that information, either create a registry entry on the laptop or add it to your Group Policy.
Registry Entry
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Create a String Value under the above key, name can be anything, value should be,
%comspec% /c netsh wlan connect name="WLAN PROFILE NAME"
Group Policy
Add to Computer Config > Preferences > Windows Settings > Registry
Setup one laptop how you need, then check its WLAN profile name,
netsh wlan show profile
With that information, either create a registry entry on the laptop or add it to your Group Policy.
Registry Entry
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Create a String Value under the above key, name can be anything, value should be,
%comspec% /c netsh wlan connect name="WLAN PROFILE NAME"
Group Policy
Add to Computer Config > Preferences > Windows Settings > Registry
Wednesday, February 10, 2016
Acrobat Reader DC Silent Install
Download Acrobat DC from Adobe FTP site (both executable and MSI available here), ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/
Download Acrobat Customization Wizard, ftp://ftp.adobe.com/pub/adobe/acrobat/win/AcrobatDC/misc/
You will need an msi file to use the Customization Wizard to be able to generate the transform ( .mst ) file. The mst file will work with either the msi or exe installer. You can extract an msi from the exe using 7-ZIP if necessary,
Install the MSI with your transforms. Use standard msi switches.
msiexec /qb /i \\SERVER\SHARE\LatestReaderDC.msi TRANSFORMS=\\SERVER\SHARE\ReaderDC.mst
Install the EXE with your transforms.
AcroRdrDCXXXXXXXXXXXX.exe /sPB /rs /msi TRANSFORMS=\\SERVER\SHARE\ReaderDC.mst
Parameters for the exe installer
PARAMETER EXPLANATION
/sAll Silent Mode for product
/sPB Silent Mode with Progress Bar for product
/sLS Display Language Selection Dialog
/rs Reboot Suppress
/rps Reboot Prompt Suppress
/ini “PATH” Alternative initialization file
/sl “LANG_ID” Set Language; LANG_ID – Code in decimal digits
/l Enable Error Logging
/re Register Errors
/extUI Attach external UI Handler
/msi[Command line] Parameters for MSIEXEC
Monday, January 11, 2016
IE11 Compatibility View / Enterprise Mode
Method 1
First download from Microsoft the "Enterprise Mode Site List Manager"
Start the tool and Add your site. When done, click File and select Save to XML .
Copy your XML to a network location that is available to everybody.
\\SERVERNAME\Sysvol\DOMAINNAME\Policies\file.XML
In a GPO navigate to:
User Configuration-Policies-Administrative Templates-Windows Components-Internet Explorer
In the right pane, enable the setting "Use the Enterprise Mode IE website list"
Enter the full URL to your XML file:
\\SERVERNAME\Sysvol\DOMAINNAME\Policies\file.XML
File can be entered in the following different formats, all depends on how and where you want to store it on your network. Just be sure that everybody and all devices has access to the location.
If you do not see the Enterprise Mode IE11 settings in your Group Policy. Make sure you have IE11 installed on a Win7 or 8.1 workstation, copy the inetres.admx and .adml files from the workstation to the Sysvol folder on the network.
Method 2
This is an older method but still works. It allows the user to see what your GPO has put there and does not override the users' settings.
First download from Microsoft the "Enterprise Mode Site List Manager"
Start the tool and Add your site. When done, click File and select Save to XML .
Copy your XML to a network location that is available to everybody.
\\SERVERNAME\Sysvol\DOMAINNAME\Policies\file.XML
In a GPO navigate to:
User Configuration-Policies-Administrative Templates-Windows Components-Internet Explorer
In the right pane, enable the setting "Use the Enterprise Mode IE website list"
Enter the full URL to your XML file:
\\SERVERNAME\Sysvol\DOMAINNAME\Policies\file.XML
File can be entered in the following different formats, all depends on how and where you want to store it on your network. Just be sure that everybody and all devices has access to the location.
- HTTP location: “SiteList”=”http://localhost:8080/sites.xml”
- Local network: "SiteList"="\\network\shares\sites.xml"
- Local file: "SiteList"="file:///c:\\Users\\<user>\\Documents\\testList.xml"
If you do not see the Enterprise Mode IE11 settings in your Group Policy. Make sure you have IE11 installed on a Win7 or 8.1 workstation, copy the inetres.admx and .adml files from the workstation to the Sysvol folder on the network.
Method 2
This is an older method but still works. It allows the user to see what your GPO has put there and does not override the users' settings.
1. In Windows 2008 DC, open IE and add the web
site to the Compability
View Settings list
2. You can verify the setting in the registry
key path HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\BrowserEmulation\ClearableListData\UserFilter
3. Open Group
Policy Management Editor for Domain Policy that you want to edit.
You can open it
from mmc and then Add or Remove Snap-ins
Choose Group
Policy Management Editor
4. Choose path
from either Computer configuration or User Configuration as below
5. Computer or User
Configuration->Preference->Windows Setting->Registry
6. Right click New->Registry Wizard
7. Select local
machine and then check HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData\UserFilter.
Note: If use Computer Configuration, check registry HKEY_LOCAL_MACHINE
8. Finish the change
9. Run gpupdate
/force in DC
10.Run gpupdate
/force in client machine or re-login
Subscribe to:
Comments (Atom)