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

0x80070570 error when deploying reference image

$
0
0
I've followed all the steps in creating a reference image. When I boot the reference computer and deploy the Windows 7 x64 Enterprise (build 6.1.7600.16385) image to it, it gets about half way through and then says:

"Windows cannot install required files. The file may be corrupt or missing. Make sure all files required for installation are available, and restart the installation. Error code: 0x80070570"

The ISO for Windows 7 is good as I have used it before when burning it as a DVD and was able to setup multiple machines with it. Also in previous testing I was able to use this same ISO/DVD to setup a new machine and sysprep it with out a problem. This issue is occuring only with MDT deployment.

Has anyone else gotten this error or know of a fix?

---
Full error:

Setup failed applying image \\xxxxxxxxxx\DeploymentShare$\blah blah\install.wim, rc = 31
ZTI ERROR - Non-zero return code by LTIApply, rc = 31
Litetouch deployment failed, Return Code = -214767259 0x80004005

Issue with step "Installing Operating System"

$
0
0

Hello, 

Just wondering if anyone can help me as I've been pulling my hair out for a week over this one. I had my task sequences working fine a couple weeks back and now they fail with this error:

The execution of the group (Install) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)TSManager20/03/2015 16:29:211276 (0x04FC)
Failed to run the last action: Install Operating System. Execution of task sequence failed.
Incorrect function. (Error: 00000001; Source: Windows)TSManager20/03/2015 16:29:211276 (0x04FC)
Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,767)TSManager20/03/2015 16:29:211276 (0x04FC)

Task Sequence Engine failed! Code: enExecutionFailTSManager20/03/2015 16:29:211276 (0x04FC)
Task sequence execution failed with error code 80004005TSManager20/03/2015 16:29:211276 (0x04FC)

I've googled around and tried a lot of 'fixes' I've found from various sites but nothing seems to have remedied this issue. The only thing that changed (That I can think of) is the IP of the VM was changed to a different one. This seems to be when it started failing. All steps leading up to this point seem to work fine. Does anyone have any sugggestions? This is on a newly built, Hyper-v, server 2012 R2, MDT 2013 setup.

Much Appreciated..!



MDT 2013: WinPE Screen Resolution for Tablets not adapted

$
0
0

Hello guys,

I'm using MDT 2013 to deploy Windows 8.1 on tablets.

So, after generated the boot image including the right drivers inside, I boot up my tablets through WinPE (Boot on LAN).

Once WinPE initiated, I'm now in the Deployment Welcome Screen with a very low resolution. The welcome screen filled the entire screen. Worse, the next window is bigger than the screen.

So my question is, how to handle with this behaviour?

Thanks guys in advance for your help,

Windows Server 2012 R2 Unattended install question

$
0
0
I currently have a disk that is greater than 2 TB is size that I am trying to install onto using an unattended install.  I keep getting a 0x80042565 error when trying to run the install.  I am not sure why this is failing on me.  I am putting my autounattend.xml code below.  If anyone can help me figure out why this is not working, I would be quite happy.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" 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">
            <SetupUILanguage>
                <UILanguage>en-US</UILanguage>
            </SetupUILanguage>
            <InputLocale>en-US</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-US</UserLocale>
        </component>
        <component name="Microsoft-Windows-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">
            <DiskConfiguration>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Size>300</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Size>100</Size>
                            <Type>EFI</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>3</Order>
                            <Size>128</Size>
                            <Type>MSR</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>4</Order>
                            <Type>Primary</Type>
                            <Size>92160</Size>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                            <Order>5</Order>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>false</Active>
                            <Format>NTFS</Format>
                            <Label>WinRE</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Order>3</Order>
                            <PartitionID>3</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Format>FAT32</Format>
                            <Label>Boot</Label>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>OS</Label>
                            <Letter>C</Letter>
                            <Order>4</Order>
                            <PartitionID>4</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>VM</Label>
                            <Letter>D</Letter>
                            <Order>5</Order>
                            <PartitionID>5</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Server 2012 R2 SERVERDATACENTER</Value>
                        </MetaData>
                    </InstallFrom>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>3</PartitionID>
                    </InstallTo>
                </OSImage>
            </ImageInstall>
            <UserData>
                <ProductKey>
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                    <WillShowUI>OnError</WillShowUI>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
            </UserData>
        </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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ComputerName>Computer Name</ComputerName>
            <TimeZone>Eastern Standard Time</TimeZone>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <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">
            <UserAccounts>
                <AdministratorPassword>
                    <Value>Password</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>Password</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <DisplayName>Display Name</DisplayName>
                        <Group>Group</Group>
                        <Name>Username</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/temp/install.wim#Windows Server 2012 R2 SERVERDATACENTER" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Any help would be greatly appreciated.

Imported Wim Files

$
0
0

hello

I have some old sccm 2007 wim files, i know these work with sccm 2007.

But when i import them into MDT2013 im unable to see them in DeploymentWorkbench although i can see them in DEPLOYMENTSHARE\OPERATING SYstems.

Any ideas,?

Or how do i convert them so that i can import these into MDT 2013 DeploymentWorkbench

thanks

MDT 2012 OSD Failure (5627):1450 Run DISM.exe

$
0
0

Litetouch deployment failed, return code=-214746729 0x80004005

Failed to save environment to 80070057

Failed to run the action:Install Operating System

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

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

Operating system aborted(Error:8004004:Source:Windows)

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

Unknown error:Error:000015FB:Source:unknown)

Can some one help me with this? I am trying to run standard client TS for windows 7

Thanks,

Rajith.


Thanks, Rajith P

Capture-image hangs on "create wim"

$
0
0

Hello,

i am capturing a new Windows 8-image.

I have created a seperate task-sequence for Windows 8-capture with the DVD of windows 8 as setup-files.

After rebooting to Winpe my deployment this is hanging op "create wim"

What to do?

MDT 2010 Deploy, DHCP Error

$
0
0

hi all

from time to time we I have with MDT deploy Windows 7.

Error: "A connection to the deployment share  could not be made. DHCP lease was not optained for any networking." START - cmd ipconfig show's a correct DHCP IP Address. There was a new Icon/Link "resume task sequence"  on Desktop. After I click "resume Task sequence" it works fine (without reboot, without modification)

DHCP lease time is 1 day. Workstation is fast and have SSD Drive. Is this a timing problem.

 


Chris

WDS with unattended.xml, client starts without using unattended.xml

$
0
0

Hi all,

i've a server W2K12 with WDS (properly installed). I created the file unattended.xml, put it in the folder of my WDS deployment and in the WDS server.

The ouput of the my unattended.xml is:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" 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">
            <SetupUILanguage>
                <UILanguage></UILanguage>
            </SetupUILanguage>
            <InputLocale>en-us</InputLocale>
            <SystemLocale>en-us</SystemLocale>
            <UILanguage>en-us</UILanguage>
            <UILanguageFallback>en-us</UILanguageFallback>
        </component>
        <component name="Microsoft-Windows-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">
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/Image/Name</Key>
                            <Value>Windows Server 2012 SERVERSTANDARD</Value>
                        </MetaData>
                    </InstallFrom>
                </OSImage>
            </ImageInstall>
            <UserData>
                <AcceptEula>true</AcceptEula>
            </UserData>
            <DiskConfiguration>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Size>10000</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Extend>true</Extend>
                            <Format>NTFS</Format>
                            <Label></Label>
                            <Letter>C</Letter>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
            </DiskConfiguration>
            <WindowsDeploymentServices>
                <Login>
                    <Credentials>
                        <Domain>lol.local</Domain>
                        <Password>AAAA2015</Password>
                        <Username>Administrator</Username>
                    </Credentials>
                </Login>
                <ImageSelection>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                </ImageSelection>
            </WindowsDeploymentServices>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance">
            <UserAccounts>
                <AdministratorPassword>
                    <Value>QQBuAGQAcgBlAGEANwA5AGMAdgBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>QQBuAGQAcgBlAGEANwA5AGMAdgBQAGEAcwBzAHcAbwByAGQA</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <DisplayName>Administrator</DisplayName>
                        <Group>Administrators</Group>
                        <Name>Admin</Name>
                    </LocalAccount>
                </LocalAccounts>
                <DomainAccounts>
                    <DomainAccountList wcm:action="add">
                        <Domain>lol.local</Domain>
                    </DomainAccountList>
                </DomainAccounts>
            </UserAccounts>
            <AutoLogon>
                <Password>
                    <Value>QQBuAGQAcgBlAGEANwA5AGMAdgBQAGEAcwBzAHcAbwByAGQA</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Username>Administrator</Username>
                <Enabled>true</Enabled>
            </AutoLogon>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <CommandLine> cmd.exe /c a:set-power-config.bat</CommandLine>
                    <Description>Turn off all power saving and timeouts</Description>
                    <Order>2</Order>
                    <RequiresUserInput>true</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>
        </component>
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance">
            <InputLocale>en-us</InputLocale>
            <UILanguage>en-us</UILanguage>
            <UILanguageFallback>en-us</UILanguageFallback>
            <UserLocale>en-us</UserLocale>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance">
            <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
        </component>
        <component name="Microsoft-Windows-IE-ESC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance">
            <IEHardenAdmin>false</IEHardenAdmin>
            <IEHardenUser>false</IEHardenUser>
        </component>
        <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance">
            <SearchScopes>
                <Scope wcm:action="add">
                    <ScopeDefault>true</ScopeDefault>
                    <ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl>
                    <ScopeKey>Google</ScopeKey>
                    <ScopeDisplayName>Google</ScopeDisplayName>
                </Scope>
            </SearchScopes>
            <DisableAccelerators>true</DisableAccelerators>
            <DisableFirstRunWizard>true</DisableFirstRunWizard>
            <Home_Page>about:blank</Home_Page>
        </component>
        <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance">
            <fDenyTSConnections>false</fDenyTSConnections>
        </component>
        <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance">
            <FirewallGroups>
                <FirewallGroup wcm:action="add" wcm:keyValue="Remote Desktop">
                    <Active>true</Active>
                    <Group>RemoteDesktop</Group>
                    <Profile>all</Profile>
                </FirewallGroup>
            </FirewallGroups>
        </component>
        <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi=">http://www.w3.org/2001/XMLSchema-instance">
            <UserAuthentication>0</UserAuthentication>
        </component>
        <component name="Microsoft-Windows-UnattendedJoin" 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">http://www.w3.org/2001/XMLSchema-instance">
            <Identification>
                <Credentials>
                    <Domain>lol.local</Domain>
                    <Password>AAAA2015</Password>
                    <Username>admin</Username>
                </Credentials>
            </Identification>
        </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">
            <ComputerName>W2K12Test</ComputerName>
        </component>
    </settings>
    <settings pass="offlineServicing">
        <component name="Microsoft-Windows-LUA-Settings" 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">
            <EnableLUA>false</EnableLUA>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/images/install.wim#Windows Server 2012 R2 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

When the client starts instead of going in automatic screen appears windows where I am asked to choose which operating system to install.

What is wrong?

Please, DON'T GIVE ME LINKS, BUT THE SOLUTIONS on how to fix it

Thank you in advance.

MDT 2013 - Deleted Litetouch.vbs

$
0
0

Alright, well... stupid mistake on my part. I was trying to clear litetouch.vbs from the recent files on a Win10 technical preview, and without fully thinking about it, just selected it and hit delete. At the same point, the realization that it was a network location and I was logged into the client with domain admin privileges hit me. I've searched recycle bin on both the client and the server (not there). I've checked for "previous versions" of the folder, but none available, and unfortunately our deployment server is not part of the backup schedule. 

What can I do to recover or recreate the litetouch.vbs? The .wsf is still present. 

I appreciate any suggestions. 


download and deploy KBxxxxx after deployment with MDT2013

$
0
0

We are using MDT2013 to deploy operating systems to clients. I am setting up to use the clients with A WSUS server but getting errors on the client. When running the wsus readyness tool it says i need KB947821.

So what is the best way to deploy this KB947821 to the client in MDT after a deployment to client is done? Download the KB offline somewhere and then add it in MDT Task Sequence as applications or in the TS somewhere as an update?
The KB update files are in a specific format like cab files or mst files....

Can it be done in the rules.ini for every client after that the image is deployed?


freddie

MDT 2013 Capture Image issue

$
0
0

Dear MS team,

I have deployed image 8.1 by MDT 2013, it got deployed successful, but I am not able to capture the same. 

It running capture screen but after the Black Screen and get reboot and come to login screen.

Please respond 

USMT's [Odd] Handling of Alternate Data Streams on External Drives

$
0
0

We recently started using USMT as part of our backup/restore user migration process.  With few exceptions, it works brilliantly and saves us loads of time.

One of our local IT teams noticed that USMT does something unexpected with files that contain alternate data streams when backed up with USMT.  Although the files are backed up, they're done so in a very unusual manner, consider the following example:

  1. I download OneDriveSetup.exe with IE9 and save it into the Downloads directory
  2. I backup using USMT to my external drive, W:\
  3. I browse W:\USMT\File\C$\Users\MyUsername\Downloads\
  4. I do not have a 'OneDriveSetup.exe' file
  5. Instead I have a directory named 'OneDriveSetup.exe'
  6. The 'OneDriveSetup.exe' directory contains two files: $Zone.Identifier$$DATA and OneDriveSetup.exe
  7. This is true for every file downloaded with IE (and Chrome)
  8. For what its worth, this is also true for all Dropbox files (e.g.: %userprofile%\Dropbox), except the other file is $com.dropbox.attrbutes$$DATA
    Note:
    a) OneDrive and Box don't create files with ADS
    b) No one should be backing up cloud files anyway, but since Dropbox does create files with ADS' I figured it would be an interesting experiment.


So What?

Sometimes we don't want to restore everything; we just need to grab a subset of the backed up data.  Restoring downloaded files with this setup makes it incredibly tedious: We have to go into each folder, grab the real file, leaving the rest, and repeat. Its maddening.

At first I thought maybe it had something to do with the drive partitions so I:

  • Cleared the partitions
  • Created 3 partitions: 1x600GB NTFS (W Drive) , 1x600GB exFAT (X Drive), 1x31GB FAT32 (Y Drive)
  • Backed up to each of the partitions

In all three instances, it behaved the same, creating the strange folder structure.

I backed up to two different network shares, and again it behaved the same way.

So, I have to ask:

  • Is this normal?
  • Is there an undocumented command line switch/parameter/argument to suppress this?
  • Do I need do create an XML file to handle ADS files normally versus doing it the default way?


llewxamnai reported this behavior over a year ago, but no one responded to the thread.


Alt data stream difference from USMT 4 to USMT 5

$
0
0

Very annoying difference from USMT 4 to 5 - I have files downloaded from the internet, when using scanstate to migrate the data those files are missing in the data store, replaced by folders containing the file and a $Zone.Identifier$$DATA file.  If I unblock the file then run scanstate this does not happen.  And again, this only happens with USMT 5.0, I ran the same set of options with USMT 4.0 and the files were fine.  This is being run from the online OS, not in a domain environment, from an account with admin privileges.


I have tried all of the command line options I can think of to make this not happen, and looked in the XML files but can't seem to find a solution.  I built a front end to USMT to be used for data backup purposes, so my solution to this problem needs to be something that can be set via command line or XML so it works from any machine that runs the tool.

Thanks for any suggestions!  (besides sticking with USMT 4  :P )

Ian

ZTI ERROR - Non-zero return code by ZTIUserState, rc = 38

$
0
0

Hi, we're using MDT 2013 (and USMT5) to capture and deploy images. Last week a colleague captured user data and tried to restore the mig-file on another newly installed pc. But he got an error :ZTI ERROR - Non-zero return code by ZTIUserState, rc = 38 (38 is a Windows System Error code and means : "reached the end of the file")

This info comes from the smsts.log

Start executing the command line: cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /restore		01/01/1601 00:00:00	0 (0x0000)
!--------------------------------------------------------------------------------------------!		01/01/1601 00:00:00	0 (0x0000)
Expand a string: 		01/01/1601 00:00:00	0 (0x0000)
Executing command line: cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /restore		01/01/1601 00:00:00	0 (0x0000)
Process completed with exit code 38		01/01/1601 00:00:00	0 (0x0000)
!--------------------------------------------------------------------------------------------!		01/01/1601 00:00:00	0 (0x0000)
Failed to run the action: Restore User State.
Reached the end of the file. (Error: 00000026; Source: Windows)		01/01/1601 00:00:00	0 (0x0000)
Sending status message . . .		01/01/1601 00:00:00	0 (0x0000)
Executing in non SMS standalone mode. Ignoring send a task execution status message request		01/01/1601 00:00:00	0 (0x0000)
Set a global environment variable _SMSTSLastActionRetCode=38		01/01/1601 00:00:00	0 (0x0000)
Set a global environment variable _SMSTSLastActionSucceeded=false		01/01/1601 00:00:00	0 (0x0000)
Clear local default environment		01/01/1601 00:00:00	0 (0x0000)
Let the parent group (State Restore) decides whether to continue execution		01/01/1601 00:00:00	0 (0x0000)
The execution of the group (State Restore) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)		01/01/1601 00:00:00	0 (0x0000)
Failed to run the last action: Restore User State. Execution of task sequence failed.
Reached the end of the file. (Error: 00000026; Source: Windows)		01/01/1601 00:00:00	0 (0x0000)
Sending status message . . .		01/01/1601 00:00:00	0 (0x0000)

Other info in the BDD-log

------ Performing State Restore ------	ZTIUserState	30/03/2015 13:50:57	0 (0x0000)
ZTI Beginning user state restore.	ZTIUserState	30/03/2015 13:50:57	0 (0x0000)
Event 41007 sent: ZTI Beginning user state restore.	ZTIUserState	30/03/2015 13:50:57	0 (0x0000)
About to run command: cmd /c ""C:\MININT\USMT\X64\loadstate.exe" "\\our-enterprise\USMT\PORT-ALH-OLD" /i:WNB.XML /i:MigNotes.xml /i:MigDocs.xml /c /r:10 /w:5 /v:13 /uel:30 /lac /ui:Administrator  /i:"C:\MININT\USMT\X64\MigApp.xml" /i:"C:\MININT\USMT\X64\Migdocs.xml" /config:"C:\MININT\USMT\X64\ZTIUserState_Config.xml" /l:C:\MININT\SMSOSD\OSDLOGS\USMTrestore.log  /progress:C:\MININT\SMSOSD\OSDLOGS\USMTrestore.prg > nul 2>&1"	ZTIUserState	30/03/2015 13:50:57	0 (0x0000)
Return code from command = 38	ZTIUserState	30/03/2015 13:51:51	0 (0x0000)
ZTI ERROR - Non-zero return code from Loadstate, RC = 38	ZTIUserState	30/03/2015 13:51:51	0 (0x0000)
Event 41007 sent: ZTI ERROR - Non-zero return code from Loadstate, RC = 38	ZTIUserState	30/03/2015 13:51:51	0 (0x0000)
ZTI USMT LOADSTATE reported 0 errors and 0 warnings.	ZTIUserState	30/03/2015 13:51:51	0 (0x0000)
Event 41010 sent: ZTI USMT LOADSTATE reported 0 errors and 0 warnings.	ZTIUserState	30/03/2015 13:51:52	0 (0x0000)
ZTIUserState COMPLETED.  Return Value = 38	ZTIUserState	30/03/2015 13:51:52	0 (0x0000)
Removing drive letter E: from the boot drive.	ZTIUserState	30/03/2015 13:51:52	0 (0x0000)
DISKPART + list volume	ZTIUserState	30/03/2015 13:51:52	0 (0x0000)
DISKPART + Select volume E:	ZTIUserState	30/03/2015 13:51:52	0 (0x0000)
DISKPART + REMOVE LETTER=E: NOERR	ZTIUserState	30/03/2015 13:51:52	0 (0x0000)
DISKPART + exit	ZTIUserState	30/03/2015 13:51:52	0 (0x0000)
About to run command: cscript.exe //nologo "\\our-enterprise\DeploymentShare\Scripts\ztiRunCommandHidden.wsf" "DiskPart.exe /s C:\Users\ADMINI~1\AppData\Local\Temp\rad74A55.tmp"	ZTIUserState	30/03/2015 13:51:52	0 (0x0000)
Microsoft Deployment Toolkit version: 6.2.5019.0	ztiRunCommandHidden	30/03/2015 13:51:52	0 (0x0000)
The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.	ztiRunCommandHidden	30/03/2015 13:51:52	0 (0x0000)
Write all logging text to \\our-enterprise\MDT Varia\Logs\Dynamic\PORT-ALH	ztiRunCommandHidden	30/03/2015 13:51:52	0 (0x0000)
Validating connection to \\our-enterprise\MDT Varia\Logs\Dynamic\PORT-ALH	ztiRunCommandHidden	30/03/2015 13:51:52	0 (0x0000)
Mapping server share: \\our-enterprise	ztiRunCommandHidden	30/03/2015 13:51:52	0 (0x0000)
Already connected to server our-enterprise.be as that is where this script is running from.	ztiRunCommandHidden	30/03/2015 13:51:52	0 (0x0000)
About to run command: DiskPart.exe /s C:\Users\ADMINI~1\AppData\Local\Temp\rad74A55.tmp	ztiRunCommandHidden	30/03/2015 13:51:52	0 (0x0000)
Command has been started (process ID 4596)	ztiRunCommandHidden	30/03/2015 13:51:52	0 (0x0000)
ZTI Heartbeat: command has been running for 0 minutes (process ID 4596)	ztiRunCommandHidden	30/03/2015 13:51:53	0 (0x0000)
Event 41003 sent: ZTI Heartbeat: command has been running for 0 minutes (process ID 4596)	ztiRunCommandHidden	30/03/2015 13:51:53	0 (0x0000)
  Console > Microsoft DiskPart version 6.1.7601	ztiRunCommandHidden	30/03/2015 13:51:53	0 (0x0000)
  Console > Copyright (C) 1999-2008 Microsoft Corporation.	ztiRunCommandHidden	30/03/2015 13:51:53	0 (0x0000)
  Console > On computer: PORT-ALH	ztiRunCommandHidden	30/03/2015 13:51:53	0 (0x0000)
  Console >   Volume ###  Ltr  Label        Fs     Type        Size     Status     Info	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
  Console >   ----------  ---  -----------  -----  ----------  -------  ---------  --------	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
  Console >   Volume 0     D                       DVD-ROM         0 B  No Media           	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
  Console >   Volume 1     E   System       NTFS   Partition    499 MB  Healthy    System  	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
  Console >   Volume 2     C   OSDisk       NTFS   Partition    232 GB  Healthy    Boot    	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
  Console > Volume 1 is the selected volume.	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
  Console > DiskPart successfully removed the drive letter or mount point.	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
  Console > Leaving DiskPart...	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
Return code from command = 0	ztiRunCommandHidden	30/03/2015 13:51:54	0 (0x0000)
Command has returned: 0	ZTIUserState	30/03/2015 13:51:54	0 (0x0000)
ZTI ERROR - Non-zero return code by ZTIUserState, rc = 38	ZTIUserState	30/03/2015 13:51:54	0 (0x0000)
Event 41002 sent: ZTI ERROR - Non-zero return code by ZTIUserState, rc = 38	ZTIUserState	30/03/2015 13:51:54	0 (0x0000)
Command completed, return code = -2147467259	LiteTouch	30/03/2015 13:51:55	0 (0x0000)
Litetouch deployment failed, Return Code = -2147467259  0x80004005	LiteTouch	30/03/2015 13:51:55	0 (0x0000)
Event 41014 sent: Litetouch deployment failed, Return Code = -2147467259  0x80004005	LiteTouch	30/03/2015 13:51:55	0 (0x0000)

So the mig-file is found, the restore action starts, but it failed to run the last action. What buggers me is the "reached the end of the file". I can't find any info on the internet.

Any idea what could be going on?

Paul





MDT2013 outility.RegWrite

$
0
0

Hello, Hoping someone here can shed some light on this problem I am having in MDT 2013 in Task Sequence.

I am deploying Windows 2008 R2 OS using MDT 2013. I have a vbscript that I run in State Restore phase in the Task Sequence which essentially edits registry using following lines:

sRegKey="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoTrayItemsDisplay"
sNewRegValue = 1
    
sRegValue=oUtility.RegWrite(sregkey, sNewRegValue)

However, It fails with error: 

FAILURE (Err): -2147024891  0x80070005: Invalid root in registry key 

However, when I run same script manually on the Server, it runs fine.

Thanks in Advance.

-Deepak


MDT, reference image and Windows updates

$
0
0

I'm trying to build an automated Windows 7 x64 reference image with MDT 2012. My task sequence runs fully automatic and installs all Windows updates from local WSUS during reference image creation task sequence. Problem is that this WSUS update process will hang and I see a low memory error coming from windows during MDT is installing those updates. My Windows 7 media that I use is original SP1 Windows 7 Enterprise media that is imported to MDT.

Reference machine is a virtual machine running in hyper-v 2012 and it has 2GB ram and two cpu cores.

Atm I added a suspend step to task sequence and I'm running manually those updates to reference machine directly from Microsoft Update. No problems so far. 


MDT 2013 Windows 8.1 is ignoring Deployment Wizard Time Zone selection

$
0
0
When you select your time zone in the deployment wizard, (SkipTimeZone=No) , this setting is ignored when Windows 8.1 pro starts up. We are deploying to many different time zones and locales, so we just let the end users select their own time zones and locales. However no matter what time zone they select, it always reverts back to Pacific Standard Time. Can someone please help? Our service desk is being flooded with calls about the wrong time settings! I don't need any fancy scripts or fluff. I just need this one issue fixed.

Installing Devices Stuck at 98%

$
0
0

Good morning!

I've recently taken control of my company's MDT server and we're running into issues with certain Windows 7 x64 deployments not finishing on our HP Z420's. We know the .wim is fine because we don't always have problems installing, all HP Z400's finish successfully and a few 420s too.

Essentially the workstation is imaged and begins the first reboot within the task sequence. After that the BDD.log stops updating, and somewhere between 3% and 98% it will hang. The white light splash screen continues to animate but never finishes. After booting into a PE we can see all the Windows files on D: but is never moved to C:.

Unfortunately I'm unable to upload the BDD.log, not that there are any errors after comparing line-by-line a successful 420 image vs an unsuccessful one. So far I've checked the network end to end, ensured drivers are in the deployment, and flipped dozens of settings in the BIOS in hopes of getting them to work as they're supposed to.

Any assistance would be most appreciated, I'm still learning the toolkit but we'd like to get things up and running sooner than later.

Thank you!!

DD

Use a proxy in lite touch installation

$
0
0

Hi everybody, I obtained very good result with mdt and my installation is quite unattended but I need to sort out a problem regarding the registration of windows and office.

I added a task that register windows and office copy and works well if wpad is activated and the pc can connect to internet.

Now I had to disable Internet autoconfiguration with wpad bacuse we had other problems with that, so is there a way to configure proxy for the installation phases ?

Is there any other that is behind a proxy and do an unattended installation ?

Tks

Mike

Viewing all 11297 articles
Browse latest View live


Latest Images

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