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

USMT: Move Certain File Types to Different Directory Leaves a Copy Behind

$
0
0

During loadstate, I'd like to have USMT move all .LNK's on the Desktop into a separate directory; leaving no .LNK files on the desktop.

The XML below will put .LNK files in the specified directory, but it will curiously also leave all the .LNK files on the desktop.  (So I'm left with 2 copies of each .LNK: one in the specified directory & one on the desktop).

<!-- This component migrates Desktop files --><component type="Documents" context="User"><displayName _locID="miguser.desktop">Desktop</displayName><paths><path type="File">%CSIDL_DESKTOP%</path></paths><role role="Settings"><detects><detect><condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_DESKTOP%")</condition></detect></detects><rules><include filter='MigXmlHelper.IgnoreIrrelevantLinks()'><objectSet><pattern type="File">%CSIDL_DESKTOP%\* [*]</pattern></objectSet></include><!-- Move .LNK files --><locationModify script="MigXmlHelper.Move('%CSIDL_DESKTOP%\Old_Shortcuts_1')"><objectSet><pattern type="File">%CSIDL_DESKTOP% [*.lnk]</pattern><pattern type="File">%CSIDL_DESKTOP%\* [*.lnk]</pattern></objectSet></locationModify><merge script="MigXmlHelper.DestinationPriority()"><objectSet><pattern type="File">%CSIDL_DESKTOP% [desktop.ini]</pattern><pattern type="File">%CSIDL_DESKTOP%\* [*]</pattern></objectSet></merge></rules></role></component>

Hoping someone can someone help me better understand what's missing/wrong.

Using USMT 10[.0.10586.0]; Source machine Win 7; Destination Win 10.




MDT 2013 - Sideloaded App fails to run - Windows 10

$
0
0

Hello,
I have followed the instructions for downloading an app from the Store for Business and then separated the dependencies into folders, leaving the unencoded licence and main .appx file in the root of the application folder. This is as per the following article: https://technet.microsoft.com/en-us/library/dn613830.aspx

I followed these steps and the app is available when searching for it in the start menu (though I can't find it without using search). 

However, the problem is it will not run. I searched for the package using Get-AppProvisionedPackage and its a brand new TS using MDT but it doesn't show in the list.

When I pinned the app to the start menu then tried to open it but it sits there with the loading screen bar in the without ever loading. 

Do the dependencies need to be in a certain folder format for each App? Eg I separated them as per the article by "x64" and "x86" but maybe it needs to be in a "Dependancies" folder then separated by architecture.

The app itself is "Collector for ArcGIS" if anyone wants to give it a go.

Thanks.


MDT Database Locations: Default Gateway Settings

$
0
0

Hi,

I'm currently working for a Client, who uses 1.1.1.1 as Default Gateway for his Locations, although the real physical Default Gateway belongs to a 10.x.y.z Network.

How should this work properly or is 1.1.1.1 even a placeholder for any Networks. Are there any other ways to identify the lcoation?

Kind regards,

Thomas


Kind regards, Thomas

Windows 10 Refresh Task Sequence failing

$
0
0

Hello

I have a vanillia windows 10 task sequence, this ts works fine for new computers.

However if i run a refresh ts then it fails with 

bdd.log shows this

Failure (5624): 5: Run DISM:/ Apply-Image /ImageFile:"\\name of server\path to install.wim" /Index:1 /ApplyDir:E:

Command completed, return code = -2147467259

Litetouch deployment failed, Return Code = -2147467259 0x80004005

I see a few lines above the error Event 41003 sent: ZTI Heartbeat: command has been running for 0 minutes

consol > Deployment Image Serviceing and Management tool

consol > version 10.0.10240.16384

consol > Error: 5

Consol > Access is denied.

Consol > The Dism log file can be found at x:\windows\Logs\DISM\dism.log

Is this saying its not got access to windows 10 wim file?

Any ideas?

I have regenerated the boot files but still getting the same 

Thanks

mark


MDT 2013U2 Failure Deploying W10 to Dell Latitude E5570 LTIApply.wsf

$
0
0

I have a Production built MDT2013U2 and WDS Server currently deploying W10 to our fleet of Dell Devices, ranging from Dell Latitude's, Optiplex's to the XPS Model. i can deploy W10 to most devices with no problem however the most recent Dell's seem to be having an issue. Rather than finishing with the Summary Window showing a Pass or Fail we get a blank .hta window unable to display the results though i can find the Results.xml to understand if it did indeed Pass or Fail. However the main issue i currently have is the Dell Latitude E5570 is failing on Post-Apply Cleanup (LTIApply.wsf) below is the log from the Results.xml for the true error and codes.

<?xml version="1.0"?>

-<Results><Errors>9</Errors><Warnings>2</Warnings><RetVal>-2147467259</RetVal><DeploymentType>NEWCOMPUTER</DeploymentType>


-<Messages>

-<![CDATA[Litetouch deployment failed, Return Code = -2147467259  0x80004005
Failed to run the action: Post-Apply Cleanup.
Incorrect function. (Error: 00000001; Source: Windows)
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: Post-Apply Cleanup. Execution of task sequence failed.
Incorrect function. (Error: 00000001; Source: Windows)
Task Sequence Engine failed! Code: enExecutionFail
Task sequence execution failed with error code 80004005
SetNamedSecurityInfo() failed.
SetObjectOwner() failed. 0x80070005.
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram
GetTsRegValue() is unsuccessful. 0x80070002.
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]]></Messages></Results>


How to Split Wim in MDT 2013 Update 2? Especially when you deploy on UEFI devices?

$
0
0
I heard that MDt 2013 Update 2 does have the feature of splitting the wim. Can someone help me to understand this?

Unable to capture image c:\LTIBootstrap not found

$
0
0

Had this working flawless and I don't know what has happened - no significant changes have happened.  MDT2031 update 2 - using standard widows 10 enterprise install wim.  Following Deployment Fundamentals volume 6 from Johan (which has worked flawless until now).

my customsettings.ini:

[Settings]
Priority=Default

[Default]
_SMSTSORGNAME=<mycompany>
UserDataLocation=NONE
DoCapture=YES
OSInstall=YES
AdminPassword=<mypassword>
TimeZoneName=Central Standard Time 
JoinWorkgroup=WORKGROUP
SLShare=\\<myserver>\Logs$
;HideShell=YES
FinishAction=SHUTDOWN
;WSUSServer=http://wsus01.corp.viamonstra.com:8530 <not used - I use windows update>
ApplyGPOPack=NO

SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerName=YES
SkipDomainMembership=YES
SkipUserData=YES
SkipLocaleSelection=YES
SkipTaskSequence=NO
SkipTimeZone=YES
SkipApplications=NO
SkipBitLocker=YES
SkipSummary=YES
SkipRoles=YES
SkipCapture=NO
SkipFinalSummary=YES
EventService=http://<myserver>:9800

Using HyperV on windows 10 to create reference image > boot to the build share iso > have a task standard client task sequence I make a couple changes to (install .net 3.5 role - install office 365 2013 bits - do updates for windows update)

The vm boots from the iso fine > I pick the task sequence > it works fine (installs the OS / installs the apps etc)

Problem comes into play right after sysprep runs > system reboots and is supposed to boot into WinPE and perform the capture, however on reboot I get 'can't find c:\LTIBootstrap.vbs' with an OK button > I click the button and windows starts up normally, and goes through initial setup (so I know sysprep ran) and I am sitting there with my image and no captured wim

Anyone have any idea what causes this and how I can fix it, I am slightly new to MDT but over the last 3 months I have been in it every single day and am getting better and better. Any sequence of log files that anyone recommends would be great as well.

Thanks!

Jason

How to enable touchpad on Surface Pro snap on keyboard

$
0
0

Somehow I disabled the touchpad on my keyboard. It doesn't show up under devices. How to I enable the touchpad?


MDT 2013 Update 2 using Standard Client Upgrade Task Sequence. Deploy Upgrade Windows 8.1Pro to Windows 10 Enterprise Failed

$
0
0
https://social.technet.microsoft.com/Forums/getfile/875473

MDT not finishing just a blank Wizard.hta screen

$
0
0

I am using MDT to deploy a Windows 10 image to a Dell latitude 5570. After the imaging process the machine logs into the Administrator account where usually the Deployment Wizard should launch and complete the MDT deployment, following a successful message or errors. However, after the device auto logs into the Administrator account to complete MDT, I am presented with a blank Wizard.hta screen. I followed the path to where the Wizard.hta is launching from and the folder is empty. Folder = C:\Users\ADMINI~1\AppData\Local\Temp\DeploymentScripts\Wizard.hta. It deletes c:\MININT folder so cannot get the BDD.log or the task sequence log.

  • Deploying windows 7 works just fine.
  • The version of MDT is 2013 Update 2

Stuck on "Sysprep is working...Processing generalize phase Sysprep plugins..."

$
0
0

Windows Server 2012 R2

MDT 2013 Update 2

Windows 10 Pro 64-bit

I built a new server, and I was able to install a brand new Windows 10 Pro 64-bit image on a laptop (HP EliteBook 850 G3) with no errors at all.  Although, it was missing 3 drivers (bluetooth drivers, and NXP NewFieldProximity Provider driver, which were later found by a Microsoft update).  I built my reference computer, and then progressed to capturing it by launching LiteTouch.vbs from my deploymentshare$.  It runs successfully until the "Running action: Execute Sysprep" part.  At this point, I am still able to ping the server, and browse to all folders and files in the deploymentshare$.  However, when I look in Device Manager, I don't see any network adapters (except for the MS Kernel Debug Network Adapter).  When I end the SysPrep tool from task manager, I get the following error message: "Can not find script file '\\SERVER\DeploymentShare$\Scripts\LTICleanup.wsf'."  Then I can no longer ping the server or browse the deploymentshare$  I also get the following Deployment Summary:


FAILURE ( 6111 ): 1: Run Sysprep.exeLitetouch deployment failed, Return Code = -2147467259 0x80004005
No networking adapters found,  The network drivers for your device are not present
SetNamedSecurityInfo() failed.SetObjectOwner() failed.  0x80070005.
RegQueryValueExW is unsuccessful.  0x80070002.
Failed to run the action:  Execute Sysprep.Unknown error (Error: 000017DF; Source: Unknown)
The execution of the group (Capture Image) has failed and the execution has been aborted.  An action failed.
Operation aborted (Error: 80004004; Source: Windows)
Failed to run the last action: Execute Sysprep.  Execution of task sequence failed.
Unknown error (Error: 000017DF; Source: Unknown)Task Sequence Engine failed!  Code: enExecutionFail
Task sequence execution failed with error code 80004005
SetNamedSecurityInfo() failed.
SetObjectOwner() failed.  0x80070005.
RegQueryValueEsW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgramGetTsRegValue() is unsuccessful.  0x80070002.
Error Task Sequence Manager failed to execute task sequence.  Code 0x80004005


Can't get a Wifi profile added. Getting an error "Incorrect function. (Error: 00000001; Source: Windows)"

$
0
0
<![LOG[Executing command line: netsh wlan add profile filename="WiFi-burkewpa.xml"]LOG]!><time="08:56:06.678+420" date="06-08-2016" component="TSManager" context="" type="1" thread="4808" file="commandline.cpp:828"><![LOG[Process completed with exit code 1]LOG]!><time="08:56:07.860+420" date="06-08-2016" component="TSManager" context="" type="1" thread="4808" file="commandline.cpp:1124"><![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="08:56:07.860+420" date="06-08-2016" component="TSManager" context="" type="1" thread="4808" file="instruction.cxx:805"><![LOG[Failed to run the action: Add burkewpa. Incorrect function. (Error: 00000001; Source: Windows)]LOG]!><time="08:56:07.860+420" date="06-08-2016" component="TSManager" context="" type="3" thread="4808" file="instruction.cxx:911">
First time playing around with MDT and I'm starting to beat my head against the wall. Using MDT 2013 SP2 to try and deploy Windows 10 to some Surface 3 tablets. Right now I'm battling with getting the wifi profile to add. I found this article http://www.deploymentshare.com/post/how-to-deploy-a-wireless-profile-using-mdt and double and triple checked it. In state restore under Custom Tasks I created a Run Command Line task that runs netsh wlan add profile filename="WiFi-burkewpa.xml" that starts in %deployroot%\Scripts\. In the Scripts folder it has the WiFi-burkewpa.xml file. If the command is run in Windows it works perfectly, but if it runs as part of the task sequence it gives the error listed above in the code block. Any ideas?

SysPrep fails after KB3163018

$
0
0

I can no longer capture an image once KB3163018 is applied.

This update appears to be doing something to Windows 10 built in apps. When this update is installed Sysprep always fails with "<random app> was installed for a user, but not provisioned for all users". I took every precaution to prevent windows from being able to automatically update these apps while building an image. Removing the update from our WSUS server has immediately resolved the issue. Is it possible KB3163018 is updating apps and in such a way that they now interfere with Sysprep?

I've noticed numerous posts on these forums and others complaining of this problem in the past week and some claim it is related to Windows Updates in general but I haven't yet seen KB3163018 cited as the cause (maybe I'm just bad a searching). Am I alone?

MDT 2013 Update 2 and Windows 10 custom image

$
0
0
Is there a supported fix for the Dism return code 50 error when deploying Windows 10 images.

Problems imaging a HP ProBook 650 G2

$
0
0

Hi,

We use WDS&MDT to deploy our Windows 7 images on different brands and models of machines. Recently we bought some HP ProBook 650 G2 laptops with which we have a lot of problems reimaging them. This is a summary of the problems when we try to deploy a Win 7 Pro x64bit image:
a. if I define the task sequence variable DriverGroup001 and create a folder for the Make and Model of the model, after the wim file is deployed, when Windows try to start for the first time I have BSOD. This happens even the Model folder doesn't have any drivers loaded.
b. the same thing happens if I don't define the TS variable and I just set the TS too look for all matching drivers 
c. if I define the TS variable, but I don't create the folder tree (Make&Model) then the image deploys and Windows starts with no drivers loaded indeed (and TS fails as expected because of lack of network connectivity to continue - no ethernet drivers).
d. I was only able to deploy a very old image (with a version of Windows last updated in 2014), but on the moment I updated it fails too 
e. if I deploy the image using "c" option and after I load the drivers manually, Windows works without problems. Also Windows works well if I deploy the old image and after the imaging process I update Windows manually. 
f. I checked the BDD.log but I couldn't find anything useful. 
g. I incline to think there is a problem somewhere between windows updates, model drivers and how MDT works (injecting the drivers), but I couldn't find anything helpful until now. 
Any suggestions are much appreciated! Thank you!




One Image/Answer File, one machine signs on as Admin, one does not.

$
0
0

Upgraded to MDT2013 U2, ADK. I have a Dell OptiPlex 5040 which reboots and signs on as Admin as it should. My unattend stores the user (Admin) and password.

I also have a Latitude E5470. Same image, same answer file, same TS. This machine stops after the reboot and forces me to type in Administrator as the user, and the admin password.

I've not had this scenario before. Any suggestions? I'm not using SCCM, just MDT to deploy my VM's which I captured via MDT.
Once I do type in the credentials, the process continues and finishes the TS steps with a white Summary Page.
Thanks!

MDT - Add ICD PPKG

$
0
0

I have a deployment task for Windows 10 and i would like to disable WiFi Sense.

I have checked ICD and it allows to disable WiFiSense so i have built a provision package, resulting in 2 files: a CAB file and a PPKG one.

From there how do i integrate it in my task sequence?

FAILURE (Err):429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object

$
0
0

working with MDT 2013 & ADK 8.1,

Windows 8.1 x64 deployment fails in section "State Restore" (Deployment Type: NEWCOMPUTER).

RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Micrsoft.BDD.Utility.dll"

"FAILURE (Err):429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object"

go to "%programdata%\microsoft\windows\start menu\programs\startup" and perform the "Litetouch.lnk" with elevated rights (right click run as administrator), the ts will continue and apply the OS without any error message.

join to workgroup instead to domain and the installation will perform without any error...

any help is appreciated.

thx a lot.

The error was AD policy related.

I moved the device to an AD Folder (no policy), deployed the windoows 8 again and moved the box back to the correct ou in TS section PostInstall - Custom Tasks using a ps script.

I did not figure out which policy.

Update: moved from W8.1 EVALUATION to offical release solved my problem!





MBAM 2.5 SP1 Upgrade from 1.0 Enable-MBAMWebApplication Fail

$
0
0

I am in the process of trying to upgrade MBAM in our environment from v1.0 to v2.5.

The Database server upgraded with out errors.  When I try to upgrade the web server, I can get the MBAMReports and MBAMWebApplication AgentService to enable.

When I try to use powershell to enable the MBAMWebApplication -AdministrationPortal  I get the following error:

Enable-MbamWebApplication : Failed to enable the feature because a prerequisite has not been met. For more
information, run the test cmdlet for the feature.

When I try to run the detailed Test-MBAMWebApplication cmtlet I get the following error output.

Type    : Error
Title   : The web application prerequisite check found missing prerequisites
Message : The specified host name does not match the host name in use.

Type    : Error
Title   : The web application prerequisite check found missing prerequisites
Message : The specified certificate does not match the certificate in use.

The certificate I am using is the same one from v1.0.  It is the same cert that AgentService is using.  The cert was generated to match the DNS Hostname MBAM.domain.com.  I am specifying the same host name in both the enable and test cmtlets.

When I run Get-MBAMWebApplication it says the host name is specified as servername.domain.com.

When the Enable-MBAMWebApplication -AgentService cmtlet was run the host name was specified as MBAM.domain.com. and that application seemed to enable with out errors.

When I run a Get-MBAMWebApplication for the AgentService the hostname is defined as Servername.domain.com

The Microsoft upgrade documentation makes it seems that this is supposed to be simple.

Client fails to install with MDT task sequence

$
0
0

Hi - I am running OSD with MDT integration. Before I get into my problem, I want to note that I do not have this problem if I build a TS from scratch with no MDT. However if I use an MDT task sequence (which I need to so I can use the UDI wizard for naming / OU selection) the client does not install and just takes me into Windows where I can logon

When I look at the logs I see the following: 

File 'C:\WINDOWS\ccmsetup\NDP452-KB2901907-x86-x64-AllOS-ENU.exe' returned failure exit code 5100. Fail the installation. ccmsetup 6/21/2016 3:17:52 PM 2708 (0x0A94)
InstallFromManifest failed 0x800713ec ccmsetup 6/21/2016 3:17:52 PM 2708 (0x0A94)
Failed to get client version for sending state messages. Error 0x8004100e ccmsetup 6/21/2016 3:17:52 PM 2708 (0x0A94)
Params to send '5.0.8355.1003 Deployment Error 0x800713ec. Pre-req: NDP452-KB2901907-x86-x64-AllOS-ENU.exe' ccmsetup 6/21/2016 3:17:52 PM 2708 (0x0A94)
A Fallback Status Point has not been specified and no client was installed. Message with STATEID='311' will not be sent. ccmsetup 6/21/2016 3:17:52 PM 2708 (0x0A94)
Failed to send status 311. Error (87D00215) ccmsetup 6/21/2016 3:17:52 PM 2708 (0x0A94)
Failed to connect to policy namespace. Error 0x8004100e ccmsetup 6/21/2016 3:17:52 PM 2708 (0x0A94)
Failed to revoke client upgrade local policy. Error 0x8004100e ccmsetup 6/21/2016 3:17:52 PM 2708 (0x0A94)

I understand that the error is related to .net  but I don't understand why that would be failing to install here. This is literally a fresh install. 

-The computer does get joined to the domain in the right OU
-The client does have the Installation Properties configured on the "Setup Windows and ConfigMgr" step
-I am using the same client package that I used to push to my environment and also on my custom build TS
-I am using the same WIM that I use in my OSD now without MDT integration.

For some reason when I use an MDT Task sequence, the client does not finish installing.  I could really use some help figuring out why. 


Viewing all 11297 articles
Browse latest View live


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