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

MDT failures but not sure how to pinpoint what failed and how to resolve the issue

$
0
0

Wow, what a convoluted tool!

Anyway I am trying to understand which Task failed and how to correct the problem but I don't even know where to begin. Here is a screenshot of what happens when I try to install using the LiteTouch I burned onto a USB stick: "Operating system deployment did not complete successfully." 

And then there are various cryptic failure codes but now what?

Thanks for your help.


MDT: ISO file to deploy VMs in diferrent VMWare ESXi cluster versions

$
0
0

Hi folks,

I am quite new using MDT and I have a question about an ISO created from an MDT 2012 in order to create custom VMs with  Windows Server 2012 R2 OS.
Currently we have some VMWare ESXi clusters. These clusters are all separated from each other and they are in different ESXi version using different storages LUNs.
I am trying to use an ISO created from a MDT 2012 Server in one of these clusters. I noticed that just the cluster that I created the .wim file I can install custom VMs. If I try to install a VM using the same ISO in a different cluster (Different version) it stops in the "Installing Operational System" step.

I was wondering if it's there is some compatibility issue across these VMWares hosts working in different versions.

Error message: 
<![LOG[FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object

dism.exe /apply-image /imagefile:"path\image.wim"  /index:1 /applyDirC
This version of dism.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

Tks for the help.

Problem with MDT (Install WinServ2016)

$
0
0

Hi! Sorry, i am new with MDT and config system. I have a big problem with my MDT install on physics server (Raid). i have one error again and again. 

I can give you log file smsts.log

We do not find an available volume to store the local data path
Set a global environment variable _SMSTSNextInstructionPointer=1
Set a TS execution environment variable _SMSTSNextInstructionPointer=1(
Set a global environment variable _SMSTSInstructionStackString=0
Set a TS execution environment variable _SMSTSInstructionStackString=0
Save the current environment blockTSManager
Failed to save environment to  (80070057) TSManager
Failed to save the current environment block. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
The parameter is incorrect. (Error: 80070057; Source: Windows)
Failed to persist execution state. Error 0x(80070057)
Failed to save execution state and environment to local hard disk

What can i do?


Deploying .jar application on MDT

$
0
0

Hi,

I'm trying to deploy an application (JMOT) for my task sequence. The problem is that is a .jar file for the executable.

I try to just add a step with a powershell script, because I need to copy an entire folder on the "C:" target computer and then I try to create a symbolicLink to the desktop. It work locally on my computer but it don't work when I'm deploying with my task sequence.

I would like to know if they are best practice to deploy on a desktop for all user a .jar on MDT.

Thanks.

Handling Multiple Office Deployments

$
0
0

HI,

I'm in the process of streamlining our MDT setup and looking for advice on how to best deploy multiple versions of Office with other applications. 

Previously we had a separate TS for each Office install (2010, 2013, 2016, 365).

I want to reduce it to just one TS to avoid updating multiple and have a test machine working, whereby all the Office versions are listed in the Applications Wizard and you can select which one you want to install.

However, we also install several "Core" Apps that install regardless of build. One of the apps we have in Core is Skype for Business.

I have found this needs to be install before SfB else the installer will fail, but the issue with installing it before the SfB basic installer is that the Basic Installer will remove the Office 365 SfB and install the Basic version.

Is it possible to Stop and install based upon a selection in the Application Wizard?

What are best practices for multiple Office versions?

Thanks,



MDT 8456 - Windows 10 1903 + Windows Updates ~ Deployment pauses for almost an hour! HELP!

$
0
0

I am trying to deploy an updated Windows 10 1903 (Build 10.0.18362.239) image using MDT 8456 / ADK 1903 / PS Addon 1903. I am able to deploy an image without the updates and also can deploy this updated version to legacy bios (non UEFI) without any issues.

Any suggestions?

Events From BDD.log

Event 41001 sent: ZTIWinRE processing completed successfully.ZTIWinRE7/29/2019 2:05:50 PM0 (0x0000)
Property PHASE is now = STATERESTOREZTINextPhase7/29/2019 2:05:50 PM0 (0x0000)
ZTINextPhase COMPLETED.  Return Value = 0 ZTINextPhase7/29/2019 2:05:50 PM0 (0x0000)
ZTINextPhase processing completed successfully. ZTINextPhase7/29/2019 2:05:50 PM0 (0x0000)

Event 41001 sent: ZTINextPhase processing completed successfully. ZTINextPhase 7/29/2019 2:05:50 PM 0 (0x0000)

<< PAUSE FOR ABOUT AN HOUR >> Then it will carry on as if nothing is wrong.

ZTIUtility!GetAllFixedDrives (False)LiteTouch7/29/2019 2:58:41 PM0 (0x0000)
New ZTIDisk : \\WUPDATES-FTW1\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"LiteTouch7/29/2019 2:58:41 PM0 (0x0000)
New ZTIDiskPartition : \\WUPDATES-FTW1\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #1"    \\WUPDATES-FTW1\root\cimv2:Win32_LogicalDisk.DeviceID="C:"LiteTouch7/29/2019 2:58:41 PM0 (0x0000)
New ZTIDisk : \\WUPDATES-FTW1\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"LiteTouch7/29/2019 2:58:41 PM0 (0x0000)
New ZTIDisk : \\WUPDATES-FTW1\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"LiteTouch7/29/2019 2:58:41 PM0 (0x0000)
ZTIUtility!GetAllFixedDrives =   C: LiteTouch7/29/2019 2:58:41 PM0 (0x0000)
Found existing task sequence state information in C:\_SMSTaskSequence, will continueLiteTouch7/29/2019 2:58:41 PM0 (0x0000)
Property LTIDirtyOS is now = FALSELiteTouch7/29/2019 2:58:41 PM0 (0x0000)
Creating startup folder item to run LiteTouch.wsf once the shell is loaded.LiteTouch7/29/2019 2:58:41 PM0 (0x0000)

Here is the link to the entire BDD.log if you need it.


- Bob


In Place Upgrade TS - OOBE on local admin account

$
0
0

Hi,

I have created a upgrade task sequence, which is working well and will successfully update a device to 1903. 

However I have a strange issue where I get the OOBE prompts when logging in to an upgraded machine post upgrade but only on the local admin account.

Is this normal, and if so any way to stop this from happening?

You can exit the OOBE by running task manager, it then seemingly doesn't ask again.

But if you try to complete the OOBE I just get the 'Something went wrong' message with OOBESETTINGSMULTIPAGE every time.

ZTIUtility.vbs in MDT

$
0
0
Can someone explain to me what the ZTIUtility.vbs does in MDT.

What is the main purpose of this .vbs file


WinPE cant find NIC drivers for HP ProDesk 600 G4 DM (TAA) and HP EliteOne 800 G4 23.8-in Non-Touch AiO

$
0
0

Hi all,

I can't seem to get our new HP models to load the NIC drivers in WinPE when using our MDT.

I've tried importing the WinPE drivers (WinPE 3,4,5 and 10) from here:

https://ftp.hp.com/pub/caps-softpaq/cmit/HP_WinPE_DriverPack.html

And I have verified the selection profiles but I still can't get it to work.

I'm getting the following error:

The following networking device did not have a driver installed

PCI\VEN_8086&DEV_15BB&SUBSYS_83EF103C&REV_10

Is there any way to find out exactly what driver it is unable to find?

Here is the wpeinit.log:

2019-08-20 12:47:28.330, Info      WPEINIT is processing the unattend file [X:\unattend.xml]
2019-08-20 12:47:28.330, Info      Spent 2078ms initializing removable media before unattend search
2019-08-20 12:47:28.393, Info      ==== Initializing Display Settings ====
2019-08-20 12:47:28.393, Info      Setting display resolution 1024x768x32@60: 0xfffffffe
2019-08-20 12:47:28.393, Warning   Setting the display resolution failed; this error is being ignored
2019-08-20 12:47:28.393, Info      STATUS: SUCCESS (0x00000001)
2019-08-20 12:47:28.393, Info      ==== Initializing Computer Name ====
2019-08-20 12:47:28.393, Info      Generating a random computer name
2019-08-20 12:47:28.393, Info      No computer name specified, generating a random name.
2019-08-20 12:47:28.408, Info      Renaming computer to MININT-LNT8FIT.
2019-08-20 12:47:28.408, Info      Waiting on the profiling mutex handle
2019-08-20 12:47:28.408, Info      Acquired profiling mutex
2019-08-20 12:47:28.408, Info      Service winmgmt disable: 0x00000000
2019-08-20 12:47:28.408, Info      Service winmgmt stop: 0x00000000
2019-08-20 12:47:28.424, Info      Service winmgmt enable: 0x00000000
2019-08-20 12:47:28.424, Info      Released profiling mutex
2019-08-20 12:47:28.424, Info      STATUS: SUCCESS (0x00000000)
2019-08-20 12:47:28.424, Info      ==== Initializing Virtual Memory Paging File ====
2019-08-20 12:47:28.424, Info      No WinPE page file setting specified
2019-08-20 12:47:28.424, Info      STATUS: SUCCESS (0x00000001)
2019-08-20 12:47:28.424, Info      ==== Initializing Optional Components ====
2019-08-20 12:47:28.424, Info      WinPE optional component 'Microsoft-WinPE-HTA' is present
2019-08-20 12:47:28.502, Info      WinPE optional component 'Microsoft-WinPE-MDAC' is present
2019-08-20 12:47:28.502, Info      WinPE optional component 'Microsoft-WinPE-WMI' is present
2019-08-20 12:47:28.549, Info      WinPE optional component 'Microsoft-WinPE-WSH' is present
2019-08-20 12:47:28.596, Info      STATUS: SUCCESS (0x00000000)
2019-08-20 12:47:28.596, Info      ==== Initializing Network Access and Applying Configuration ====
2019-08-20 12:47:28.596, Info      No EnableNetwork unattend setting was specified; the default action for this context is to enable networking support.
2019-08-20 12:47:28.596, Info      Global handle for profiling mutex is non-null
2019-08-20 12:47:28.596, Info      Waiting on the profiling mutex handle
2019-08-20 12:47:28.596, Info      Acquired profiling mutex
2019-08-20 12:47:28.688, Info      Service dhcp start: 0x00000000
2019-08-20 12:47:28.688, Info      Service lmhosts start: 0x00000000
2019-08-20 12:47:28.891, Info      Service ikeext start: 0x00000000
2019-08-20 12:47:29.047, Info      Service mpssvc start: 0x00000000
2019-08-20 12:47:29.047, Info      Service NetBIOS start: 0x00000000
2019-08-20 12:47:29.141, Info      Service LanmanWorkstation start: 0x00000000
2019-08-20 12:47:29.156, Info      Service mrxsmb10 start: 0x00000000
2019-08-20 12:47:29.156, Info      Released profiling mutex
2019-08-20 12:47:29.156, Info      Spent 547ms installing network components
2019-08-20 12:47:29.985, Info      Installing device root\kdnic X:\WINDOWS\INF\kdnic.inf succeeded
2019-08-20 12:47:30.407, Info      Spent 1250ms installing network drivers
2019-08-20 12:47:30.489, Error     QueryAdapterStatus: no adapters found.
2019-08-20 12:47:30.489, Info      Spent 0ms confirming network initialization; status 0x80004005
2019-08-20 12:47:30.489, Info      WaitForNetworkToInitialize failed; ignoring error
2019-08-20 12:47:30.489, Info      STATUS: SUCCESS (0x003d0001)
2019-08-20 12:47:30.489, Info      ==== Applying Firewall Settings ====
2019-08-20 12:47:30.489, Info      STATUS: SUCCESS (0x00000001)
2019-08-20 12:47:30.489, Info      ==== Executing Synchronous User-Provided Commands ====
2019-08-20 12:47:30.489, Info      Parsing RunSynchronousCommand: 1 entries
2019-08-20 12:47:30.489, Info        Command 0: 0x00000000
2019-08-20 13:29:06.712, Info      Successfully executed command 'wscript.exe X:\Deploy\Scripts\LiteTouch.wsf' (exit code 0x0000145a)
2019-08-20 13:29:06.712, Info      STATUS: FAILURE (0x8007145a)
2019-08-20 13:29:06.712, Info      ==== Executing Asynchronous User-Provided Commands ====
2019-08-20 13:29:06.712, Info      STATUS: SUCCESS (0x00000001)
2019-08-20 13:29:06.712, Info      ==== Applying Shutdown Settings ====
2019-08-20 13:29:06.712, Info      No shutdown setting was specified
2019-08-20 13:29:06.712, Info      STATUS: SUCCESS (0x00000001)
2019-08-20 13:29:06.712, Warning   Applying WinPE unattend settings failed with status 0x8007145a; ignoring shutdown settings


Unable to find litetouch.wsf needed to continue the deployment

$
0
0

Hi,

I having a problem after the operating system are finished to install,and its create the Administrator profile user its showing the next error :Unable to find litetouch.wsf needed to continue the deployment

https://social.technet.microsoft.com/Forums/getfile/1473982

Captured Windows 10 reference image too small

$
0
0

I've been using MDT for deployment for about a year now, and have captured WIM files for my reference image multiple times in the past. However, recently I have been failing to capture a good reference image for Windows 10 1809 and 1903. Even if the whole process goes fine, without any errors, the captured WIM at the end is always only 4,247KB. As great as it would be to have a working image as small as 4MB... this one does not work. I've found only one other post about this problem, here https://social.technet.microsoft.com/Forums/en-US/8d74d46c-df09-45a0-bd83-ff18a7e887f2/captured-windows-10-wim-file-too-small?forum=mdt

The eventual conclusion they came to was that it was capturing the mounted CD drive instead of the drive containing the Windows directory. I do not believe this is happening in my case, as my logs are stating that I'm capturing the C: drive, which is correct. I have also tried all the proposed solutions in that post to no avail. I have not modified any default settings regarding the backup drive. I was initially encountering this problem using MDT2013, but have since upgraded to version 8456 and experience the same problem still. I've tried everything I can come up with in the past few months, but am still unable to create a working reference image.

Any advice would be very welcome! See below for links to my BDD log files shared from Box.com. The first is a recent one, which is not working. The second is from the last time I was able to create a working reference image.

Not working - https://hopeinternational.box.com/s/0i4gig7buyv7sicx1ooi3zrpuyd3m4k3

Working - https://hopeinternational.box.com/s/0as9j0b3n86a638qw0xxmh1vopw9ih1k

Thanks in advance!

Can not find script file "C:\LTIBootstrap.vbs"

$
0
0

**I'm fairly new to MDT so please bear with me**

I have captured a working .wim image from a "Gold" Deployment Share with zero errors and works fine.

I then create another Deployment Share and import the captured .wim into the Operating Systems and create the standard vanilla TS setup just to see if the .wim will deploy correctly to a VM (VMWare).  I import the LiteTouchx64.wim into the Boot folder of WDS and away we go. WDS is already configured and working as it should along with DHCP, DC, DNS, etc.

Everything is working fine until right before the last step which is installing some final applications like Firefox.

The weird part is if I hit "Ok" the deployment continues just fine and even finishes with Success Deployment Summary "During the deployment process, 0 errors and 0 warnings were reported"

I did pull up the BDD.log and the only thing I can find related to LTIBootstrap.vbs is stating that "File C:\MININT\Scripts\LTIBootstrap.vbs already exists in Target" -- in fact it says that for all the vbs scripts in C:\MININT\Scripts\____.vbs. That doesn't correlate to the same location however (C:\LTIBootstrap.vbs) as per the error message.

I do see earlier in the BDD.log that it did copy these scripts successfully from my Deployment Share with no issues.

Has anyone else seen this issue and if so how did you fix it? Any guidance or insight is greatly appreciated.

MDT diskpart step

$
0
0

Hello,

I want to add step that making a diskpart clean.

how I do it?

Get choice applications selected in wizard during preinstall phase

$
0
0

Hello,

I try to recover the choices of applications selected in the wizard in the phase of prinstall.

The values (INSTALLEDAPPLICATIONSxxx) are not stored in the VARIABLES.DAT at the end of the wizard.

Can you help me ?

Dell BIOS Flash64w during OSD

$
0
0

I currently image all dell computers with WDS/MDT. I currently have a TS's that does the following
1) copies files to "x:\Bios" folder
2) runs a bat file from "x:\bios" folder. Bat file script is:

::Change DIR::
cd /d x:\bios

::Flash Bios::
Flash64W.exe /b=OptiPlex7050.exe /s /f /noReboot /l=x:\bios\OptiPlex7050.log 

I have also tried just: /s /noReboot and /s /l=x:\bios\OptiPlex7050.log

The TS command line is: cmd /c x:\bios\7050.bat

I have read the logs and it shows a success code = 2 Reboot Required, however it breaks the task sequence and salmon screens resulting in an error. After the BIOS Upgrade TS runs, the next TS is a restart so the bios can finish updating and then boot back into MDT so it resume where it left off. 

I am running this on an OptiPlex7050, upgrading bios 1.11.x to 1.12.x  

The purpose of the bios being updated in the beginning is to have the CCTK tool change bios settings, such as Legacy to UEFI and other such stuff that requires the WMI ACPI bios.

 Thanks for any support.


MDT FAILURE ( 5627) with WIN 10 PRO 1903

$
0
0

Hello,

I have a problem with instalation WIN10 1903 via MTD:

Failure ( 5627 ): -2146498536 0x800F0818: Run DISM.exe

Litetouch deployment failed, Reeturn Code = -2147467259 0x80004005

Failed to save environment to (80070057)

Failed to run the action: Install Operating System

Unknow error (Error: 000015FB; Source: Unknown)

The execution of the group (install) has failed and the execution has benn aborted. An action failed

Operation aborted (error:80004004; Source: Windows)

Failed to run the last action: Install Operating System. Execution of task sequence failed.

Unknow error: 000015FB; Source:Unknown)

Task Sequence engine Failed! Code: enExecutionFail

Task sequence execution failed with error code 80004005

RegQueryValueExW is unsuccessful fos Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram

GetTSRegValue() is unsuccesful. 0x80070002

Error Task Sequence Manager Failed to execute task sequence. Code 0x800004005

Another OS (eg  WIN 10 PRO 1803 working correctly)


Windows 10 1903 - KB4498523 + KB4497935 - DISM /ResetBase will fail (Meant to be fixed with SSU KB4498523)

$
0
0

This is a newly installed Windows Preinstallation Environment Windows 10 Assessment and Deployment Toolkit 18362.1

Image

Now I am quoting the following from https://support.microsoft.com/en-au/help/4498523/windows-10-update-kb4498523

Servicing stack update for Windows 10, Version 1903: May 29, 2019

 

  • Addresses an issue in which updates may fail to install after the /resetbase command in DISM is run.

PS E:\WinROG> DISM /Image:mount\OS /Cleanup-Image /StartComponentCleanup 
Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18362.145

Error: 0x800f0806

The operation could not be completed due to pending operations.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
PS E:\WinROG> DISM /Unmount-Image /MountDir:mount\OS /DISCARD
Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Unmounting image
[==========================100.0%==========================]
The operation completed successfully.

2019-06-01 02:43:18, Warning DISM DISM Provider Store: PID=1632 TID=14016 Failed to load the provider: D:\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

If you look carefully, the above screenshot shows that this MetaDeployProvider.dll DOES NOT EXIST for the ADK Release 18362.1.

While this issue doesn't break the OS as much as the previous bug I posted about the ADK - https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-1903-dear-microsoft-please-remember-to/e9e9e28a-c3f6-4e24-a900-f48a85b20431?tm=1558465537818

More log about the error posted here:

https://techcommunity.microsoft.com/t5/System-Center-Configuration/Windows-10-0-18362-145-KB4498523-DISM-fails-offline-ResetBase/td-p/661335


-NeoB

Customizing Wallpaper and lockscreen - $OEM$ folder not working?

$
0
0

Looking to permanently customize corp wallpaper and lock screen in the reference image.

I found a lot of scripts and methods to do so, however I was hoping that using the $OEM$ folder will do the trick for me but it does not. Any advice on the topic?

My $OEM$ folder is set this way:
\$OEM$\$1\Windows\web\4K\Wallpaper\Windows

all images replace with my company's as well as the Img0



1703 Capture (create wim) stuck at 3%.

$
0
0

I have Win7, 1703 and 1803 images in MDT. I'm trying to capture a change made to my 1703 image (the old way where the change is made on the VM).

Launching the VM and going to my Build$, it gets past sysprep and begins to create a WIM but stops at 3%.
I have plenty of room (1.54TB) of storage left on my 5TB drive.

I may delete the Sysprep & Capture TS for it and rebuild it, but I can't see why it repeatedly gets stuck at 3%.
Any idea?

multicast slower with winpe 1709-1809, but good with 1607

$
0
0

Is there some known issue with new versions of winpe and slower multicasting?  The server is 2016 1607.  Winpe 1607 can multicast a computer in about half an hour, but newer versions take like 4 hours.

Viewing all 11297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>