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

deployment Error 5206

$
0
0

when I deployed a image, I got this error on the last part of the deployment process. What causes this error.

error: 5206

The Deployment Wizard was canceled or did not complete successfully. The deployment will not proceed.

Will this cause any other issues?


A connection to the deployment share could not be made. The deployment will not proceed.


MDT 2013 Windows 7 Enterprise error while sysprep - "The computer restarted unexpectedly or encountered an unexpected error."

$
0
0

Hi

i have a problem with staging Windows 7 Enterprise x86 and x64 version (by the way, Windows 7 Professional x86 and x64 works like a charm). Here are some informations regarding my environment:

 

  • Server:                     Microsoft Windows Server 2008 R2
  • MDT Version:  Microsoft Deployment Toolkit 2013 (6.2.5019.0)
  • Clients:                     Dell Latitude xxxx (error logs and messages in this threat are from an Dell Latitude E7450)

The strange thing is that sometimes the installation works without any problem (about 30%) but mostly the installation fails with following error message while sysprep (so on first reboot after installation):

Install Windows

"The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed. To install Windows, click "OK" to restart the computer, and then restart the installation."

i did a lot of reseach but without any success:

  • added patch KMDF-1.11 with dism to the .wim image
  • added patch UMDF-1.11 with dism to the .wim image
  • added patch KMDF-1.11 to "Packages" in MDT
  • added patch UMDF-1.11 to "Packages" in MDT
  • HKLM/SYSTEM/SETUP/STATUS/ChildCompletion Setup.exe set to 3 but then sysprep is not completed successfully

If you need  any log-file feel free to ask me about it and i will provide it to you. Due to my account not being verified i have to upload the logs somewhere and send you a link. I hope you can help me with this problem.

Many thanks!




Deploy Pre/Post Windows Updates in a Task Sequence

$
0
0

I am trying to use the pre and post install task sequences to install windows updates for Windows 10 using MST 2013 U1. 

I have my customsettings.ini file pointing to our WSUS server. When I watch the deployment I can see the task sequence reaching for updates, finding them and it appears to down them pre and post - but it never installs. Once the deployment is finished if I search for updates all the updates are there and not installed. 

I have tried to research this but all I can really find is information regarding using SCCM for deployments and not much about MDT. Is there something specific I need to have configured on the WSUS server as well? Thanks 

MDT 2013 Update 1 - Cannot deploy Windows 7 32-bit

$
0
0
This is an odd one, and I've spent a week on it and can't figure it out.  I have MDT 2013 Update 1 set up and configured.  I have drivers imported for all of my system models.  I can deploy Windows 7 64-bit without any issues.  However, whenever I try to deploy the 32-bit OS (using the same deployment share, same drivers, etc), I run into problems.  I can get to WinPE, run through the deployment wizard, and start the deployment.  The image lays down fine, the system reboots, then gets to a Windows desktop, and I get the "A connection to the deployment share could not be made" window, indicating that a networking device did not have a driver installed.  I have verified multiple times that I have the 32-bit Windows 7 driver for the network adapter in both my main driver store, and my WinPE drivers.  I verified that the driver is injected into the boot ISO (and wim), and I have completely regenerated the boot images multiple times.  I also have verified that the drivers needed exist under C:\Drivers.  There are no differences between the 32-bit deployment and the 64-bit other than the version of the OS.  Does anyone have any idea how to get past this issue?  I've been pulling my hair out on it for a week now.

Setting variables based on task sequence

$
0
0

I need to set my MDT 2013 U1 deployment share up so that if I choose a specific task sequence the wizard will prompt for a computer name, domain to join, domain admin etc, but in all other cases I do not want to be prompted and skip these things.  After following the instructions I've found online I still can't get it working.  This is what I'd like:

Priority=TaskSequenceID,Default

[TaskSequence001]
SkipComputerName=NO
SkipDomainMembership=NO
JoinDomain=DomainName
DomainAdmin=DomainName\DomainJoinUser
DomainAdminPassword=password

[Default]
SkipComputerName=YES
SkipDomainMembership=YES

With the setup above the computer name and domain join info is always skipped even when I choose TaskSequence001.  I've also read that what I want to do could be accomplished in the task sequence itself, and I'd prefer that method if possible, but I can't get that to work either.  Please help me out.



MDT 2013 Update 1: Batch files are searched in C:\Windows\System32, not in application directory

$
0
0

I have multiple applications in MDT that use batch files for installation. They all do not work anymore since we upgraded to MDT 2013 Update 1 (it was still working in the preview version).

I used Procmon and found that, when the installation command is "batchfile.cmd", BDD.EXE opens a process "c:\windows\system32\cmd.exe /c batchfile.cmd", and then that CMD process looks for

  • C:\Windows\batchfile.cmd
  • C:\Windows\System32\batchfile.cmd
  • C:\Windows\System32\wbem\batchfile.cmd
  • C:\Windows\System32\WindowsPowerShell\v1.0\batchfile.cmd

and then exits with error code 1.

Obviously CMD.EXE is executed in C:\Windows\System32, not in the specified working directory. It has been working in MDT 2012, MDT 2013, and MDT 2013 Update 1 Preview.

PowerShell Winform Application does not show up ... No Errors Message - Task Sequence is Stopped

$
0
0

Hi Posh Scripting Gurus,

I build a simple Powershell Application to replace the Default WinPE/MDT 2013 Wizard with an Enterprise Custom one.

The Application Run Successfull on Windows 7 x64 Plateform using PowerGUI as Editor.

The Application Runs also when launched using the Powershell Icons.

When I Integrate this PowerShell Winform in my MDT Task Sequence Using Run Powershell Script the TS Run till this step and ...

Nothing append. No Form is displayed and the TS Hang.

I Already developped PowerShell Winform Application for use in our Deployment ENvironment and evan a complex PowerShell Winform Script is runing like a charm under WinPE 5.0

Form is created under Visual Studio 22015 and converted to Powershell Using ConvertForm Cmdlet.

For information : All Required Modules are integrated during the Media Creation (PowerShell, .Net Framework)

I Checked the WEB to find if there is any limitation for WinForm Apps under WinPE but the Information I found does not help.

Does anyone experiment the same trouble ? How does it had been solved ?

Any help appreciated

Regards,

Luc CHEVRY


dirty environment

$
0
0

While end of install, the setup starts deploying apps, first apps name comes on the install and then, the setup does restart. 

Then comes up. dirty environment, do i wanna start over or not and i click no, and then it starts again with the first app that made restart and goes on, installing them on fresh "client" computer. And then installs them on, no errors or warnings

So, how or what do i need to do to remove that dirty env problem and restart(Guessing the restart makes it "dirty")? 

I changed the app in task seq but still same, i also removed and added again the first app, same. So, whats with the random restart just before/during first app install?

BDD log : https://onedrive.live.com/redir?resid=8F390ABF958ECF54!2105&authkey=!AFtfuTXTIsIzQNU&ithint=file%2clog



Cpu is pinned at 100% while running Windows Update (Post-Application Installation) task

$
0
0

I'm deploying Windows 10 to a vm in order to capture an image and my vm has been sitting at the Windows Update (Post-Application Installation) task installing Security Update for Microsoft Publisher 2013 (KB3085561) 32-Bit Edition for over an hour.  I've been testing this task sequence, on vms and physical machines, over the last week and this is not the first time I've seen this issue, it doesn't seem to be specific to this update, I've seen it with other updates but the issue is always the same, the cpu is pinned at 100%.  I've even let a physical machine sit overnight and it was still sitting there 17 hours later.  If I reboot the vm or physical machine it does seem to continue on after the reboot but rebooting causes MDT to complain obviously.

Is there something I can do here?

EDIT:  I should add that these machines are going to the Internet to get updates, not a local WSUS server

Win 10 Build 1511 autologin issues when domain joined

$
0
0

I'm having issues with the autologin as administrator after imaging is done as part of the task sequence.  I have a standard task sequence that deploys Windows 10 build 1511 and after the image is applied the computer reboots to start the "State Restore" part of the task sequence and after booting up it just sits at the login screen for Other User.  If manually login as the administrator it then works and continues the boot process.  I am trying to get the autologin as admin to work once so the applications can be installed after the image is applied.  I have tried both a captured image of 1511 and the direct CD wim with the same results.

I have had success with getting the autologin to work with build 1511 only if during the deployment process i select to join a workgroup andnot a domain.  I am also able to use the same task sequence with build 10240 (Win 10 RTM) and select domain join and the autologin works then as well.

Is anyone else running into this issue or have any thoughts on this?  I'm kind of pulling my hair out on this lol


Prevent, or Automate Cleanup of Duplicate Firmware

PowerShell Script to launch a process and keep MDT waiting until it completes.

$
0
0

We use Radia for software distribution.  I need to kick-off a Radia "connect" so it will install software before ending my task sequence.

The way it works, a command line is run to have it call back to the server.  It launches a few different processes, but RADPINIT.exe is the only one that is open for the duration of the package installs, and closes when complete, with a caveat.

This RADPINIT process closes and reopens at the end each package, so my attempts to make MDT wait until RADPINIT closes have not worked.

I got some help from jrv in the Scripting Guy forums, but that forum isn't very kind to scripting novices.  I was essentially kicked out and told to go learn PowerShell better. :)

This is the script he helped me with:

$CMD =  'c:\Program Files (x86)\Novadigm\radntfyc.exe'
$arg1 =  'LOCALHOST'
$arg2 =  'Radskman.exe'
$arg3 =  'cat=prompt,ulogon=n,hreboot=y,context=m,mname=radia,dname=SOFTWARE,ip=radia.domain.com,port=3464,uid=$MACHINE,startdir=SYSTEM,ind=y,cop=y,log=software_connect.log'
$Retries = 5& $CMD $arg1 $arg2 $arg3

Sleep 5
$Retries = 5
while(1){
     if(Get-process Radpinit)
     {sleep 5}
     else{exit}
}

This script has a couple of flaws and if anyone can help me make some modifications I would appreciate it.

What this script does:

1. Starts a While loop.  

2. If Get-Process finds Radpinit it sleeps for 5, then checks again, and again, etc.

3. If it isn't running, it launches my CMD, sleeps 5, then exits.

The first problem is that it launches my CMD AFTER running the while loop (Function before CMD / non-liner script processing).

The 2nd problem is that it doesn't have any method of dealing with the brief period when RADPINIT may be between packages.

What I need it to do:

Essentially, I need to put the While loop, inside a Retry loop of some kind.  But I can't figure it out.  Every example that seems similar doesn't work the way I expect when I try to adapt it to this script.

Run my CMD first, then sleep for 5. (Or just let the proposed retry loop take care of this)

Start the while loop.  If Get-Process finds RADPINIT, sleep 5 and start over.  It it DOESN'T find RADPINIT running,  sleep 5 and try again 3 times.  If found on one of those 3 retries, restart the retry counter.

So, for ex:

1. Script Start

2. Run Radia CMD

3. Sleep 5

4. Start While Loop, Get-Process = RADPINIT running, sleep 5.

5. Restart While Loop, Get-Process = RADPINIT running, sleep 5.

6. Restart While Loop, Get-Process = RADPINIT = NOT running, sleep 5.

7. Retry 1 in While Loop, Get-Process = RADPINIT running, sleep 5.

8. Restart While Loop, Get-Process = RADPINIT = running, sleep 5.

9. Restart While Loop, Get-Process = RADPINIT = NOT running, sleep 5.

10. Retry 1 in While Loop, Get-Process = RADPINIT NOT running, sleep 5.

11. Retry 2 in While Loop, Get-Process = RADPINIT NOT running, sleep 5.

12. Retry 3 in While Loop, Get-Process = RADPINIT NOT running, EXIT.

Any assistance appreciated!

-Matt


There's no place like 127.0.0.1

Cannot connect to Deployment Share

$
0
0

So I have a Windows 7 Pro, image I have created in MDT and I am trying to deploy it to a bunch (well, actually just one at this point) of Lenovo E73 SFF PCs using WDS/PXE.

I created the image working with a VM. I deployed that image to the VM by mounting the ISO. None of the issues I describe below occur in the virtualised build. In fact, that works perfectly. It's once I introduced Hardware that things get complicated.

I can successfully PXE Boot the PCs, and they get an IP address. They load Windows PE. However, I usually get the message "A Connection cannot be made to the Deployment Share" and the message suggests Network Credentials may be the issue.

I have set the credentials in the Bootstrap.ini and quadruple checked that they are correct. What is more odd is that there have been occasions where this message does not appear. Although they are perhaps only 5% of occasions.

When this message appears i will usually hit F8 and enter a net use command to re-enter my credentials. There seems to be three outcomes when I do this. 1. Error 5(?)2 Path Not Found. 2. It works and the install runs as planned. 3. It take my credentials, but MDT will only run very briefly and the PC will restart.

Furthermore, as I mention in "2." above, there are cases whereby the install will run. It installs the OS successfully but not the Applications (presumably because it cannot connect to the network). At the end of the process I am left with the desktop and the message "A connection could not be made to the Deployment Share" and this time it specifies the ID of the "PCI/Ven_10E...etc". I have verified that the drivers I have in MDT have this ID in their supported PNP IDs and imported the Win7 and 8 versions, both x86 and x64 architecture.

Just for the sake of clarity, I am updating the Deployment Share each time (I have tried completely rebuilding it) and updating my boot images in WDS.

I am relatively new to all this. So I it's clearly possible I am doing something basic wrong.

My thinking at this point is that any of the following might be an issue, but I have read so much different articles I just feel a bit overwhelmed.

Also, I also just tested an old HP 3135 I have spare, to eliminate some sort of Lenovo specific issue. On one hand there were none of the issues relating to "credentials". But after running through the task sequence I got the same message, "Cannot connect to the Deployment Share" relating to the Network Driver. I have added the network drivers for the HP to my deployment before proceeding too.


Any advice would be very welcome.

Using multiple Unicasts from MDT issues with 1 account

$
0
0

Is there a way to start several deployments (2-3) from a single user account without it giving that "an existing in-progress deployment was found..." error? I don't want to multicast since the number I want to unicast to is so small. I also don't think that I can convince IT to create a few more AD accounts for me to workaround this issue. Any ideas?

Thanks!

 

MDT2013 PowerShell Winform Application does not show up ... No Errors Message - Task Sequence Hang

$
0
0

Hi Posh Scripting Gurus,

I build a simple Powershell Application to replace the Default WinPE/MDT 2013 Wizard with an Enterprise Custom one.

The Application Run Successfull on Windows 7 x64 Plateform using PowerGUI as Editor.

The Application Runs also when launched using the Powershell Icons.

When I Integrate this PowerShell Winform in my MDT Task Sequence Using Run Powershell Script the TS Run till this step and ...

Nothing append. No Form is displayed and the TS Hang.

I Already developped PowerShell Winform Application for use in our Deployment Environment and even a complex PowerShell Winform Script is runing like a charm under WinPE 5.0

Form is created under Visual Studio 2015 and converted to Powershell Using ConvertForm Cmdlet.

For information : All Required Modules are integrated during the Media Creation (PowerShell, .Net Framework)

Please Note that the PS Script run under a Cmd Windows (<F8>) run correctly on WinPE.

Only the attempts to run it inside a Task Sequence fails. No form displayed.

I Tried to use the Run Command Line and Launched it "PowerShell.Exe -ExecutionPolicy UnRestricted -File %ScriptRoot%\MyScript.Ps1 Same thing appear, no Forms is Displayed.

Please notice that the Script in any attempt run as expected (It close the TSProgressBar) but fails displaying the Form only.

I Checked the WEB to find if there is any limitation for WinForm Apps under WinPE but the Information I found does not help.

Does anyone experiment the same trouble ? How does it had been solved ?

Any help appreciated

Regards,

Luc CHEVRY





WinPE 5 802.1x Support with SCCM 2012 R2

$
0
0

Please see updated information a few posts down.

I am trying to get 802.1x support working to deploy windows 7-8 machines using MDT2012.  I have checked IEEE 802.1x network authenication protocol under features of the deployment share properties.  I am trying to follow the guide on the deploymentguys. I have my files on the boot image and can do a net start dot3svc, we are not using certificates at the moment for our 802.1x so I am skipping that line.  doing a netsh lan add profile filename="X:\8021x\ Local Area Connection.xml " interface="Ethernet2" does work.  I am having a problem with the third step when I run the following command netsh lan set eapuserdata filename=x:\8021x\Wired-WinPE-UserData-PEAP-MSChapv2.xml allusers=yes interface="Ethernet2"  All i get is error setting user data for interface ethernet2, the operation is not supported.

How does one get 802.1x working in WinPE 4.0?

Heres the latest updated in this first post so you dont have to scroll way to the bottom to get the latest relevant information:

So here's the current situation and hopefully someone has seen it before.

My boot image has the prestart command set to x:\8021x\configure8021x.cmd.  If i make a USB boot media this command will run and work with an 8021x wire plugged in.  If I PXE boot with a non8021x wire plugged in this command will run.  If I PXE Boot with an 8021x wire plugged in it does not run the command.  If the boot image gets staged from the windows software center it also will not run my command.

Does anyone know why the staged boot image and booting from PXE are not running my prestart command?  It seems that during PXE and staged boot that the network initializes BEFORE it runs any prestart commands?


Error creating an image of Drive C:, rc =2

$
0
0

Hello, as mentioned in the subject line above, I get the following error when trying to capture an image of my reference computer:

Error creating an image of Drive C:, rc =2
ZTI Error - Non Zero return code by ZTIBackup, rc=2
ZTI ERROR - Non-zero return code by LiteTouch, rc = -2147467259

I've looked at other threads and tried suggestions such as adding the "Set Image Folder" / "Set Image Name" into the Task Sequence, but it solved nothing.

I am running Windows 7 Professional x64 and capturing from a server running MDT 2010.

Would there be anything else that would cause this?


Updated wim file does not join domain/local admin disabled

$
0
0

Let me first explain how i work.

I have VM's where i install windows/updates and some programs.

Then i take a clone of that machine and i run the capture windows through the litescript, and i create a custom .wim file

Then i import the new wim file in MDT and change my tasksequence that it installs the new wim file.

Then i delete the cloned VM as it is sysprepped.

When there are a lot of updates, i start my vm, update windows and make changes if necessary.

Then i clone it again and create a custom wim file

then i import it again in mdt and change my tasksequence.

This always worked, untill my latest updated wim file

When i assign my latest wim file in the tasksequence it hangs on 54% completion and becomes unresponsive in the mdt monitoring.

When i look at the computer where i wanted to deploy the image, the OS has been installed, but it didnt join the domain(which is the next step) and the local admin account is disabled for some reason.

When i assign my previous wim file to the tasksequence everything works again. the installation is 100% complete, it is in the domain, local admin acount is enabled, and all other programs i install with the tasksequence is without fault.

So i am guessing something is wrong with my wim file or i did something wrong in the VM i updated, bu ti have no idea, what i did different then all other times.

MDT 2013 Network Shares

$
0
0

I am deploying a non-domain client and would like to deploy Trend Officescan during the deployment. The trend msiexec is located on a network share. Is there a task sequence to connect to a network share or do I need to create a script to connect to the network share?

Also, I will be using WSUS to get updates on this same machine. Again since this is a non domain joined computer, how do I specify the WSUS server? Some of the forums I have seen mention that I need to manually update the registry to add all of the WSUS parameters. Is this correct?

Image Capture fails on Windows 10 version 1511 build 10586

$
0
0

MDT 2013 Update 1 v.6.3.8298.1000. Windows 10 ADK v. 10.0.26624

Capture fails as Sysprep begins with following error:


Logs located here: http://1drv.ms/1Tn9vTQ

Capturing from a VM (Hyper-V). Previous Windows 10 (Build 10240) captures fine.

I have not updated to Windows 10 ADK version 1511 per Johan’s recommendation (http://deploymentresearch.com/Research/Post/516/New-blog-post-Inside-Windows-10-ADK-Build-10586), and I have seen elsewhere that it is not a requirement to capture/deploy the new Windows 10 1511 version?

I have tried the suggestions listed here, but to no avail: https://social.technet.microsoft.com/Forums/en-US/c549346f-d900-4026-8748-2c4f0dd54a83/mdt2013up1image-capture-fails-on-surface-pro-3?forum=mdt

Is there a fix on the horizon, or another workaround to try?

Viewing all 11297 articles
Browse latest View live


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