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

MDT 2013 - Litetouch deployment failed, Return Code = -2147467259 0x80004005

$
0
0

I'm attempting to deploy an image that I have recently captured with MDT.  I was able to capture the image without any problems and after capturing, it booted up properly.  But now when I go to deploy the image using a Standard Task Sequence it errors out.  It does boot into WinPE and gets to the installing operating system portion then spits out the following 8 errors:

(5624):2: Run ImageX: /apply "\\PDC31089\DeploymentShare$\Operating Systems\Win7_BUP_1-31-14\Win7_BUP_1-31-14.wim" 1 C: Litetouch deployment failed, Return Code = -2147467259 0x80004005 Failed to run the action: Install Operating System. Unknown error (Error: 000015F8; Source: Unknown) The execution of the group (Install) has failed and the execution has been aborted. An action failed. Operation aborted (Error: 80004004; Source: Windows) Failed to run the last action: Install Operating System. Execution of task sequence failed. Unknown error (Error: 000015F8; Source: Unknown) Task Sequence Engine failed! Code: enExecutionFail Task sequence execution failed with error code 80004005 Error Task Sequence Manager failed to execute task sequence. Code 0x80004005

After I receive the error messages if I attempt to restart the computer and allow it to boot up it just comes up with:

"An operating system wasn't found. Try disconnecting any drives that don't contain an operating system"

I have tried the following to resolve this issue:

  • Create a new deployment share with only network drivers added and the one .WIM that was captured with MDT as well as one Task sequence.
  • Update to MDT 2013
  • Update Deployment share and completely regenerate Boot images
  • Tried starting deployment from within Windows by mapping the drive and executing litetouch.vbs
  • Also tried starting deployment using USB boot disk

I'm running out of ideas and seem to keep getting the same 8 error messages.  It's very aggravating and am hoping that someone can point me in the right direction.

I've included some log files on Skydrive at:  https://skydrive.live.com/redir?resid=6375A8F9E8089918%21105






MDT 2013 Unable to Install .NET Framework 3.5 for Windows 8.1 Enterprise

$
0
0

I'm just starting to create a reference image of Windows 8.1. I'm adding .NET Framework 3.5 in the Task Sequence as a role and it's failing to install. The bdd.log shows

About to execute command: cmd.exe /c C:\windows\system32\DISM.exe /Online /Enable-Feature /FeatureName:"NetFx3" /Source:"C:\MININT\sources\X64" /LimitAccess /All /NoRestart /logpath:C:\MININT\SMSOSD\OSDLOGS\ZTIOSRole_Dism.log >> C:\MININT\SMSOSD\OSDLOGS\ZTIOSRole_DismConsole.log

ERROR - NetFx3 role processing with DISM.exe failed, rc = -2146498529

The ZTIOSRole_DismConsole.log shows

Enabling feature(s)
Error: 0x800f081f
The source files could not be found.

The ZTIOSRole_Dism has the same errors as well, basically that it cannot find the source. I can see the c:\minnt\sources\x64 folder on the machine. Is there another step to ensure MDT 2013 properly tells the machine it has the files there?


Orange County District Attorney

Panasonic Toughbook - Driver Bundle via WMI Query

$
0
0

Per Panasonic, I am trying to install their one click driver bundles via a WMI query. See screenshots for how I have it configured. From what I can tell I have it setup correctly. I'm using the post OS TS just for testing. HELP!

SELECT * FROM Win32_ComputerSystem WHERE Model LIKE “%CF-31W%”

I get several of these errors if I let it error out during the TS:

Error enumerating WMI instances returned from WQL query. 
Invalid query (Error: 80041017; Source: WMI)
Failed to evaluate a WMI expression. Error 0x(80041017)
Failed to evaluate an expression. Error 0x(80041017)
Failed to evaluate an AND expression. Error 0x(80041017)
Failed to evaluate an expression. Error 0x(80041017)
Error 0x80041017 in evaluating the condition for the action (31WXY-MK4-7X86 Driver Bundle)
The execution of the group (State Restore) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)
Failed to run the last action: 31WXY-MK4-7X86 Driver Bundle. Execution of task sequence failed.
Invalid query (Error: 80041017; Source: WMI)
Task Sequence Engine failed! Code: enExecutionFail
Task sequence execution failed with error code 80004005
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005
Error enumerating WMI instances returned from WQL query. 
Invalid query (Error: 80041017; Source: WMI)

Subsection for Unset/Empty Variable?

$
0
0

Without using a userexit script, is it possible to check if a particular variable is empty/unset via Bootstrap.ini or Customsettings.ini?

Like, would something like this translate correctly?

[SomeSection]
Subsection=Custom-%SOMEVAR%

; if its set to yes
[Custom-Yes]
Do=this

; if its set to no
[Custom-No]
Do=NO

; if its not set
[Custom-%SOMEVAR%]
Do=A

; or if its not set
[Custom-]
Do=B


Native VHD and Windows Recovery Environment - How to Move WINRE?

$
0
0

I have setup a Native VHD system and am having problems moving the Windows Recovery Environment out of the VHD to its' own partition.

I am not having much luck getting REAGENTC.EXE to establish the new /target.

C:\Windows\System32>reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Information:

    Windows RE status:         Disabled
    Windows RE location:
    Boot Configuration Data (BCD) identifier: 2a0ebf30-44fa-11e4-ac0f-0090a9b7bb
54
    Recovery image location:
    Recovery image index:      0
    Custom image location:
    Custom image index:        0

REAGENTC.EXE: Operation Successful.

C:\Windows\System32>reagentc /setreimage /path R:\Recovery\WindowsRE /target C:\
Windows
REAGENTC.EXE: The Windows RE image cannot be stored in the specified volume. Use
 the RETAIN command in DISKPART to prepare the volume and try again.

C: is the VHD, while R: is a physical partition on the drive...

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume2
path                    \EFI\Microsoft\Boot\bootmgfw.efi
description             Windows Boot Manager
locale                  en-us
inherit                 {globalsettings}
bootshutdowndisabled    Yes
default                 {current}
resumeobject            {95ef86cd-45dc-11e4-8ae4-0090a9b7bb54}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
-------------------
identifier              {2a0ebf30-44fa-11e4-ac0f-0090a9b7bb54}
device                  ramdisk=[R:]\Recovery\WindowsRE\Winre.wim,{2a0ebf31-44fa
-11e4-ac0f-0090a9b7bb54}
path                    \windows\system32\winload.efi
description             Windows Recovery Environment
locale                  en-US
inherit                 {bootloadersettings}
displaymessage          Recovery
displaymessageoverride  Recovery
osdevice                ramdisk=[R:]\Recovery\WindowsRE\Winre.wim,{2a0ebf31-44fa
-11e4-ac0f-0090a9b7bb54}
systemroot              \windows
nx                      OptIn
bootmenupolicy          Standard
winpe                   Yes

Windows Boot Loader
-------------------
identifier              {current}
device                  partition=C:
path                    \windows\system32\winload.efi
description             Windows Server 2012 R2
locale                  en-us
inherit                 {bootloadersettings}
isolatedcontext         Yes
allowedinmemorysettings 0x15000075
osdevice                partition=C:
systemroot              \windows
resumeobject            {95ef86cd-45dc-11e4-8ae4-0090a9b7bb54}
nx                      OptOut
detecthal               Yes


Device options
--------------
identifier              {2a0ebf31-44fa-11e4-ac0f-0090a9b7bb54}
description             Windows Recovery
ramdisksdidevice        partition=R:
ramdisksdipath          \Recovery\WindowsRE\boot.sdi

(of course when the system is examined from booting with WINPE, it becomes more clear that C: is [VHD])

Is this impossible to do?  I was thinking that even if I got BCD to change and boot to Recovery, it has references to the systemroot and path (\windows\system32\...) which are in the VHD.  Am I able to get BCD to "mount" the VHD and then boot from the Windows Recovery Environment partition?

My only other option it seems is to just remove Recovery entirely, and make recovery media on USB or CD.....

Dart tool not added in MDT 2013 deployment workbench

$
0
0
Hi, I have MDT 2013 installed, copied tools.cab for Dart 6.5 in the C:\Program Files\Microsoft Deployment Toolkit\Templates\Distribution\Tools\x86 and C:\Program Files\Microsoft Deployment Toolkit\Templates\Distribution\Tools\x64 folders. x86 version can in x86 folder and x64 in x64 folder. However, I don't see dart tools in the WINPE Features packs in the deployment share properties. I need to deploy Windows 7. Can someone suggest what is wrong? I have tried copying the dart tools.cab files for dart 6.5 7.0 and 8.1 without success.

MDT customsetting

$
0
0

hello

i want to know Under [settings] of customsetting.ini what is the meaning of

Properties=MycustomProperties and how do i configure it?

thank you 

Import settings to another

$
0
0

I have two servers with two deployment share.What should I do if I want to import ones settings to another share without write those same things such as "if statement words" again.

Thanks





MDT 2012 - Will not continue after Windows 8 x86 LTI Deployment First Logon - FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object

$
0
0

I've looked at all the other threads I could find in Technet that look close to this issue.

In my BDD.log, the last entry is "FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object" right after "RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll""

I have the following:

  1. C:\_SMSTaskSequence folder
  2. C:\MININT folder    
  3. LiteTouch.wsf link under the Startup Folder
  4. Deployment share is mapped properly
  5. System logs in automatically as local administrator

Even with this, it does not automatically resume the imaging job. I do not understand why it is not continuing.

If I launch the LiteTouch.wsf from an Admin elevated cmd window, the Task Sequence resumes like nothing was wrong.

Any guidance is appreciated!


EDIT1: I changed my customsetting.ini file to join a workgroup instead of the domain and it appears to be continuing without issue now. Is there something I am missing as to why it does not automatically run when it joins to a domain?

Mdt set proxy-server

$
0
0

Hi,

Please advise howto set a proxyserver in MDT. I used a configuraiton script but that did not work:

http://myitforum.com/cs2/blogs/cnackers/archive/2010/11/30/microsoft-deployment-toolkit-using-the-mdt-windows-update-tasks-in-image-engineering.aspx

Tried via add registry, tried via netsh winhttp set proxy but those did not work either. Tired of looking/trying. No errors but the proxy just doesnt appear. Just need a rock solid command that works. Don't want to do it via GPO (Windows updates should occur during task sequence and besides I don't want to depend on a gpo during ts, after ts I still can set/correct  it).

Please advise.

J.


Jan Hoedt

Edit unattend.xml file - No catalog, 64bit install.wim on 64bit 8.1 EnterpriseOS

$
0
0

Environment:

OS the MDT is installed on: Server 2012 R2 Datacenter x64 

OS I am attempting to image: Windows 8.1 Enterprise x64

Logged on with user that is domain admin as well as explicitly added to the local administrators group. 

I'm trying to edit the unattend.xml file within Deployment Workbench on a task sequence.  It is coming up with an error message as follows: 

PROGRESS: 10: Mounting Windows image: E:\images\Operating Systems\Surface 8.1 Ent Base Image\Sources\install.wim. This might take a few minutes.
ERROR: Unable to generate catalog on E:\images\Operating Systems\Surface 8.1 Ent Base Image\Sources\install.wim: System.ComponentModel.Win32Exception (0x80004005): The process cannot access the file because it is being used by another process
   at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PreCreateCatalog()
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
   at Microsoft.BDD.Catalog.Program.DoCatalog()

And then a dialog comes up with not being able to create a catalog file. 

I've used handle to find out if there is a currently open lock on the file, and the only listed is for the deployment workbench (the mmc process itself). 

I've tried to use the Windows System Image Manager to create the catalog file which comes up with a different error message,  16:12 : System.ComponentModel.Win32Exception (0x80004005): A required privilege is not held by the client. 

I then tried rebooting the machine and launching the commands manually by using powershell (as admin)

Import-Module "C:\Program Files\Microsoft Deployment Toolkit\bin\MicrosoftDeploymentToolkit.psd1"
get-MDTOperatingSystemCatalog -ImageFile "E:\images\Operating Systems\Surface 8.1 Ent Base Image\Sources\install.wim" -Index "1"

which has come up with the same message, (0x80004005): The process cannot access the file because it is being used by another process.  

As a test I gave the user account every permission in user rights assignment after seeing the message in WSIM, and this still occured.

Can anyone give some steer as to what may be the issue here, please? 

Thanks.



Run custom vbs before chosing task sequence

$
0
0

I want to load custom vbs script before selecting task sequence to display hardware info like CPU ram ...

What will be the best practice to run *.vbs - do I add that to Lite Touch.wsf

I did try to add:

Dim objShell
Set objShell = Wscript.CreateObject("WScript.Shell")
objShell.Run "msg.vbs"

to Lite Touch.vbs file, byt no msg is displayed

MDT 2013 rules by SequenceID Does not work

$
0
0

Hello, 

Im having an issue with MDT 2013 Custom Settings
In 2012 U1 I used the following lines to enable diffrent rules set to diffrent Task Sequences but in 2013 it's just doesn't work

"
[Settings]
Priority=TaskSequenceID, Default

[Default]
Skip1=YES

[TaskID]
Skip2=YES
"

The Problem is that Skip1 get's skipped but Skip2 does not,
All the rules which are not under Default are ignored.

I temporary resolved it by puting only one task, and all the rules are in the Default rules but I must get it working like in 2012.

Thank you!

enable Dictiories in OCT Office 2013

$
0
0

I tweaked O2013 in OCT and placed it to Applications in MDT..

Didn't note, but users complain about missing Dictionary. O2013 is French .

The only components enabled are: Word, Excel, PP.

Where to enable ?

Thx.


"When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

Cannot find the script file "c:\ltibootstrap.vbs"

$
0
0

Looked around for those with the same problem, only to find the only one that's resolved isn't relatable.

I'm trying to deploy a Windows 8.1 installation iso image (so not captured from a machine), and everything works as expected until near the end when the error "Cannot find the script file c:\ltibootstrap.vbs" shows, and it doesn't install the applications I've specified, so they have to be done manually. The operating system is working, however it automatically boots to the local administrator every time, and for the purpose of the machine this should not be happening.

Windows 7 deployment does not have this issue.


This issue has also only occured since I've switched domain, however the files are identical.

MDT: howto prevent ts from resuming?

$
0
0

Hi,

I'm testing a depoy on MDT, sometime I need to interrupt the ts and start from scratch. Then I always need to remove the harddisk (vmware) and start all over. There is a tasksequence step which formats the drive but this happens once the specific ts is started.
How can I make sure the drive(s) is(are) formatted before starting the ts?

J.


Jan Hoedt

Configuring Local Group Policy - Windows 8.1

$
0
0

I'm creating a reference Win 8.1 image that I'd like to remove the App Store icon from it's home on the Task Bar. The Group Policy setting mentioned in the article below works perfect.

http://blogs.technet.com/b/askds/archive/2014/09/09/managing-the-store-app-pin-to-the-taskbar-added-in-the-windows-8-1-update.aspx

I can stop my Task Sequence and manually run gpedit.msc to make the GP setting change but I wonder if there was an easier way to do this prior to capturing the image?


Orange County District Attorney

Keep windows key after deployment?

$
0
0
Ok so we have these machines from lenovo that come downgraded from Windows 8 to Windows 7. I want to load my personal windows 7 image with all my programs installed and everything. But how can I keep the same key the maching has but for my image?

MDT install application fails

$
0
0

Hi,

I'm trying to copy cmtrace to c:\windows\system32 on a Windows 2012 server as part of a task sequence.

This is the applicaton quiet install line in MDT: xcopy cmtrace.exe "c:\windows\system32" /E /C /I /Q /H /R /Y /S

It looks like it's succeeded but it is not.
This is the logfile:

Validating connection to \\myserver\data\MDT\share\Applications\Install - Microsoft CMTrace    ZTIApplications    30/09/2014 17:52:32    0 (0x0000)
Mapping server share: \\myserver\data    ZTIApplications    30/09/2014 17:52:35    0 (0x0000)
Already connected to server myserver as that is where this script is running from.    ZTIApplications    30/09/2014 17:52:35    0 (0x0000)
        Change directory: \\myserver\data\MDT\share\Applications\Install - Microsoft CMTrace    ZTIApplications    30/09/2014 17:52:35    0 (0x0000)
        Run Command: \\myserver\data\MDT\share\Tools\X64\bddrun.exe xcopy cmtrace.exe "c:\windows\system32" /E /C /I /Q /H /R /Y /S    ZTIApplications    30/09/2014 17:52:35    0 (0x0000)
ZTI installing application     ZTIApplications    30/09/2014 17:52:35    0 (0x0000)
Event 41031 sent: ZTI installing application     ZTIApplications    30/09/2014 17:52:36    0 (0x0000)
About to run command: \\myserver\data\MDT\share\Tools\X64\bddrun.exe xcopy cmtrace.exe "c:\windows\system32" /E /C /I /Q /H /R /Y /S    ZTIApplications    30/09/2014 17:52:36    0 (0x0000)
Command has been started (process ID 1084)    ZTIApplications    30/09/2014 17:52:36    0 (0x0000)
ZTI Heartbeat: command has been running for 0 minutes (process ID 1084)    ZTIApplications    30/09/2014 17:52:36    0 (0x0000)
Event 41003 sent: ZTI Heartbeat: command has been running for 0 minutes (process ID 1084)    ZTIApplications    30/09/2014 17:52:37    0 (0x0000)
ZTI Heartbeat: command has been running for 5 minutes (process ID 1084)    ZTIApplications    30/09/2014 17:57:00    0 (0x0000)
Event 41003 sent: ZTI Heartbeat: command has been running for 5 minutes (process ID 1084)    ZTIApplications    30/09/2014 17:57:00    0 (0x0000)
Return code from command = 0    ZTIApplications    30/09/2014 17:59:11    0 (0x0000)
Application Install - CMTrace installed successfully    ZTIApplications    30/09/2014 17:59:11    0 (0x0000)

Please advise.
J.


Jan Hoedt

Change a Local GPO in My Image

$
0
0

I created a local GPO to put our company logo on the desktop when my systems are imaged.  Now they no longer want this logo on the desktop and only want the generic Windows desktop on the workstations.  Is there a task sequence that I can create to run to modify the wim and remove the company logo without having to recreate a new image.  I'm using MDT 2013 and this is on a Windows 7 system. 

Viewing all 11297 articles
Browse latest View live