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

Howto repair windows OS after a failed capture?

$
0
0

Hello,

I failed an OS capture on physical computer because i forgot to inject driver in the winpe image.

Now the computer boot only on the WINPE partition and missing to connect the Deployment Share.

How can I repair the partition disk to delete WINPE and boot to Windows OS?

Thank you for your help.


MDT : Error 500 = Variable is undefined / InitializeDomainMembership

$
0
0

Hi everyone!

Eveything is okay.....Only my Organisation Unit selection sucks!

I've go an "Error 500 = Variable is undefined / VBScript Code: InitializeDomainMembership".

When I rename "DomainOUList.xml" into .old, this error disapeared, but i've to write manualy the OU directory.

Here is the script into this file, nothing special:

<?xml version="1.0" encoding="utf-8"?><DomainOUs><DomainOU value="OU=Computers,DC=lab,DC=local">Mastering</DomainOU></DomainOUs>

Any help?

Thank you !


Cannot Update Deployment Shares "Unable to mount the WIM, so the update process cannot continue"

$
0
0

I am so tired of working on this.

I have completely reinstalled the Windows ADK for 2004 and the Windows PE for 2004. I also installed the Windows Driver Kit, Windows SDK and Windows SDK add-on as those were various solutions I came across.

I imported the 2004 ISO fresh into the Management Console. I created a new Standard TS targeting the OS with no customization. I update the DS and get this:

=== Making sure the deployment share has the latest x86 tools ===

=== Processing LiteTouchPE (x86) boot image ===

Building requested boot image profile.
Determining if any changes have been made in the boot image configuration.
No existing boot image profile found for platform x86 so a new image will be created.
Calculating hashes for requested content.
Changes have been made, boot image will be updated.
Windows PE WIM C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\en-us\winpe.wim will be used.
Unable to mount the WIM, so the update process cannot continue.

=== Completed processing platform x86 ===

=== Making sure the deployment share has the latest x64 tools ===

=== Processing LiteTouchPE (x64) boot image ===

Building requested boot image profile.
Determining if any changes have been made in the boot image configuration.
No existing boot image profile found for platform x64 so a new image will be created.
Calculating hashes for requested content.
Changes have been made, boot image will be updated.
Windows PE WIM C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim will be used.
Unable to mount the WIM, so the update process cannot continue.

=== Completed processing platform x64 ===


=== Processing complete ===


What does it mean "Unable to mount the WIM, so the update process cannot continue." how do I fix this when the only thing that touches the WinPE WIM is the software that is failing?

Have application checkbox (pre)checked in Deployment Wizard...

$
0
0

Hi,

If I want to decide if an application was to be deployed at deployment time, I uncheck its 'Hide this app in Deployment Wizard' checkbox.  Then I can check the app's checkbox if I want the current deployment session to install it.

But how do I set the application's checkbox as checked by default? (So I have to uncheck it if the app is NOT to be installed).  I used this 'feature' a long time ago, but have forgotten how I did it.

Secondly, when a deployment is finished (more or less successfully), how can I restart its application deployment section?  (So I don't need to wait for a complete deployment cycle with DW and OS install etc...)

Thanks a LOT for reply / comments on this.

regards Tor

Wizard.hta white screen

$
0
0

Hi

i have problem when i am trying to capture an image windows 10 1909 with MDT.

A persist white screen wizard.hta appears so i can't choose any task sequence

Best Regards

Unable to sysprep and capture Windows 2004 on hyper-v

$
0
0

I installed from the 2004 iso, and have an up to date deployment share with the 2004 ADK. I went straight from the windows install to test out the ability to sysprep. I made no major changes to it.

It just doesn't work. I've been trying for weeks to get it to work right, I can't believe more people aren't having issues. It sort of syspreps, but then just reboots instead of going to winpe to capture. 

Office 2010 Activation Error code 0x8007007B

$
0
0

Hi,

I am getting Error code 0X8007007B while activating the office 2010

Commands used from Administrator`s Command prompt :- cscript "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /act


Shailendra Dev

update-MDTDeploymentShare -or- Update-MDTMedia; "System.Management.Automation.CmdletInvocationException: The file cannot be accessed by the system. "

$
0
0

Starting this last week, whenever I try to either update the deployment share or try to update media content, I am receiving an error indicating that I cannot access a file. The name of the file is not given in the logs. Here is a typical log file from an attempt to update the media.

---------------------------- Start of Log --------------------------------------

Starting MDT Media Update
Opened the media deployment share.
Folders to be copied to the media deployment share: 7
Copied: DS001:\Applications
Copied: DS001:\Operating Systems
Copied: DS001:\Operating Systems\Server 2016 Trial
Copied: DS001:\Out-of-Box Drivers
Copied: DS001:\Packages
Copied: DS001:\Task Sequences
Copied: DS001:\Selection Profiles
Copied: DS001:\Applications with Replace option
Copied: DS001:\Operating Systems with Replace option
Copied: DS001:\Operating Systems\Server 2016 Trial with Replace option
Copied: DS001:\Out-of-Box Drivers with Replace option
Copied: DS001:\Packages with Replace option
Copied: DS001:\Task Sequences with Replace option
Copied: DS001:\Selection Profiles with Replace option
Copied standard folders.

System.Management.Automation.CmdletInvocationException: The file cannot be accessed by the system.
 ---> System.IO.IOException: The file cannot be accessed by the system.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at Microsoft.BDD.PSSnapIn.Utility.HashFile(String path)
   at Microsoft.BDD.PSSnapIn.Utility.ProcessHashFolder(StringBuilder listOfHashes, SHA256 hash, DirectoryInfo pathInfo)
   at Microsoft.BDD.PSSnapIn.Utility.ProcessHashFolder(StringBuilder listOfHashes, SHA256 hash, DirectoryInfo pathInfo)
   at Microsoft.BDD.PSSnapIn.Utility.HashDirectory(String path)
   at Microsoft.BDD.PSSnapIn.UpdateDeploymentPoint.AddHashes(XmlDocument theDoc, String xpath, String platform)
   at Microsoft.BDD.PSSnapIn.UpdateDeploymentPoint.UpdateBootImage(String template, String platform, String dpPath, Boolean createISO, String isoName)
   at Microsoft.BDD.PSSnapIn.UpdateDeploymentPoint.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at Microsoft.BDD.Wizards.GenerateMediaProgress.WizardProcessing()
   at Microsoft.BDD.Wizards.WizardProgress.InitiateWizardProcessing()

---------------- End of Log --------------------------------------------------

I have tried in vain to find what file it is looking for.

I have cleared DISM /Cleanup-MountPoints if it was having a problem mounting WIMs but that hasn't fixed it either.

The error always happens right after "Copied Standard Folders" 


From: MDT Forum


mdt task sequence wont start

$
0
0

Hello,

i have configurerd wds and mdt. but when i am booting i see two choices (picture 1 below). when i start lite touch windows pe

i get an error (see picture 2 below). when i started microsoft windows setup (x64) B2004) it start and want to install windows 10 (picture 3 below) but i want to start a task sequence from mdt but that won't show up. 

i dont understand wat i am doing wrong? can someone help me please?


picture 1

picture 2

picture 3


MDT 2010 DISM failure when updating deployment share.

$
0
0
Hi,

I have created a new deployment share using MDT 2010. The share itself is located on a file server. When I try to update the share I get the below error in the log window.

I have also posted the DISM.log here, http://pastebin.com/m295e5223

The user logged on to the client where I run MDT 2010 is a local administrator of that machine.

Would appreciate any thoughts on this one :)

=== Making sure the deployment share has the latest x86 tools ===

=== Processing LiteTouchPE (x86) boot image ===

Building requested boot image profile.

Determining if any changes have been made in the boot image configuration.

No existing boot image profile found for platform x86 so a new image will be created.

Calculating hashes for requested content.

Changes have been made, boot image will be updated.

Windows PE WIM C:\Program Files\Windows AIK\Tools\PETools\x86\winpe.wim will be used.

WIM file mounted.

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Target Path : X:\

The operation completed successfully.

Error: 5

An error occured closing a servicing component in the image.

Wait a few minutes and try running the command again.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

Exit code = 5

DISM /Set-TargetPath failed, rc = 5.

DISM was unable to set the system root (target path) for the Windows PE image, so the update process cannot continue.

=== Completed processing platform x86 ===

=== Making sure the deployment share has the latest x64 tools ===

=== Processing complete ===

Regards Erik

MDT 2010 DISM DISM was unable to set the system root (target path) for the Windows PE image

$
0
0

Hi All,

      I have been trying to use MDT for the past six months for my organization and each time it is a new problem. After successfully creating the shares and working with them for almost a month, suddenly while updating the upload share with new drivers I get this error message "DISM was unable to set the system root (target path) for the Windows PE image so deployment cannot be updated."

I tried to remove the drivers, and then update did not work.

I tried to check for the permissions and I am the admin in the machine so that was not a problem.

I tried to see if the folders were write protected, they were not.

I deleted the wim files and tried to recreate them, did not work.

I uninstalled AIK and installed the latest version. Did not work.

I uninstalled MDT and reinstalled. Did not work.

So, any ideas what I should do from here. I am really at the edge here because if some system fails, I have absolutely no way to re-image it back with our custom image. Any other processes, or any suggestions on how to solve this would help.

==========================================================================================

Additional info - 

CustomSettings file:

[Settings]

Priority=Default

Properties=MyCustomProperty

 

[Default]

OSInstall=Y

SkipAppsOnUpgrade=YES

SkipCapture=NO

SkipAdminPassword=YES

AdminPassword=***

SkipProductKey=YES

SkipDomainMembership=YES

 

ComputerBackupLocation=NETWORK

BackupShare=\\cypher\X\Capture$\Captures

BackupDir=%OSDComputerName%

 

=========================================================================================

Bootstrap file:

[Settings]

Priority=Default

 

[Default]

DeployRoot=\\CYPHER\Capture$

UserID=Administrator

UserPassword=****

UserDomain=***.***.***.***

==========================================================================================

 

Any further info shall be provided upon request. Thank you.

Refresh - DISM Apply-Image Access Denied - C:\Program Files\WindowsApps

$
0
0

When refreshing a Windows 10 1607 PC MDT 8443 will fail when applying the image with an access denied error.

Here is the relevant error from dism.log:

2017-03-06 08:51:27, Info                  DISM   DISM Provider Store: PID=840 TID=1244 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
[840] [0x80070005] RestoreDirMetadata:(2413): Access is denied.
[840] [0x8144012d] 
2017-03-06 08:51:34, Warning               DISM   DISM WIM Provider: PID=840 [RestoreDirMetadata:(2419) -> Error restoring directory metadata] D:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback
[840] [0x80070005] RestoreDirMetadata:(2548): Access is denied.
[840] [0x80070005] WimCreateDirectory:(3067): Access is denied.
[840] [0xc144012e] 
2017-03-06 08:51:34, Error                 DISM   DISM WIM Provider: PID=840 D:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback
[840] [0x80070005] RestoreDirTree:(3318): Access is denied.
[840] [0x80070005] WIMApplyImageInternal:(704): Access is denied.
2017-03-06 08:51:34, Error                 DISM   DISM WIM Provider: PID=840 TID=1244 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1046 - CWimManager::Apply(hr:0x80070005)
2017-03-06 08:51:34, Error                 DISM   DISM Imaging Provider: PID=840 TID=1244 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2500 - CGenericImagingManager::InternalCmdWimApply(hr:0x80070005)
2017-03-06 08:51:34, Error                 DISM   DISM Imaging Provider: PID=840 TID=1244 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:535 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070005)


What would be the best practice to avoid this? It only seems to happen intermittently. Should I remove AppX provisioned packages during the initialization sequence? 

Upgraded my VM to 2004 and after a reboot it boots to a CMD prompt.

$
0
0

I have a Build & Capture TS with a suspend. I upgraded to 2004 and made a checkpoint.

Then I clicked Resume and it went into sysprep, rebooted and then the grey screen came up like it was about to Capture to a
WIM but instead it went right to a CMD prompt.

I know when this happens on a physical machine you can use diskpart to clean the drive, but this is my main VM so that's not
an option.
I'm not sure what's happening to cause it to halt at a CMD prompt. Any suggestions would be helpful.

All deployments generate error 5206 and the date listed in the log is incorrect

$
0
0

My MDT Windows 10 deployments recently started generating warning error 5206 "The deployment wizard was cancelled or did not complete successfully. The deployment will not proceed."  The image deployment does complete successfully though. When I look at the Litetouch.log and BDD.log files this error is always at the top and the date is always 5-27-2020, but all log entries after that are the correct date and time. Why is this same log entry showing up on all deployments and how do prevent it?

Thanks,
EJ

User driven Task Sequence

$
0
0

Hello,

Am modifying my MDT to suit new requirements.  At the moment, its deploying laptops with applications just fine.  I need to change it so the user can select the correct TS based on location.  Basically, am thinking of having several TS per location, as each office location has different application requirements, not to mention I need to set specific values per location such as TimeZoneName, UserLocale, UILanguage, KeyboardLocale, etc.

I currently have 2 TS, 001 for the US and 002 for the UK.  Am stuck where after the user selects either TS, but it doesn't push thru the deployment


Unattend.xml Auto Login Issue

$
0
0

I have searched various forums and posted in a MDT group, but I have not received any response or found any answers. In my OOBE Settings pass, I have autologon enabled for non built-in administrator, and I have the logon count set to 2. After the PC is done installing drivers, the PC just sits at the logon screen and doesn't auto login the administrator account. I can manually click on the administrator account, and it logs in without a password. Of note, this is the same unattend file that worked on Windows 10 pro version 1709, but it has not worked since. I am currently imaging PCs with Windows 10 pro version 1903. Here is my unattend.xml file:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
        <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SkipRearm>0</SkipRearm>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
            <ComputerName>*</ComputerName>
            <ProductKey>OMITTED</ProductKey>
            <RegisteredOrganization>Company</RegisteredOrganization>
            <RegisteredOwner>Windows User</RegisteredOwner>
            <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
            <TimeZone>Central Standard Time</TimeZone>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <InputLocale>0409:00000409</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</UserLocale>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <AutoLogon>
                <Password>
                    <Value>OMITTED</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <LogonCount>4</LogonCount>
                <Username>GenericAdmin</Username>
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1920</HorizontalResolution>
                <RefreshRate>60</RefreshRate>
                <VerticalResolution>1080</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
            </OOBE>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <RequiresUserInput>false</RequiresUserInput>
                    <Order>2</Order>
                    <CommandLine>powershell.exe -executionpolicy bypass -windowstyle hidden -file C:\DP.ps1</CommandLine>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <CommandLine>powershell.exe -executionpolicy bypass -windowstyle hidden -file C:\lib.ps1</CommandLine>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>
        </component>
    </settings>
</unattend>



PC's still reboot right after Recover from Domain.

$
0
0

Using the same template from 1809 for 2004, once pc gets to Recover from Domain, the computer reboots. It auto-logs on and continues the TS. I'm just curious what could be causing a reboot for this OS when 1809 just carries on after the Recover.

I'm not really worried, just really interested in the difference.

            2004TS

1809TS

MDT install application with the credentials for connecting to network shares

$
0
0
At the beginning of the MDT installation it asks for the credentials of a user. I need to install an application (a PowerShell script that adds the PC to a domain group) with those credentials. Is this possible in some way?

Is there a way to get XPS Viewer in 2004 during Deploy?

$
0
0

I have a .PS1 below to add XPS Viewer to 1809. Now it's crashing in 2004 with

Add-WindowsCapability failed. Error code XPS error 0x80072f8f.

The only solutions I've found were to run some MS Store reset, which defeats an automated purpose.

Anyone know how to add this in 2004?

New to Installing Programs with MDT

$
0
0

Hey everyone, 

 I am learning how to install programs to MDT and am unsuccessful thus far.  I'm starting out using Firefox as my example program and getting error 1639. Here's what I have done:

1) Created a new folder in the workbench called Web Browsers

2) New Application in the Web Browser folder

source directory: C:\Users\myusername\Downloads\Setup Files\Mozilla ( that is where I downloaded the setup file to on the server)

3) Command line: msiexec /i “Firefox Setup 66.0.1.msi" /quiet

    Working Directory: .\Applications\Mozilla Firefox

I used .\ because all of the other packages we have on this server have the same syntax so I based my package off of what is already there and working

Everything imports fine and when I try to deploy the package, I am able to select it but it doesn't install. Error Code 1639 every time. 

Thank you for taking the time to read this and any help is greatly appreciated. 


SC

Viewing all 11297 articles
Browse latest View live


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