Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all 11297 articles
Browse latest View live

no go when run litetouch.wsf

$
0
0

I am trying to capture a preconfigured pc.

It is first time that I have an issue with starting litetouch.wsf. The wizard is not starts and just "Path is now... runs in cmd.

It is Administrator CMD.

What could be a problem?   Want to add ... it is Windows 7 and say truth. It is not me who prepared the computer...

I want to be sure that it is not MDT thing... May be something "special" was done during pc configuration


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis



MDT2012: Application error code 2 IE11

$
0
0

I am trying to install Internet Explorer 11 after a image is deplyed thru MDT2012. Imported the application IE11 into MDT2012 as a application. Then copied the identifyer number into the rules of the deploymentshare: 

SkipApplications=YES
Applications001={73446783-ff5f-4fb3-88e7-be105ea36610}

The number is correct and it has worked. However at the end of a deployment yellow screen appears with: Deployment failed, after choosing details: Application IE11 returned a error code 2.

These are the properties of the application:
\\fileserver\sharename deploy$\ie11\ie11.exe /c:"IE-REDIST.EXE /quiet /norestart /update-no"

Manually enter the sharename in the run box has no problems the program installs when double cliking on it..

Probely the error is in the command above, there is a space in the sharename and $ sign but i also tried another share without space and $ sign also with no luck.

Everyone has full rights to the share. I have read that error code 2 with application is most the case when he cannot find the application, but i cannot figure out why not... I cannot find any more info in the loggings of MDT2012.

Anyone have suggestions?


freddie


Client getting an IP lease on the 64-bit LiteTouch boot image, but not the 32-bit version.

$
0
0

MDT 2012 U1.  No problem with PXE booting so WDS is not the issue.

The NIC in question is the Intel I217-LM, which resides on both the new Dell Optiplex 9020 and the Latitude E7440.  I downloaded the Dell drivers and then the Intel drivers and imported them into the WindowsPE drivers folder in the workbench.  Updated the boot images to make sure the new drivers were injected.  Both yielded the same result.  I can do everything I need to do when booting to the 64-bit LiteTouchPE_x64.wim boot image,  but not the 32-bit version.  When booting to the 32-bit version, I get no IP configuration info at all.  

When looking at the drivers in MDT, I see only one difference:  the supported OS versions.  The 64-bit driver supports 6.1, 6.1.1, and 6.2.  The 32-bit driver supports only 6.1.1 and 6.2.  Not sure if that's the issue.

Tried using drvload within 32-bit WinPE to manually inject the NIC driver.  Still no luck.  Ipconfig yields no configuration at all.

If I can't get these machines to boot to the 32-bit boot images, I can't deploy 32-bit images, unless there's a way of which I'm unaware.

EDIT:  A little extra background.  My WindowsPE folder has two subfolders called x86 and x64.  Obviously, 32-bit drivers go into the x86 folder and 64-bit drivers go into the x64 folder.  Then in the properties of the deployment share a selection profile is selected which points to the architecture-specific folders.


What is the difference between Bootstrap.ini and Customsettings.ini

$
0
0

Can someone please explain the difference between Bootstrap.ini and Customsettings.ini? 

Which one do I need to modify so as to allow for settings such language and timezone to be automatically applied?

Thanks,
Paul

Urgent: Litetouch deployment failed, Return Code = -2147467259 During PC Refresh

$
0
0
I am in need of urgent assistance. During a DeploymentType=REFRESH scenario I received the "Litetouch deployment failed, Return Code= -2147467259. I've run this task sequence on about 30 machines already with no problems and this is the second time I've gotten this error in one night. This is a XP to 7 migration using hardlink migration stores. How do I restart the deployment? If I have to do a fresh install, because I have a task sequence for that as well, can I recover the users data that was placed in the hardlink migration store? 

Deploying Windows Embedded 8 Industry Enterprise - Can't choose language pack

$
0
0
Hello!

Im trying to create a "standard" image for Windows Embedded 8 Industry Enterprise in MDT 2013 but for some reason when i click through the wizard i can't choose the language pack.. Please see the following image:

http://i.imgur.com/ppTEPsa.jpg

Anyone know how to solve this? What i wan't is to install a english language pack (en-us) but as you can see there is now available packs. If i look in Windows System Image Manger on the image i can see that the language pack is installed..

http://i.imgur.com/xgNHJK6.jpg

Any tips or help is very much appreciated!

// Stylaren

Deploy OS X to MAC computers using MDT?

$
0
0

Hi Forum

Quick question, I am looking at a few deployment products and their pros and cons. I have been wondering whether or not it is possible to deploy OS X to a MAC Computer using MDT with or without add-ons.

Does anyone have a definitive answer that could help me?

Thanks in advance

NN

Deployment Question - MDT 2013

$
0
0
Question
You cannot vote on your own post
0

Hello,

I am using MDT 2013 to create a reference image, capture the reference image and they create an offline media. We will use the media (DVD) to image the target computer. I have a deployment share with Applications, Drivers, OEM OS files etc.... I have a task sequence "Standard Server Sequence" to image the reference computer. Once the reference computer is built, I have a second task sequence to capture and sysprep the image from the reference computer. The second task sequence capture, sysprep and writes a wim file to the Capture  folder. Now I want to create an offline media. I am assuming the captured image has all the Applications, drivers, etc baked into the captured image at this point???? So to create an offline media I create a new selection profile and select the captured image and a task sequence for "Standard Server build". I go to Media, create a new media and select the selection profile for the offline media and I update the media. Does this sound right??? Is there a high level steps to do all  (to create a reference image, capture the reference image and they create an offline media) with just MDT????

I appreciate the help!!!!!


TIA TP


Set Computer Name based on Country Code and Serial Number

$
0
0

Using MDT 2012 Update 1 Lite Touch...

I want to be able to set the computer name automatically=<CountryCode><SerialNumber>

We have roughly 20 countries and their corresponding 2 digit code.

***For example, a technician should be able to select Spain, country code is (ES), Serial is ZDF123 and the computer name would populate as

ESZDF123

Anyway to achieve this?



MDT 2013 UDI Wizard, can I use packages instead of applications

$
0
0

Hi,

UDI wizard according to my knowledge works primarily with Applications, but my question is can it work with packages as well?

Does any kind of tutorial exist? Do I need to watch out for some special settings? I am having problems installing combination of applications (TeamViewer 8, 7zip...) and 1 package (Office 2013) so that is why I am asking this question.


Thanks,

Applying the Win Recovery environment to a UEFI system - How is everyone doing it?

$
0
0

We've run into some trouble setting up Surface 3s with MDT 2013. Apparently there is a bug in the ZTIWinRE.wsf script, which causes it to copy winre.wim to the EFI system partition rather than the Recovery partition.

https://social.technet.microsoft.com/Forums/en-US/22cb4d44-4215-483e-8bdc-b13d9d27725b/what-partition-does-mdt-2012-place-winre-on?forum=mdt#5e33d5d7-5ee4-432f-af65-710f08e99f72

In addition to it being a nuisance, you are unable to enable bitlocker without a properly configured recovery partition.

Which makes me wonder: am I the only person in the world trying to image Surfaces and enable Bitlocker? I can't imagine that that is the case. So how is everyone else doing it?

After discovering that ZTIWinRE wasnt working, I scratched around for a few days and came up with this (below). I set conditions on ZTIWinRE to only run if IsUEFI=False, and this script ZTIWinRE_UEFI.wsf if IsUEFI=True. I had a hard time making any sense out of the ZTIDiskUtility.vbs functions, so theres probably an easier way to do it.

<job id="ZTIWinRE_UEFI"><script language="VBScript" src="ZTIUtility.vbs"/><script language="VBScript" src="ZTIDiskUtility.vbs"/><script language="VBScript">
' //----------------------------------------------------------------------------
' //
' // File: ZTIWinRE_MDT_UEFI
' //
' // Purpose: Sets Recovery Environment
' //
' // Usage: cscript ZTIWinRE_UEFI
' //
' //----------------------------------------------------------------------------

'//----------------------------------------------------------------------------
'// Global constant and variable declarations
'//----------------------------------------------------------------------------

'Option Explicit

Dim iRetVal
Dim sArchitecture, colVolumes, objVolume
Dim strREDriveLetter, strSource, strDestFolder, strDestFile

'//----------------------------------------------------------------------------
'// End declarations
'//----------------------------------------------------------------------------

'//----------------------------------------------------------------------------
'// Main routine
'//----------------------------------------------------------------------------

iRetVal = ZTIProcess
ProcessResults iRetVal
'On Error Goto 0

'//---------------------------------------------------------------------------
'//
'// Function: ZTIProcess()
'// Return: Success - 0
'// Failure - non-zero
'//
'// Purpose: Perform main ZTI processing
'//
'//---------------------------------------------------------------------------

Function ZTIProcess()

	 If UCase(oEnvironment.Item("PrepareWinRE")) <> "YES" then
	 	oLogging.CreateEntry "WinRE is not enabled, Skip.", LogTypeInfo
	 	Main = SUCCESS
	 	Exit Function
	 End If

	oLogging.CreateEntry "---------------- Initialization ----------------", LogTypeInfo

	oLogging.CreateEntry "Build = " & oEnvironment.Item("OSCurrentVersion"), LogTypeInfo

	If Left(oEnvironment.Item("OSCurrentVersion"),3) < "6.1" then
		oLogging.CreateEntry "WinRE is not supported on Vista or Older. Skip.", LogTypeInfo
		Main = SUCCESS
		Exit Function
	End If

	sArchitecture= oEnvironment.Item("ImageProcessor")
	If sArchitecture = "" then
		sArchitecture = oEnvironment.Item("Architecture")
		oLogging.CreateEntry "ImageProcessor not set, will boot into Windows PE architecture " & sArchitecture, LogTypeInfo
	Else
		oLogging.CreateEntry "Will boot into Windows PE architecture " & sArchitecture & " to match OS being deployed.", LogTypeInfo
	End If

	If UCase(oEnvironment.Item("IsUEFI")) = "TRUE" Then
		oLogging.CreateEntry "IsUEFI = TRUE", LogTypeInfo

		strREDriveLetter = GetExistingRecoveryDrive
		strDestFolder = strREDriveLetter & "\Recovery\WinRE"

		oUtility.RunWithConsoleLogging "cmd /c MkDir " & strDestFolder
		oUtility.RunWithConsoleLogging "attrib -r -h -s " & strDestFolder & "\*.*"
	Else
		strDestFolder = "C:\Recovery\WinRE"
	End If

	strSource = oEnvironment.Item("DeployRoot") & "\Boot\LiteTouchPE_" & sArchitecture & ".wim"

	strDestFile = "WinRE.wim"

	oLogging.CreateEntry "Installing " & strSource & " on " & sArchitecture, LogTypeInfo
	oLogging.CreateEntry "Installing to " & strDestFolder & "\" & strDestFile, LogTypeInfo

	If oFSO.FileExists(strDestFolder & "\" & strDestFile) Then
		oLogging.CreateEntry strDestFolder & "\" & strDestFile & " already exists", LogTypeInfo
	Else
		oLogging.CreateEntry "oFSO.CopyFile " & strSource & "," & strDestFolder & "\" & strDestFile & ", True", LogTypeInfo
		oFSO.CopyFile strSource , strDestFolder & "\" & strDestFile, True
	End If

	oUtility.RunWithConsoleLogging "C:\Windows\System32\ReAgentc.exe /disable"
	oUtility.RunWithConsoleLogging "C:\Windows\System32\ReAgentc.exe /setreimage /path " & strDestFolder & " /target C:\Windows"
	oUtility.RunWithConsoleLogging "C:\Windows\System32\ReAgentc.exe /enable"


		Set colVolumes = objWMI.ExecQuery ("Select name, description from Win32_Volume")

		For Each objVolume in colVolumes
		oLogging.CreateEntry objVolume.Name, objVolume.Description
		Next

	oLogging.CreateEntry "---------------- End Run ----------------", LogTypeInfo

End Function

Function GetExistingRecoveryDrive

	Dim iRetVal, oPartition, sQuery, sDriveLetter

	sDriveLetter = ""
	sQuery = "SELECT * from Win32_LogicalDisk WHERE DriveType = 3"

	For Each oPartition in objWMI.ExecQUery(sQuery)
		If InStr (oPartition.VolumeName,"Windows RE") <> 0 Then
			sDriveLetter = oPartition.DeviceId
			Exit For

		End If

	Next
	oLogging.CreateEntry "assigning value " & sDriveLetter & " to Function GetExistingRecoveryDrive", LogTypeInfo

	GetExistingRecoveryDrive = sDriveLetter

End Function
	</script></job>



Lenovo BIOS update

$
0
0
We have a Lenovo M93p Tiny, that we would need to update the bios on. What would be the easiest way to do this. I have my MDT setup using the UserExit script currently to install drivers. Any ideas?

Internet explorer doesn't display sites correctly unless they are trusted

$
0
0

This is an odd problem. On the reference image prior to it being sysprep'd and captured, going to certain sites (e.g. lifehacker.com) the menus, all pictures and advertisements display just fine. But once capture and deploy that image those sites stop working the way they should. I made sure the unattend file was making zero changes to IE and I even disabled the IE configuration app that I made with IEAK to ensure that IE was being setup as is out of the box, but something is changing the way it operates and it fails to work the way it did before it get deployed to a client. I don't have any extra add-ons and no tracking protection lists.

The big problem is it causes compatibility issues with lots of sites, such as menus not appearing when you hover like they should. I even tried building a clean machine from the Microsoft media directly and creating IEAK packages from that, a totally clean machine. That didn't work either.

Anyone else have weird problems like this before?


If this post is helpful please vote it as Helpful or click Mark for answer.

MDT Drivers are not installed during deployment.

$
0
0

I'm running MDT 2013 on my Server 2012 at work.

We are issuing that the Network and Storage drives is not installed during the deploy sequences.

I have been troubleshooting logs for what could cause the problem. in the ZTIDrivers.log i can see it correctly select the Drivergroup001 and points to the correct make and model.

But the log just keeps saying "No 3rd party drivers forund". the exact same drivers worked last month when last deployed, no changes has been made since.

I have checked when i get to the Applications TS in the deployment under C:\Windows\System32\DriverStore\FileRepository and all correct drivers has been put in there.

I have tried to recreate the deploymentshare and import new drivers, e.g. and same issue occours. 

Also i have tried to create an new driver folder in the Out of the box Dir. and point it to Drivergroup001=testdriverfolder in the default area.

same story all again.

Checked the Task Sequence for mis-spelling of paths

Checked the Customsettings.ini for mis-spelling of paths

Checked the logs of the deployet machine both during the WinPE and installation process, copied logs to USB and studying them closer

I have googled this error and sweeped technet for answers without luck!

I'm deploying a Custom Windows 7 Ent. WIM from a VMWare client, captured by MDT itself.

Any good ideas what this could be caused?

LocationServer.xml based on default gateway

$
0
0

I'm looking to use the locationserver.xml for my remote admins to choose their deployment share. I have this working however, i'd like to be able to have their location selected from the locationserver.xml based off their gateway.

I'm not looking to do the customsettings.ini gateway choices as i want them to be able to choose a different share in case their share isn't working.

Is there a possible way to do

[DefaultGateway]

10.0.0.1= LocationServer14

or something of the sorts.

Thanks!


IE11 Ignoring Home_Page (MDT 2013)

$
0
0

Hey Everyone,

We have added IE11 to an image for one of our sections, and are encountering an issue with the Home_Page value from MDT not being processed.

Background:

MDT 2013

Windows 7 x64 SP1 image, customized and then deployed with CopyProfile = True

IE11 was installed as Windows Update on reference PC, rather than with IEAK or through TS

We deployed our image to a PC for testing and noticed that the home page was not being set to the assigned value for the computer (done through departmental/location role in MDT DB).

I checked the MDT log, and it indicated that the DB lookup was successful and the correct value was returned.

Next, I checked the sysprep action log for the test client, and found that the correct home_page value was in there too.

Then, I checked c:\program files (x86)\internet explorer\signup\Install.iss and found the correct value was in there.

Lastly, I reviewed c:\users\username\appdata\local\microsoft\internet explorer\brndlog.txt and determined that while it was calling the branding process with the right path to Install.ins, it wasn't picking up the value.

In the section where it logs the application of the general settings, where I confirmed it writes the home page value on another test client with IE8, I do not see it applying the home page.

Restoring the advanced settings in IE, which retriggers the process produces the same result, the value is not read, or seems to be skipped in brndlog.txt.

This is using the exact same process as we do for images with IE8 installed, which works without issue. Are there changes in IE11 that need to be accounted for in the imaging process? 

Thanks,

Garrett

Access denied error when running powershell script

$
0
0
I have a task sequence step that executes a powershell script file in deployment share. This powershell script is opening a csv file in deployment share and trying to write information there when executed. I get access denied error and the script cannot write anything to that file. Any idea why? Script it executed by task sequence engine so I think it should have write access to deployment share.

"The Data is Invalid" When Trying to Approve Pending Computers in WDS

$
0
0

I'm having an issue were I can't approve pending computers in the WDS console or using WDSUTIL.  I get "The Data is Invalid" whether I use default settings or choose the Name and Approve option.  The server's computer account has full permissions on the section of the AD tree (and all descendent objects) where the clients are to be created.

Pre-staging works fine.

No entries in the system/application logs appear when this error occurs.

This is Server 2012 R2.

MDT - Office Install error: 110?

$
0
0

Hi Forum

I have come across and error that has me stumped.

I have a standard build of Windows 8.1 x64 custom WIM installing Office 2013 PP x64 from the Task Sequence using "Setup.exe" and a lightly customised MSP file to push silent with no product key (KMS).

MDT is running on Server 2012 R2 standard and WDS is installed on the box. The Server is dedicated for MDT and has about 16GB RAM at least.

It seems this works well when deploying to one or 2-3 machines, but once the load gets to around 4-6+ the consistency drops and Office 2013 fails to install on some of the machines.

Error here: An Unexpected Return Code: 110

Machines are Surface Pro 1. So far I havent come across this on anything else.

Does anyone recognise this code or have any suggestions. Googling has not helped me.

thanks in advance

NN


MDT Refresh doesn't clean recycle bin

$
0
0

Hello,

Has anyone dealt with the fact that the, "Clean Disk" performed by LTIApply.wsf marks the Recycler folder as a protected folder and doesn't clear it out? Essentially leaving the contents of the user's recycle bin beyond after reimage?

Is there any reason why recycler needs to stay a protected folder? Are there any issues with removing it?

Viewing all 11297 articles
Browse latest View live




Latest Images