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

Sysprep error

$
0
0

Hi all,

I am trying to sysprep and capture an image with MDT but Sysprep is failing all the time:

Here is the setupact.log:

SYSPRP Sysprep_Clean_Validate_Opk: Audit mode can't be turned on if there is an active scenario.; hr = 0x800F0975
2019-12-18 17:19:28, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x975
2019-12-18 17:19:28, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x975
2019-12-18 17:19:28, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x975
2019-12-18 17:19:28, Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x975
2019-12-18 17:19:28, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x80070975
2019-12-18 17:19:28, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
2019-12-18 17:19:28, Info       [0x0f004d] SYSPRP The time is now 2019-12-18 17:19:28

Here is the MDT error screen:

I see a lot of posts about spopk.dll but it seems to be fixed in the latest CU 1903 update, besides I am imaging Win10 1909 with the December CU installed


Microsoft Teams showing message "Organization View doesnot exist for this User" for a user

$
0
0

Dear Community,

We have managers added in all users.

But for one specific user(let say User A) the bot shows below error and to his subordinates as well.

While I can see information for all other users without any issue.

Please help me out in this regard.

Although the user A shows up under its manager but when I click on it, above error shows and I can't also search employees reporting to User A ,when searching I get the same error.

I have checked at Microsoft Admin center, User A is showing up as manager for its subordinates.

I have also re-added the User A's manager again after removing it. Still, It does not show Organizational Chart View. All of  User A's subordinates chart view is not showing either. One thing that I must share is that when I search for user A manager , it shows up and user A also shows up below its manager.But when I click on User A to see org chart view, it gives the error that I shared previously.

I have checked through /org and it gives same error.also one of User A subordinates doesnot show up in the search list at all.Its weird.

It's the same error through Microsoft app and  web both.

All users reporting to User A are having this issue.

User A cant still not see it even when he logins through his account to microsoft teams.

MDT With USMT4.0 Loadstate - Multiple 4 Minute Delay Warnings

$
0
0

Hello all,

First time posting for help and I can’t wrap my head around this issue. I am currently running MDT 2012 and USMT4 with the hotfix for x64 and x86 (KB2023591) on a Windows 7 x64 machine while deploying from a USB media. My issue is with USMT, particularly when trying to do an online capture. Whenever scanstate is executed from an online replace scenario task sequence during a deployment, everything is captured smoothly in a .mig file. When MDT tries to load the data back into the machine by using loadstate. It loads the user profiles within 2 minutes and the “This Computer” profile takes about 4 to 5 hours to transfer 350MB. After looking at the logs I came across multiple instances where there appears to be 4 minute delays in the data processing, please see the log snippets below. Apparently the logs are saying that it stalls for about 4 minutes exactly whenever it tries to use “search indexer: Win32Exception”. Does anyone know why it keeps hanging for 4 minutes in these multiple spots?

Here is the Scanstate command that MDT runs:
Command line: C:\MININT\USMT\X64\scanstate.exe E:\Deploy\Applications\BackupHERE /v:5 /c /o /i:C:\MININT\USMT\X64\MigApp.xml /i:C:\MININT\USMT\X64\Migdocs.xml /config:C:\MININT\USMT\X64\ZTIUserState_Config.xml /l:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.log /progress:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.prg

Here is the Loadstate command that MDT runs:
E:\Deploy\Tools\x64\USMT4\loadstate.exe E:\Deploy\Applications\BackupHERE /v:5 /c /lac /i:E:\Deploy\Tools\x64\USMT4\MigApp.xml /i:E:\Deploy\Tools\x64\USMT4\Migdocs.xml /config:E:\Deploy\Scripts\ZTIUserState_Config.xml /l:E:\logs\USMTrestore.log /progress:E:\logs\USMTrestore.prg

Here are the log snippets:

2014-05-29 17:51:56, Info                  [0x080000] Testing if path updates are necessary on C:\logs\USMT\File\C$\Users\Administrator\AppData\Roaming\Microsoft\Windows\Libraries\Pictures.library-ms

2014-05-29 17:55:56, Warning               [0x080000] Failed to add C:\Users\Administrator\Pictures tosearch indexer: Win32Exception: COnlineWinNTPlatform::AddPathToSearchIndexer - Failed to create CSearchManager instance: An attempt was made to reference a token that does not exist. [0x000003F0] void __cdecl Mig::COnlineWinNTPlatform::AddPathToSearchIndexer(class UnBCL::String *)

2014-05-29 17:59:56, Warning               [0x080000] Failed to add C:\Users\Public\Pictures tosearch indexer: Win32Exception: COnlineWinNTPlatform::AddPathToSearchIndexer - Failed to create CSearchManager instance: An attempt was made to reference a token that does not exist. [0x000003F0] void __cdecl Mig::COnlineWinNTPlatform::AddPathToSearchIndexer(class UnBCL::String *)

2014-05-29 17:59:56, Info                  [0x080000] Not changing library
2014-05-29 17:59:56, Status                [0x000000] Processing File C:\logs\USMT\File\C$\Users\Administrator\AppData\Roaming\Microsoft\Windows\Libraries [Videos.library-ms]

Then here's another one...

2014-05-29 17:59:56, Info                  [0x080000] Creating stream copy in C:\Users\Administrator\AppData\Local\Temp\tmp7BA4.tmp\Temp\tmp7B9C.tmp (1147 bytes)
2014-05-29 17:59:56, Info                  [0x080000] Testing if path updates are necessary on C:\logs\USMT\File\C$\Users\Administrator\AppData\Roaming\Microsoft\Windows\Libraries\Videos.library-ms
2014-05-29 18:03:56, Warning               [0x080000] Failed to add C:\Users\Administrator\Videos tosearch indexer: Win32Exception: COnlineWinNTPlatform::AddPathToSearchIndexer - Failed to create CSearchManager instance: An attempt was made to reference a token that does not exist. [0x000003F0] void __cdecl Mig::COnlineWinNTPlatform::AddPathToSearchIndexer(class UnBCL::String *)
2014-05-29 18:07:57, Warning               [0x080000] Failed to add C:\Users\Public\Videos tosearch indexer: Win32Exception: COnlineWinNTPlatform::AddPathToSearchIndexer - Failed to create CSearchManager instance: An attempt was made to reference a token that does not exist. [0x000003F0] void __cdecl Mig::COnlineWinNTPlatform::AddPathToSearchIndexer(class UnBCL::String *)
2014-05-29 18:07:57, Info                  [0x080000] Not changing library
2014-05-29 18:07:57, Status                [0x000000] Processing File C:\logs\USMT\File\C$\Users\Administrator\AppData\Roaming\Microsoft\Windows\Themes


Having an issue with Bitlocker on new Dell laptops.

$
0
0

I've enabled Bitlocker on my Deployment Share and have a window in the Wizard prompting if you want to encrypt or not.

It has been working perfectly, but lately 'some' Dell laptops will get encrypted and create a Bitlocker key even if you choose NO.

All of my Panasonic models behave correctly, but these new Dells have an entirely different looking BIOS. I'm not sure if there is a new setting to allow a choice to encrypt or not, but choosing NO in the Deployment Wizard doesn't seem to matter.

If anyone has insight into the newer Dell models (one being Dell 3400), I'd appreciate any info.

Customising DeployWiz_ComputerName.xml

$
0
0

People, I have Modified my "DeployWiz_ComputerName.xml" to make a Dropdown for the OU as apparently typing the whole thing was easy to get wrong, the Updated section is below, and this works perfectly now.

However the Section above this (Domain To Join) is also causing issues as we have multiple domains to image machines for and people forget to change it to the relevant one, Does anyone know of a way we can mod the XML here so that once the OU to Join has been selected, it automatically updates the Domain to Join ?

Any ideas greatly appreciated


<td>
<u>O</u>rganizational Unit: 
</td>
<td>
<select type=text id=MachineObjectOU name=MachineObjectOU style="width: 100%;" language=vbscript onpropertychange=ValidateDomainMembership accesskey=O>

<option value="OU=Workstations,DC=DOMAIN-A,DC=net" >DOMAIN A Workstations</option> 

<option value="OU=Workstations,DC=DOMAIN-B,DC=net" >DOMAIN B Workstations</option> 

<option value="OU=Workstations,DC=DOMAIN-C,DC=net" >DOMAIN C Workstations</option> 

<input type="button" id=MachineObjectOUOptionalBtn hidefocus="1" value="&#9660;" style="height:23; width:16; font-family: helvetica; font-size: 7pt; display: none;" onclick="JavaScript:HideUnHideComboBox();"> (Optional) <Br>


<div id="PopupBox" style=" display:none; width: 240px; " >

<select size="6" id="MachineObjectOUOptional" style="width: 100%; border-style: none"
onchange="JavaScript:MachineObjectOU.value = this.value;"
onclick="javascript:HideUnHideComboBox();">
</select>

</div>
</td>

1909 OS and MDT/ADK

$
0
0

Just checking if 1909 needs a new MDT/ADK upgrade.

I currently have the current version for 1809. If I need a new version for 1909 please inform me.

Additionally, since I have a Resume on my VM's pointing to a LiteTouch ISO, will that still work for VM's already existing?

Thanks!


Why do all Junction Points point to D:\ and not C:\ after deployment?

$
0
0

Running MDT 8456, ADK 1903, and Windows PE Add-on 1903

Deploying Windows 10 LTSC 2019

After deploying the image all Junction Points still exist, however, they are begin with D:\

What cause this and how do I fix it?

MDT build 8456 - Installing Roles and Features adds features not selected

$
0
0
I have a Task Sequence configured to install Windows 10, including a step to configure Roles and Features. That step is configured to install .NET Framework 3.5 and Hyper-V Hypervisor. The problem I'm seeing is that installations completed using this TS always have all Hyper-V features installed rather than only the Hyper-V Hypervisor feature, meaning I have to correct each installation afterward. Is anyone else seeing similar behaviour? Any fixes or workarounds?

Chromium Edge not installing MDT

$
0
0

So i have have been having an issue with deploying edge chromium using MDT.

I am using this command line msiexec /i MicrosoftEdgeEnterpriseX64.msi /qb

but it when it comes to installing to my test VM i get there was "there was an error saying "there is a problem with this windows installer package a program run as part of the setup did not finish"I also get error code 1603 at the end too. 

I have tried this command line outside of my MDT and it installs fine. I am installing to a VM with no internet connection but all other applications so far i have scripted into MDT have worked fine. I am wondering is it having trouble trying to remove the older version of edge??

I have re-ran the Application and created the below log file for you can see. I have edited out some sensitive information with (***). 


I don't remember much about setting up a Build and Capture sequence.

$
0
0

I set up a LiteTouch ISO for my VM's to boot to and they have a suspend added.

Initially when making a brand new VM and booting to my LiteLouch ISO so it suspends, then continues on.....what is the Task Sequence you choose?   Is it just a Standard Task Sequence? I tried this on another server and it got to the desktop. When I clicked on Resume, it went right to the final summary screen and actually didn't do anything.

Any idea what I'm doing wrong? And btw, how do you look at an existing TS and find out if its a Sysprep & Capture or Standard TS?

MDT install windows 10 using TS when finished, prepar OOBE and shutdown.

$
0
0

Hi,

Our customer would like to have a TS to Install Windows 10 1909 and boot into OOBE so they can run tests to work with AutoPilot.

I tried a couple of things but nothing seems to work.

I have now a standard task sequence which just install Windows 10 as last step i execute the following command

cmd.exe /c C:\windows\system32\sysprep\sysprep.exe /oobe /shutdown

Once the TS is done and runned the sysprep the machine shutdown.

Once i start the VM it starts Windows 10 and execute OOBE which is what we want.

However, once this step is done the desktop apprears and soon the following error appears:

Title: Dirty Enviroment Found

An existing in-progress deployment was found but is not in an expected state.

Once i press no to not start a new one, everything is fine.

What am i missing in the TS to complete the deployment and have a working oobe?

Working with Windows 7 ESU Updates

$
0
0

Pre-EOL we had a good process where we would capture missing patches from our Windows 7 reference images and inject them via DISM.  This has let us keep our deployments fairly fresh over the years.

Unfortunately the new ESU updates seem to have put an end to this process.   Trying to inject them, even with the full set of pre-req patches, results in an unattended.xml error.  Has anybody else run into this and does anybody have a good way to manage the ESU patches going forward?

MDT FAILURE ( 5627) with WIN 10 PRO 1903

$
0
0

Hello,

I have a problem with instalation WIN10 1903 via MTD:

Failure ( 5627 ): -2146498536 0x800F0818: Run DISM.exe

Litetouch deployment failed, Reeturn Code = -2147467259 0x80004005

Failed to save environment to (80070057)

Failed to run the action: Install Operating System

Unknow error (Error: 000015FB; Source: Unknown)

The execution of the group (install) has failed and the execution has benn aborted. An action failed

Operation aborted (error:80004004; Source: Windows)

Failed to run the last action: Install Operating System. Execution of task sequence failed.

Unknow error: 000015FB; Source:Unknown)

Task Sequence engine Failed! Code: enExecutionFail

Task sequence execution failed with error code 80004005

RegQueryValueExW is unsuccessful fos Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram

GetTSRegValue() is unsuccesful. 0x80070002

Error Task Sequence Manager Failed to execute task sequence. Code 0x800004005

Another OS (eg  WIN 10 PRO 1803 working correctly)


MDT and bootstrap.ini : impossible to get static IP address before Welcome Screen

$
0
0

Hello,

After a lot of searches, I've not been able to find out what's wrong.

I'm using MDT (8456) with ADK 1903. I made classic installation and settings. I carried on all my image tests with DHCP without any issue. But when I tried to se a static IP address in WinPE boot, the step just before the Welcome screen, by customizing the Bootsrapt.ini file, I couldn't manage to get it : WinPE remained in DHCP mode (cf. ipconfig /all). I checked the unattend.xml file in the WinPE boot ISO file : it takes well in account the bootstrap.ini IP settings ! Of course, each time I regenerated this ISO with the Deployment Share Update function.

In last resort, I tried with customize.ini with no more success.

I made a new install on another computer : same thing.

If you have any idea on this, I would appreciate. Thank you in advance.


My bootstrp.ini can't be more classical :

[Settings] Priority=Default [Default] SkipBDDWelcome=NO DeployRoot=\\192.168.1.100\PS1$ UserID="user" UserPassword="password"

UserDomain=workgroup KeyboardLocalePE=040c:0000040c KeyboardLocale=040c:0000040c InputLocale=040c:0000040c OSDAdapterCount=1 OSDAdapter0EnableDHCP=False OSDAdapter0IPAddressList=192.168.1.101 OSDAdapter0SubnetMask=255.255.0.0 OSDAdapter0Gateways=192.168.1.100 OSDAdapter0DNSServerList=192.168.1.100 OSDAdapter0DNSDomain=domain.local OSDAdapter0TCPIPNetBiosOptions=1



Scripts deleting from MDT

$
0
0

Hi All,

I have this strange problem which searches have indicated some people have a similar issue with litetouch but not as much as I seem to.

I running Microsoft Deployment Toolkit (MDT) 8456 on Server 2016. I have a vanilla build of Windows 10 build 1909.

The issue I have is that some of the scripts in the Deployment Share are disappearing after running litetouch. This is always on the server and it could be litetouch, ztigather, ltiapply or something else.

The NTFS permissions seem normal to me. Administrators with Full, System and Users with read-only.

Litetouch is launched with an administrator account.

Any ideas?


MDT 2013 DomainJoin f*cks up NetbiosName of OSDJoinAccount

$
0
0

Hey,

im trying to join my computer to domain and am setting my variables like this:

DomainAdmin ="<Username>"

DomainAdminDomain ="<DomainNetbiosname>"

DomainAdminPassword ="<UsernamePassword>"

JoinDomain ="<Domain-FQDN>"

OSDDomainName ="<DomainNetbiosname>"

OSDJoinPassword ="<UsernamePassword>"

OSDJoinAccount ="<DomainNetbiosname>\<Username>"

But the Recover from Domain step fails. The NetSetup.log shows a wrong Domain Netbiosname:

05/04/2020 11:10:01:180 NetpJoinDomain
05/04/2020 11:10:01:180        HostName: SUC1144
05/04/2020 11:10:01:180       NetbiosName: SUC1144
05/04/2020 11:10:01:180        Domain:<Domain-FQDN>
05/04/2020 11:10:01:180       MachineAccountOU: (NULL)
05/04/2020 11:10:01:180       Account:qȬ§MlÓZ_\<Username>
05/04/2020 11:10:01:180      Options: 0x1

I have really no idea where it gets this string :(

Anyone?


I forgot a most basic order of MDT, that takes precedence over the other.

$
0
0

Unattend, CS.INI and Bootstrap.

I realize Bootstrap it pretty much what it is, but between the unattend and CS.INI, what takes priority?

I'm attempting in unattend to set Prevent Device Encryption = true in unattend, but then setting it to run
in my CS.INI  (SkipBitlocker=NO). Then I have a pane come up to choose encryption or not.

Seems some new Dells will auto-encrypt regardless of what you choose in the Wizard.

So my main question is, if I set encryption to NO in unattend (per TS), CS.INI overrides that overall to the DS.

Thanks for any info. 

MDT - USB Driver Files HUGE!!! Can you Image from File Share

$
0
0

Hey Guys,

Have been using a USB thumb stick to image computers but as time has gone on the files have become huge and now it takes a 40 gig USB drive because of all the drivers for different machine types.

Also when ever anything any updates or changes each tech has to re download the 21 gigs and if something is updated and they do not download then files that they are installing could be out dated.

I looked into WDS but that looked like a lot to setup.  Would it be possible to keep all the MDT files on a network share and then some where in the MDT config tell it to look at the network share for Drivers and operating system.

Is this even possible, trying to figure out what options are available.

I have tried copying only the following folders but got an error after MDT Lite touch loaded about could not find files, which makes sense :)
G:\Media\Content\Deploy\Boot

G:\Media\Content\Boot

Thank you for any help you can provide,

Best regards,

John

Server 2019 In place upgrade

$
0
0

Hi,

I have be given a project by my manager to do an in place upgrade  on 15 server running 2012R2 with MDT installed that is used to deploy windows 10 across different company. The server have the following services running WDS, WSUS and VAMT Services, could you please confirm if I can do an inplace upgrade to server 2019.

And if I proceed with this is there any know issues. any input will be good Thanks.

Implementing PowerShell App Deployment Toolkit with MDT

$
0
0
I have PowerShell App Deployment Toolkit working and it installs my applications just fine.  How in the heck do I get MDT to execute the installs?  I have just about everything short of a batch file. I would prefer not to have to call a a batch file if not needed.  Please only reply if you are using it as part of your MDT deployment.  Thank you.
Viewing all 11297 articles
Browse latest View live


Latest Images