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

Failure (5627) : 10737415 0xC0000135: Run DISM.exe

$
0
0

Dear All , 

Kindly Assist causing of failure when deploy OS , i googling but cannot find the solution. 



Best Regards, Hussain



Disabling Windows Defender in Windows 10 during image creation with MDT

$
0
0

As customer wants to add Symantec Endpoint Protection (SEP) as AV solution for Windows 10 and to do so, I am thinking to bring the below steps in MDT to deal with Windows Defender and to do image creation –

  1.       A step will be added to disable Windows Defender service (SC stop windefend)
  2.       A registry key will be imported as application to disable Windows Defender though registry –

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]

"DisableAntiSpyware"=dword:00000001

"DisableRoutinelyTakingAction"=dword:00000001

SEP client will not be part of core image and will be added though SCCM TS as an application.

Please suggest if the above mentioned approach can be followed.

Thank you.

technical document for MDT

$
0
0

Hi,

kindly share a technical document website to learn end to end about MDT.

regards,

boopathi

Windows 10 1607 (slipstream) inject last cumulative update

$
0
0

Hello everybody,

For my W10 MDT deployement I want inject last cumulative update for Windows 10 1607 :
https://support.microsoft.com/en-us/kb/3201845

I use DISM V10 for inject cab in WIM :
.\DISM /Mount-Wim /WimFile:install.wim /index:1 /Mountdir:TempWim
.\DISM /image:TempWim /Add-Package /Packagepath:KB.cab
.\DISM /Unmount-Wim /Mountdir:TempWim /commit

But in WSUS MDT task sequence the KB3201845 are download again and re-apply !
It's take less time of full install but I don't understand :(

Why the KB are download and install again while it is already included in the install.wim ?

Thanks :)


Surface Pro 4 PE touchscreen drivers

$
0
0

I everybody,

I search touchscreen driver for Surface Pro 4 for WinPE environement.

Please help me :)

Thanks :)

ZTI error opening SQL connection: Cannot open Database

$
0
0

Hello together,

I have a problem when using a SQL Express 2008 DB with MDT 2010. The Workbench connects fine to the DB and I can edit variables, but after successful imaging a machine I get following final error messages:

ZTI error opening SQL connection: Cannot open Database "MDTXP" by the requested login. The login failed. (-2147467259)

This error occurs for all Priority Setting Variables.

...and the custom settings I set like computername for a specific MAC address does not get applied.

What do I need to do to get this fixed ?

Thank you,

Marcel


My Virtual MCP Business Card : https://www.mcpvirtualbusinesscard.com/VBCServer/MGlaser/interactivecard

Launching LiteTouch.vbs via batch file

$
0
0

Hello,

I was wondering if there's a way to LiteTouch.vbs via  file, having the credentials and domain pop-up post prior to the device rebooting and going into WinPE when doing a PC refresh. 

I am using this as my batch file: 
start \\MyServer\MyLocation\Deployments\Current\Scripts\litetouch /user:username password

When I run this file (I am RDP'ed to the PC that I run the batch file from) it does start the bootstrap and starts off at where you name the PC, then pick the tasksequence and then it kicks off the initial refresh by rebooting the PC. WinPE then comes up and prompts me for credentials to continue with the image/refresh. Once I input working credentials, the rest of the LiteTouch process continues.

What I would like is that prompt screen to input creds to come up with I am on the device that I ran the batch file from prior to rebooting so I do not have to enter them at the PC.

I have seen this done in the past at my previous employeer but I was not a part of the WDS / MDT (actually they used SCCM) team and never took the time to look at the .bat file they had setup for us to use. Everything that I have  with WDS and MDT at this company in the past year has been self-taught so I do apologize if this is a simple task.  


Capture Image is missing from MDT 8443

$
0
0
After upgrading to MDT version 8443, Capture Image is no longer showing on the deployment wizard. This was working fine on previous MDT build 8330. ADK 4393 is installed, and was installed with MDT 8330, all working fine. Created a new Sysprep and Capture task sequence, did not resolve. Checked customsettings.ini, SkipCapture=NO has not changed. All deployments are working fine on the 8443 version, except for Capture. The only change to my MDT server was the 8443 update. The capture image does not show, this is what I get instead with a Sysprep and Capture task:

Moving device to new OU powershell command

$
0
0

Trying to run the following PowerShell script:

t-Variable -Name SBSComputers -Scope Global -Force
 Set-Variable -Name Test -Scope Global -Force

 cls
 Import-Module activedirectory
 [string]$NewOU = "OU=Test,OU=This,OU=Computers,OU=That,DC=Mic,DC=Micsite,DC=com"
 $CurrentOU = get-adcomputer $env:computername
 Write-Host "Computer Name:"$env:computername
 Write-Host "Current OU:"$CurrentOU
 Write-Host "Target OU:"$NewOU
 Move-ADObject -identity $CurrentOU -TargetPath $NewOU
 $CurrentOU = get-adcomputer $env:computername
 Write-Host "New OU:"$CurrentOU

The Task Sequence I used was the Run PowerShell Script and pointed the script to its location on a shared drive.  The MDT completes as normal with the exception of 18 warnings that are all due to the PowerShell script failing.

These are the results:

The term 't-Variable' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At \\test\Deployments\PowerShell, Scripts, Tools\PowerShell\MoveOUSupport.ps1:1 char:1+ t-Variable -Name SBSComputers -Scope Global -Force
ObjectNotFound: (t-Variable:String) [], CommandNotFoundException
At line:9 char:1+ $Host.UI.RawUI.SetBufferContents($rect, $space)+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NotSpecified: (:) [], MethodInvocationException
The specified module 'activedirectory' was not loaded because no valid module file was found in any module directory.
At \\test\Deployments\PowerShell, Scripts, Tools\PowerShell\MoveOUSupport.ps1:5 char:2+  Import-Module activedirectory +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ResourceUnavailable: (activedirectory:String) [Import-Module], FileNotFoundException
The term 'get-adcomputer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At \\test\Deployments\PowerShell, Scripts, Tools\PowerShell\MoveOUSupport.ps1:7 char:15+  $CurrentOU = get-adcomputer $env:computername+
ObjectNotFound: (get-adcomputer:String) [], CommandNotFoundException
Computer Name:


283X7V1
Current OU:

Target OU:


OU=Test,OU=This,OU=Computers,OU=That,DC=Mic,DC=Micsite,DC=com
The term 'Move-ADObject' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At \\test\Deployments\PowerShell, Scripts, Tools\PowerShell\MoveOUSupport.ps1:11 char:2+  Move-ADObject -identity $CurrentOU -TargetPath $NewOU+
ObjectNotFound: (Move-ADObject:String) [], CommandNotFoundException
The term 'get-adcomputer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At \\test\Deployments\PowerShell, Scripts, Tools\PowerShell\MoveOUSupport.ps1:12 char:15+  $CurrentOU = get-adcomputer $env:computername+
ObjectNotFound: (get-adcomputer:String) [], CommandNotFoundException
New OU:


TSHOST: Script completed with return code 0

Any help would be appreciated. Please let me know if you need additional information.

Thanks.

USMT office 2016 migration issue

$
0
0

I am using USMT 5.0 for profile setting migration from Win7 64 bit to VDI Win10 64bit version. My Win7 office version is Office 2010 32bit & Win10 office version is Office 2016 32bit. After loadstate process finish, no error code return, but ms office setting didn't apply in destination computer, i found that the registry didn't restore to office 2016 location (HKCU\software\microsoft\office\16.0\) and the outlook profile registry still in office 2010 registry location (HKCU\software\microsoft\windows NT\currentVersion\Windows Messaging Subsystem). 

Any modification for the migapp.xml for fix this problem?

Thanks!

Visual Studio 2015 unattended installation

$
0
0

Hi, im trying to install visual studio 2015 as an application in MDT, i have extracted the vs2015 iso and imported it as an application. i have copied in an adminxml file, and set the command line to this vs_enterprise.exe /adminfile D:\Applications\Microsoft Visual Studio Enterprise 2015 Update 1\adminfile.xml /quiet /norestart.  The server have 3 drives C, D and E. The application folder that visual studio is in drive D. But it wont work when i try to deploy a machine. ANybody have any idea what might be wrong. It does not install at all.


Cannot find C:\LTIBootstrap.vbs

$
0
0

I am getting an error at the end of a Sysprep and capture TS, after sysprep runs and when the machine boots Windows 7 for the first time. It says "Can not find script file "C:\LTIBootstrap.vbs".  If I click ok the desktop is displayed.

I'm not sure if it's related but previously I had captured an image of this machine using a custom TS that only captures and does not sysprep, here's the TS:

When I was ready to sysprep I created a sysprep and capture TS, ran that, the machine uploads, reboots and then I get this error.

MDT 8443: Invalid DeploymentType value "" specified. The deployment will not proceed.

$
0
0

I previously had MDT 2013 Update 2 installed, and upgraded to MDT 8443. I'm using ADK Win10 1607 with Windows 10 as the file server. This has been working for over a year now.

I upgraded the MDT software and updated my deployment share and litetouch WIM. I deployed my litetouch WIM to our WDS and booted off it.

Now, no matter what Task Sequence I select, after the "Ready to begin" screen, I get the following error:

Deployment Error
"Invalid DeploymentType value "" specified. The deployment will not proceed."
[OK]

I've tried every Task Sequence, I even built a new Task Sequence, I get thesame issue. I've tried manually specifying the "DeploymentType" various in both my bootstrap and in the Task Sequence itself, with no improvement.

I am currently completely down and unable to image systems.

==RULES==

[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
SkipBDDWelcome=YES
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipDomainMembership=NO
JoinDomain=domain.com
EventService=http://computer:9800

==BOOTSTRAP.INI==

[Settings]
Priority=Default

[Default]
_SMSTSOrgName=Running %TaskSequenceID% on %OSDComputername%
SkipBDDWelcome=YES
DeployRoot=\\computer\DeploymentShare
OSDComputerName=DAL-%SerialNumber%

SkipDomainMembership=NO
JoinDomain=domain.com
UserDomain=domain.com

SkipLocaleSelection=YES
UILanguage=en-US
UserLocale=en-US
KeyboardLocale=en-US

HideShell=YES
FinishAction=REBOOT

SkipTimeZone=YES
SkipLocaleSelection=YES
TimeZoneName=Central Standard Time

SkipFinalSummary=YES

Deploying W10 to UEFI machine

$
0
0

Hi everyone,

I have an issue where my deployments don't seem to be finishing on UEFI-based PC's. The task sequence will run through as normal, but will stop with a blank summary screen, and none of my applications have been installed. The sequence technically may "complete" though, as the final cleanup step of moving the MININT and SMSTASKSEQUENCE logs to c:\Windows\temp\logs\deploymentlogs is done.

  • I first thought this was a Dell/driver issue, as that's the first laptop it happened on. I experienced the same problem on an HP 800G2 Desktop in UEFI mode.
  • HIDESHELL=YES -is- in my customsettings.ini file, but if I remove it, all my deployments fail with all sorts of strange issues. Flickering screen, frozen on black screen, etc. even on non-UEFI computers.
  • In my logs, for software installations, all it says is "Error installing {name of application}: the system could not find the file specified"
  • I used MDT2013 Update 2, with a fully upgraded deployment share to the latest PE10 version.
  • W7 Machines work just fine in UEFI, as does W10 in legacy mode. Our new dells have M-PCIE SSD's and NEED to be run in UEFI for the drive controller to work.

I have a test machine set aside, I can provide any logs or files needed. Originally posted in Win10 forum, and they recommended I seek help in MDT forums instead.

Has anyone else had a similar issue?  Thank you,

Disk(0) was not found.Unable to continue error in windows 7 sp1 imaging-Thinkpad P50

$
0
0

I am getting below when trying to pxe boot in thinkpad P50 model.latest storage drivers from vendor site has been imported and updated in the deployment share.pls guide me to fix this error.

make:Lenovo Thinkpad P50

<label class="ng-isolate-scope" l-translate="MTMLabel" style="box-sizing:content-box;border:0px none;font-family:museo_sans300;font-feature-settings:inherit;font-kerning:inherit;font-size:13px;font-variant-numeric:inherit;line-height:inherit;margin:0px;padding:0px;vertical-align:baseline;">Machine Type</label>20EN001RUS

winpe version:4.0

secure boot option in bios diabled.

uefi/legacy option both option enabled in BIOS.




Nisajudeen


Multicast problems

$
0
0

We has set up multicast and it technically works successfully, but is way too slow.  We could deploy multiple systems back to back without using multicast in less time than deploying 2 systems simultaneously with multicast enabled.

The MDT/WDS server is a Hyper-V VM.

Is there anything that needs to be done on the MDT Hyper-V VM or the Hyper-V host to optimize multicast?

Does anything need to be done with the boot image to make multicast work better?

What kinds of network issues would allow multicast to work, but work very slowly compared to unicast on the same network? 

HP Spectre x360 Image Capture and Deployment

$
0
0

Hi Guys

So I've just been given a selection of HP Spectre x360s and I'm looking to create a standard image on one and then replicate it to the other machines. I've set-up one as I'd like it already.

I believe I've set up the Capture and Sysprep task properly in MDT 2012 but I'm unable to get the LiteTouch script to run properly when I'm on the Laptop in question; I'm not given the option of Capturing an image, only Backing one up.
When I try and boot MDT from my USB I'm prompted to Capture the image, but it fails with error '[FAILURE ( 5456 ): Unable to determine Destination Disk, Partition, and/or Drive'

Please assist

Thanks
Mark

WDS - BIOS and UEFI PXE support

$
0
0
I've asked this in the past with not much traction. I've never got PXE with UEFI to work correctly. I have an IP helper on gateway. What settings do I need to change on WDS to be able to have support to PXE boot and image PCs that are BIOS and UEFI? MDT 2013 Update 1.

How is the Administrator account disabled?

$
0
0

I was capturing an image and it failed at some point during the sysprep function as i think i've hit the limit.

I just left my build logged in as the Administrator but it apparently timed out and now i can't get back in to it.

Just curious what actually happened.


~if this were /. this sig would be funny

Sysprep limit - some questions

$
0
0

Is there any way to avoid the sysprep limit? Is there an option in the unattend file?

Should I not have registered Windows? I don't think I was able to install (or check) for updates until I validated Windows.

I would like to keep a VM around of my basic build and run updates on that VM periodically, and then peel an image off as needed (rather than, you know, actually using MDT as it was meant). And while I realize that MDT isn't meant to be used like that, I don't see why I couldn't. Or is that the entire point? To prevent people from doing it my way?


~if this were /. this sig would be funny

Viewing all 11297 articles
Browse latest View live


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