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

Sysprep windows 8.1 with MDT 2013

0
0

hello, im tryimg to sysprep a windows 8.1 image as a test.

I installed windows 8.1 using mdt 2013 fine using the source files of a windows 8.1 enterprise (this was all fine).

Now when i go to sysprep this i get the error 

Windows could not parse or process the unattend answer file for pass [specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup].

I look at C:\Windows\Panther\setupact.log, this shows 

Failure occured during online installation. Online installation cannot complete at this time.; hr = 0x80004005

Now there's loads of i info on about the unattend.xml file and making chnages to it, is this the one located inC:\Windows\Panther or the one located on the MDT 2013 server, in the Sysprep & Capture task?

I have made many changes to both and still i get this error

thanks 


MDT 2013 Deployment Windows 7 -- Time Zone Prompt after applying image

0
0

Hello -

I am trying to deploy Windows 7 Pro x64 with MDT/WDS and all is working well except for getting prompted to confirm (the wrong) timezone at the end of installation.

I have confirmed in the BDD log it is setting the TimeZoneName correctly based on DefaultGateway. However when the machine reboots for PostInstall and StateRestore it prompts for the timezone and shows Pacific Standard Time again. http://imgur.com/FMeTky8 Image link

I have tried several times to correct this, including blowing away the CS.INI and doing everything under the default settings without success. 

Also, as suggested in another thread, I created a TS variable to set TimeZoneName with %TimeZoneName% which did not change anything.

I appreciate other any help I can get with this.

BDD.log excerpt

<![LOG[Using from [mpls]: TIMEZONE = 020]LOG]!><time="13:34:48.000+000" date="02-25-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"><![LOG[Property TIMEZONENAME is now = Central Time Zone]LOG]!><time="13:34:48.000+000" date="02-25-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"><![LOG[Using from [mpls]: TIMEZONENAME = Central Time Zone]LOG]!><time="13:34:48.000+000" date="02-25-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"><![LOG[Property SKIPTIMEZONE is now = YES]LOG]!><time="13:34:48.000+000" date="02-25-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"><![LOG[Using from [mpls]: SKIPTIMEZONE = YES]LOG]!><time="13:34:48.000+000" date="02-25-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">

CS.INI

[Settings]
Priority=Init, ByLaptop, ByDesktop, ByServer, DefaultGateway, Default
Properties=MyCustomProperty, TargetGroup, ComputerLocationName, ComputerTypeName, MyNumber

[Init]
MyNumber=#Left("%SerialNumber%", 3)#

[ByLaptop]
subsection=Laptop-%IsLapTop%

[ByDesktop]
subsection=Desktop-%IsDesktop%

[ByServer]
subsection=Server-%IsServer%

[Laptop-True]
ComputerTypeName=WKS
SkipComputerName=YES

[Desktop-True]
ComputerTypeName=WKS
SkipComputerName=YES

[Server-True]
ComputerTypeName=SRV
SkipComputerName=NO



[DefaultGateway]
192.168.100.1=mpls
192.168.1.1=vn

[mpls]
SkipLocaleSelection=YES
UserLocale=en-US
KeyboardLocale=0409:00000409
UILanguage=en-US
SkipTimeZone=YES
TimeZone=020
TimeZoneName=Central Time Zone
ComputerLocationName=USMPLS

[vn]
SkipLocaleSelection=YES
UserLocale=en-US
KeyboardLocale=0409:00000409
UILanguage=en-US
SkipTimeZone=YES
TimeZone=205
TimeZoneName=S.E. Asia Standard Time
ComputerLocationName=VNHCMC

[Default]
SLShareDynamicLogging=\\xxxxx.xxxxx.local\DeploymentShare$\Logs
OSInstall=Y
UserID=Administrator
UserDomain=xxxxx.local
UserPassword=xxxxxxxxxxxx
OSDComputerName=%ComputerLocationName%%ComputerTypeName%-%MyNumber%
SkipBDDWelcome=YES
SkipApplications=NO
SkipUserData=YES
SkipComputerName=NO
SkipTaskSequence=NO
SkipAppsOnUpgrade=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipCapture=NO
SkipTimeZone=YES
SkipFinalSummary=YES
WSUSServer=http://xxxxx.xxxxxxx.local:8530
EventService=http://xxxxxx.xxxxxxx.local:9800

Windows Restarted Unexpectedly while applying systems settings after MDT 2012 deployment.

0
0

Posted this in another forum, so I figured give this forum a try.

Hello,

I wonder if anyone can help or point me in the right direction.  I've created a couple of WIMs and deployed them out using MDT 2012 and WDS running on a Windows 2008R2 server.  The images are created and captured fine.  Sysprep runs with no issues and I can deploy out the images to any PC/laptop I want.

The issue I'm running into is I can deploy out this image to 100 PC's without any issue.  Then all of a sudden, I'll get an error saying Windows restarted unexpectedly or encountered an unexpected error and can not continue.  This will then happen from now on with this particular image.  For instance I've imaged a particular Dell Optiplex 790 multiple times with no problem, then all of a sudden I get this error on this or any other PC i image.

If I create a new image, the pattern just keeps happening over and over again.  I know it's not an issue with the physical computers themselves and I can imagine something is corrupting every image I have over a certain amount of time, so I'm sort of at a loss.  Driver issue perhaps?

Thanks,

Mike

Unable to deploy Windows 7 using MDT 2013 and WDS

0
0

Hi Guys and Girls,

I am having an issue when deploying Windows 7 using MDT 2013 through WDS.

I don't have any issues with Windows 8.1

I get the following error.

FAILURE (5627): 2146398514 0x800F082E: Run DISM.exe

I will upload logs if someone tells me where they might be.

MDT Build & Capture is taking far to long

0
0

I am currently having an issue at the moment which has not happened previously with the build and capture process is taking 24 Hours to install Windows 8.1 x64 and all the Windows updates from the WSUS server?

Does anyone have any suggestions regarding this issue? It used to take around 3-4 hours previously.


Alex Olver

"The task sequence has been suspended. LiteTouch is trying to install applications. This cannot be performed in Windows PE."

0
0

MDT 2012 Server is up and running. I mistakenly deleted a Task Sequence step called "Install Application" that I thought was not needed (I know I should have disabled it and tested).

I have a problem now, when I went to image a computer I did not get application list (This used to work before I deleted the above TS step) with items to check and uncheck for installation.  "Install Application" TS was readded but now when I try to image I get this error:

"The task sequence has been suspended. LiteTouch is trying to install applications. This cannot be performed in Windows PE."

I've tried moving it to different positions on the list (Higher and lower) to no avail, I always get the same error. Please advise.

-Thanks in advance!






MDT 2013/CM12R2 - No DaRT tool button in Workbench.

0
0

Hi All, 

Setup is MDT 2013 with CM12 R2 CU2.

I have created and successfully deployed an updated (MDT created) x64 boot image to my PXE DP as per instructions for integrating DaRT. I have also setup and enabled my workbench on my primary site server for monitoring and I receive updated client information during a task sequence. I also have the Remote Desktop button and the VM Remote Control button appears for any Hyper-V OSD machines. What I do not get however is the DaRT button. As I say, the x64 boot image contains the DaRT  files, and I can run it manually from within WinPE command line and use the program exe to connect (still the DaRT button doesn't appear in the Workbench. Since this is Dart8.1 the InstallPath was correct out of the box, so really I seem to have done everything asked of me

Am I missing something? Any help gratefully received. (image is paused during the UDI pages)

Nickcx


Running a Custom Script Post Deployment

0
0

Afternoon, I am having a bit of difficulty getting a bog standard vbs script to run.

We are a school and have purchased quite a few ACER Switch 10, tablet / laptop hybrid devices which has really caused a shed load of issues.

However for now I want to focus on a specific task. I created a custom Windows 8.1 Ent x86 image, loaded up the various pieces of software, one of which was Sophos AV. Normally Sophos agents are deployed over the domain through a management console, but the ACERs are standalone and won't be on the domain anytime soon, so not an option.

So rather then have to manually install Sophos on all these devices once imaged, I decided to add the AV software to the master image. Using the Sophos instructions I had to remove some reg entries and disable some services prior to capturing the image.

I deployed the image to some test ACERs - all worked well. However as it stands it means I have  to log into the device and manually enable the Sophos services again which is a pain.

So I put together some code sourced of the net, copied it over to the scripts folder on the share, finally adding a 'Post Install' task' Run Command Line', just before the 'Computer Restart'. In the 'Command Line box I have put:

cscript.exe "%SCRIPTROOT%\SOPHOSSRVS.wsf     - but it doesn't seem to run.

If I run this script directly on a newly imaged Win 8.1 Client, logged on a locak Admin, I have to run open  an administrative CMD prompt, then run the script, this it works.

I don't seem to be able to automate this during the process and all out of ideas. Any help greatly appreciated and understand I am not a scripting guy.

One other thing of note is that I have got it to a point of trying to apply the code but fails with what I understand is a permissions error: LiteTouch Deployment failed, Return Code = -2147467259 0x80004005; The specified service does not exist as an installed service. Error 00000424.

To make sure the code was indeed working on a new imaged machine with the Sophos AV services disabled I ran the script - it wouldn't work until I ran it from an administrative cmd prompt. Is this then a case that to run the script the privledges aren't high enough?

Below the code:

<job id="SOPHOSSRVS">

 <script language="VBScript">

'Start Sophos Anti Virus SAV Service
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colServiceList = objWMIService.ExecQuery _
    ("Select * from Win32_Service where Name = 'SAVService'")

For Each objService in colServiceList
    If objService.State = "Running" Then
        objService.StopService()
        Wscript.Sleep 5000
    End If
    errReturnCode = objService.ChangeStartMode("Automatic")  
Next

'Start Service
 strServiceName = "SAVService"
 Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
 Set colListOfServices = objWMIService.ExecQuery ("Select * from Win32_Service Where Name ='" & strServiceName & "'")
 For Each objService in colListOfServices
 objService.StartService()
 Next
 
'Start Sophos Anit Virus Admin Reporter SAVAdminSerice
 strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colServiceList = objWMIService.ExecQuery _
    ("Select * from Win32_Service where Name = 'SAVAdminService'")

For Each objService in colServiceList
    If objService.State = "Running" Then
        objService.StopService()
        Wscript.Sleep 5000
    End If
    errReturnCode = objService.ChangeStartMode("Automatic")  
Next

'Start Service
 strServiceName = "SAVAdminService"
 Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
 Set colListOfServices = objWMIService.ExecQuery ("Select * from Win32_Service Where Name ='" & strServiceName & "'")
 For Each objService in colListOfServices
 objService.StartService()
 Next
 
'Start Sophos AutoUpdate Service Auto Update Service
 
  strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colServiceList = objWMIService.ExecQuery _
    ("Select * from Win32_Service where Name = 'Sophos AutoUpdate Service'")

For Each objService in colServiceList
    If objService.State = "Running" Then
        objService.StopService()
        Wscript.Sleep 5000
    End If
    errReturnCode = objService.ChangeStartMode("Automatic")  
Next

'Start Service
 strServiceName = "Sophos AutoUpdate Service"
 Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
 Set colListOfServices = objWMIService.ExecQuery ("Select * from Win32_Service Where Name ='" & strServiceName & "'")
 For Each objService in colListOfServices
 objService.StartService()
 Next

'Start Sophos Web Filter swi_filter

  strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colServiceList = objWMIService.ExecQuery _
    ("Select * from Win32_Service where Name = 'swi_filter'")

For Each objService in colServiceList
    If objService.State = "Running" Then
        objService.StopService()
        Wscript.Sleep 5000
    End If
    errReturnCode = objService.ChangeStartMode("Automatic")  
Next

'Start Service
 strServiceName = "swi_filter"
 Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
 Set colListOfServices = objWMIService.ExecQuery ("Select * from Win32_Service Where Name ='" & strServiceName & "'")
 For Each objService in colListOfServices
 objService.StartService()
 Next
 
'Start Sophos Web Intelligence Service swi_service

  strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colServiceList = objWMIService.ExecQuery _
    ("Select * from Win32_Service where Name = 'swi_service'")

For Each objService in colServiceList
    If objService.State = "Running" Then
        objService.StopService()
        Wscript.Sleep 5000
    End If
    errReturnCode = objService.ChangeStartMode("Automatic")  
Next

'Start Service
 strServiceName = "swi_service"
 Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
 Set colListOfServices = objWMIService.ExecQuery ("Select * from Win32_Service Where Name ='" & strServiceName & "'")
 For Each objService in colListOfServices
 objService.StartService()
 Next
 
 </script>
< /job>


Windows 8.1 Migrate Local Profile to Domain Profile Same Machine

0
0

Dear All,

i'm new to USMT, i've been using my local profile for a year now with all my settings and apps inside and now i have a domain profile on the same machine, so all i need to do is to migrate my local profile to the new domain profile, i've tried multiple times with no luck also tried to use MUST tool it exports the data but it always fails in the import, i tried to use scanstate but it exports the whole computer.

i just need to transfer my localprofile "desktop, settings and apps to the domain profile on the same machine using windows 8.1"

Thanks in advance.


BR, Mohamed Allam

How to change backup location in suspend mode?

0
0

Hello

I am trying to change the backup location in an image that is in suspend mode to different location into different deployment share.

I have tried modifying varialbles.dat in Minint so it will reflect the new location in new deployment share, but it did not work.

Thanks


Create a TS Variable in MDT 2013 to set Computer Name to Wifi Mac Address

0
0

Hello,

I'm currently using the following rule to pick up the MAC address of the computer:

OSDComputername=#Right(Replace("X%macaddress001%",":",""),15)#

I have created an image for the Linx Tablets, which don't have an ethernet MAC Address, so I'd like to use the Wifi address instead (which would also help with network registration in our environment).  Does anybody have a solution?

Thank you,

Garin

IRQL_NOT_LESS_OR_EQUAL ERROR MDT 2013

0
0

I am trying to deploy an existing MDT 2013 deployment image to a new model of HP laptops.

When I try to boot in WinPE, it fails before it ever gets to the MDT wizard pages with the error above.

It also says "Your PC had a problem and needs to restart.  We are just collecting some error info and then you can restart (0% complete).

I can boot older laptop models with this new MDT 2013 boot image, so I know the boot image is functional.

I can boot this new laptop model to our older MDT 2010 image with no problem booting, so it seems to be a compatibility between this laptop model and our MDT 2013 boot image since it does boot to MDT 2010.

Any ideas how to troubleshoot this?

Litetouch deployment failed, Return Code = -2147467259 0x80004005

0
0

I have a 64-Bit Win7 wim file that I captured from a hyper v vm using MDT2013. When I apply the wim to a machine using a different deployment share I am getting the error "Litetouch deployment failed, Return Code = -2147467259  0x80004005". In the BDD log the error shows up right after my applications have finished installing. The logs say that the applications installed successfully and do not indicate any errors.

However, if I deploy just the wim with no applications, I dont get the lite touch deployment failed error. So my problem seems to be that one of my applications is causing the error but the logs dont show which one. I wanted to see if there is an easier way to find the cause, rather than going through the deployment 15 times for each of my applications?

Thank you.

WDS Task squence or script

0
0

Using server 2012 R2 WDS with MDT 6.1.2373

We are deploying 32/64 windows 7 enterprise no problems.  

We would like to add a last step into our process to "pre login" a genericuser(security people hate this I know).  This way the profile is already are already on the machines when it comes off the bench. The would be a huge time saver for our 6 sites.  I have seen some things on the web about using setupcomplete.cmd file but not sure that would work in this case.  I have also looked at auto log in user but I only want to happen 1 time at the end of imaging.

 I am not sure what to look at next. 

Powershell script failure 10904 2A98

0
0

Greetings,

  I have some powershell scripts that work fine during WinPE and at the end of the OS phase of my MDT deployment. I wanted to test a change to a powershell script so I created a small TS and deployed it to an already running Windows 7 system . The powershell script fails with return code 10904. There is no log message indicating what might be wrong - just rc = 10904. Surely it cannot be the executionpolicy as I understand MDT runs under unrestricted. I have tried a variety of powershell scripts even with basic one liners. All powershell scripts, no matter what's in them, are failing when deployed to an existing OS. So what would be the missing piece in an existing OS deployment, given that PS scripts run fine during the standard OSD deployment?

Thanks

David Z


MDT Capture User State for Outlook .pst

0
0

Dear All,

I've a working MDT 2010 on a Server 2008 R2 in my environment. All deployment works, I would like to find a way to reimage current user PCs unattended but only backup the .pst file and restore after the image. Advice to the right direction is much appreciated. Image and Applications deploys fine.

Regards,

Omar  

ZTIERROR: Non-zero return code by ZTIPowershell, rc = 10904

0
0

My Scenario:

i have a Windows 2008 R2 server with MDT 6.2.5019.0. 

i have 2 deployment shares on this server: Windows 7 x64 Enterprise & Windows 8.1 Enterprise x64

in both my base images (win 7 & win 8.1) i updated to Powershell 4.0

Using task sequence in MDT i try to Run Powershell scripts that i created in "STATE RESTORE">"CUSTOM TASKS" folder using "ADD>GENERAL>RUN POWERSHELL SCRIPT".  On the Windows 7 x64 deployment share all my Powershell scripts- task sequences run fine but for my Windows 8.1 i get the following error:

ZTIERROR: Non-zero return code by ZTIPowershell, rc = 10904

i have no clue whats going on.

here are some steps troubleshooting steps I've taken:

1. updated the deployment share>Completely regenerate the boot images

2. Added computer to workgroup instead of Domain (Prevent any GPO's from affecting)

any help would be appreciated

Recover From Domain Restarts Computer

0
0

Ok, so our CIO has wanted us to start fielding tablet hybrids, and got us a couple test units to play with. Our production environment runs MDT 2012 on Server 2008 R2 and our standard deployment is Windows 7 SP1. These tablet hybrids will receive Windows 8.1 Pro, so naturally we needed Server 2012 / MDT 2013. I have the testing environment all set up, captured a Windows 8.1 WIM, created the task sequence to match our Win7 TS. Here's the only issue I have: In our MDT 2012 environment, the computer does not restart after domain recovery. In MDT 2013, deploying Win8.1, it does restart. The domain join is applying the GPO policy, which includes a corporate login notice. On restart, this haults my task sequence and doesn't proceed until I press ok on the machine. It then proceeds to autologin and process the rest of the State Restore portion of the task sequence. On individual computers, this is no issue, but between the 4 of us (my team mates and myself), we process about 30 computers a day.

So, the question is: how can I stop the computer from restarting after the domain recover step; OR how can I disable the login notice after domain recovery but before shutdown? Keep in mind, this doesn't happen in the MDT 2012 / Win7 deployment scenario.


MDT 2013 Fails to Format or Partition disk on Surface Pro 3

0
0

I have been trying to image a Surface Pro 3 using MDT 2013 and have been unable to get past the Format and Partition portion of the deployment.  At first I would get an error that it was unable to format or partition the drive and then after that it just reboots after trying for so long.  I am able to image any other device with the same task sequence and have no issue just having an issue with the Surface Pro 3.  Any help would be great.

Thanks in advance.

I am getting the error FAILURE (5210)

ZTI Error - Unhandled error returned by ZTIDISKPART: Object required (424)

mdt choose appplication for deployment

0
0

hello everyone
sorry myimperfect English
after havingcapture mypcreferentbuild.
whenI get therein thedeploymentwizzardI no longerchoosingaplication
you have asolution ?


Viewing all 11297 articles
Browse latest View live




Latest Images