jondukes Posted June 28, 2016 Posted June 28, 2016 I have built my reference image ready to deploy to a bunch of new machines but when I am trying to sysprep I am getting the following error: Sysprep was not able to validate your Windows installation. Review the log file at %WINDIR%\System32\Sysprep\setupact.log for details. After resolving the issue, use Sysprep to validate your installation again. I have had a look through the log and there appear to be a couple of errors but I can't make any headway on them. Has anyone else run into this who could point me tin the right direction? Log file: 2016-06-28 13:26:42, Info SYSPRP ======================================================== 2016-06-28 13:26:42, Info SYSPRP === Beginning of a new sysprep run === 2016-06-28 13:26:42, Info SYSPRP ======================================================== 2016-06-28 13:26:42, Info [0x0f004d] SYSPRP The time is now 2016-06-28 13:26:42 2016-06-28 13:26:42, Info [0x0f004e] SYSPRP Initialized SysPrep log at c:\Windows\System32\Sysprep\Panther 2016-06-28 13:26:42, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine 2016-06-28 13:26:42, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything 2016-06-28 13:26:42, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE' 2016-06-28 13:26:42, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE' 2016-06-28 13:26:42, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN' 2016-06-28 13:26:42, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND' 2016-06-28 13:26:42, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers. 2016-06-28 13:26:42, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3 2016-06-28 13:26:42, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode 2016-06-28 13:26:42, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml 2016-06-28 13:26:42, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2016-06-28 13:26:42, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2016-06-28 13:26:42, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2 2016-06-28 13:26:42, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is 2016-06-28 13:26:42, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2016-06-28 13:26:42, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2016-06-28 13:26:42, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64 2016-06-28 13:26:42, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it 2016-06-28 13:26:42, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error 2016-06-28 13:26:42, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers. 2016-06-28 13:26:42, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1 2016-06-28 13:26:42, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode 2016-06-28 13:26:42, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml 2016-06-28 13:26:42, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2016-06-28 13:26:42, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2016-06-28 13:26:42, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2 2016-06-28 13:26:42, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is 2016-06-28 13:26:42, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2016-06-28 13:26:42, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2016-06-28 13:26:42, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64 2016-06-28 13:26:42, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it 2016-06-28 13:26:42, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned. 2016-06-28 13:26:42, Error SYSPRP Package king.com.CandyCrushSodaSaga_1.68.500.0_x86__kgqvnymyfvs32 was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2016-06-28 13:26:42, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2016-06-28 13:26:42, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2016-06-28 13:26:42, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2016-06-28 13:26:42, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2016-06-28 13:26:42, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2 2016-06-28 13:26:42, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2016-06-28 13:26:42, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2 2016-06-28 13:26:45, Info [0x0f0052] SYSPRP Shutting down SysPrep log 2016-06-28 13:26:45, Info [0x0f004d] SYSPRP The time is now 2016-06-28 13:26:45
jondukes Posted June 28, 2016 Author Posted June 28, 2016 I am indeed, still no joy. Thanks for your suggestion Michael.
Michael Posted June 28, 2016 Posted June 28, 2016 I presume Windows is activated and you've double checked your Activation Key? That's all that comes to mind.
Arthur Posted June 28, 2016 Posted June 28, 2016 2016-06-28 13:26:42, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned. 2016-06-28 13:26:42, Error SYSPRP Package king.com.CandyCrushSodaSaga_1.68.500.0_x86__kgqvnymyfvs32 was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2016-06-28 13:26:42, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2016-06-28 13:26:42, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. It looks like you have this problem... https://support.microsoft.com/en-us/kb/2769827 Cause Sysprep has an additional provider that's added in Windows 10 and Windows 8 to clean Appx packages and to generalize the image. The provider works only if the Appx package is a per-user package or an all-user provisioned package. Per-user package means that the Appx package is installed for a particular user account and is not available for other users of the computer. All-user package means that the Appx has been provisioned into the image so that all users who use this image can access the app. If an all-user package that's provisioned into the image was manually deprovisioned from the image but not removed for a particular user, the provider will encounter an error while cleaning out this package during sysprep. The provider will also fail if an all-user package that's provisioned into the image was updated by one of the users on this reference computer.
sted Posted June 28, 2016 Posted June 28, 2016 you cant as far as im aware remove apps then sysprep. If you want to remove apps you need to remove them before you roll the image out to a test/setup pc then make changes and sysprep. To do that you need the wim file and a few powershell commands and dism then once you fire out this modified wim installed updates software etc it should sysprep fine but if you remove built in apps then sysprep it fails
jondukes Posted June 28, 2016 Author Posted June 28, 2016 Thanks for your suggestions so far. I am not trying to remove any of the apps. I just want to sysprep the device to capture an image. It appear that Candy Crush () is at fault here. I have run the command: get-appxpackage -alluser | format-list -property packagefullname,packageuserinformation Which has shown Candy Crush in this list, however when trying to remove-appxpackage or remove-appxprovsionedpackage I am given the error "Package Not Found"
beany1 Posted June 28, 2016 Posted June 28, 2016 have you tried to do a Windows update using the powershell scripts? I had problems with this as it tried to update apps and then messes up sysprep - and I also saw the same problem your facing with the package not found error.
Joanne Posted June 28, 2016 Posted June 28, 2016 I had this problem. It is indeed all about the Windows Store apps. Even if you just move the tile of the start menu it causes it to fail. I know this doesn't help now, but try doing an image with Windows 10 LTSB. Found it less problematic when sysprepping. ish.
JackT Posted June 28, 2016 Posted June 28, 2016 First you need to run Get-AppXProvisionedPackage -Online | Select PackageName That should return a list of all packages. Next you need to copy the full package name from that list into the next command, in my example i am removing the 3D Builder program. This command will remove the app for all new users that are logging into the system remove-AppxProvisionedPackage -package Microsoft.3DBuilder_11.0.47.0_neutral_~_8wekyb3d8bbwe -online To remove it locally for your user you need to run remove-Appxpackage -package Microsoft.3DBuilder_11.0.47.0_neutral_~_8wekyb3d8bbwe Once you've ran both commands you should be able to sysprep the machine but you may find there are alot of apps to remove and sysprep will only inform you about one app at a time!
ITJS2015 Posted June 29, 2016 Posted June 29, 2016 Hi Everyone Can someone please help me with the sysprep for my windows 10 image The log is the following 2016-06-29 10:46:37, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers. 2016-06-29 10:46:37, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3 2016-06-29 10:46:37, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode 2016-06-29 10:46:37, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml 2016-06-29 10:46:37, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2016-06-29 10:46:37, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2016-06-29 10:46:37, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2 2016-06-29 10:46:37, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is 2016-06-29 10:46:37, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2016-06-29 10:46:37, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2016-06-29 10:46:37, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64 2016-06-29 10:46:37, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it 2016-06-29 10:46:38, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error 2016-06-29 10:46:38, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers. 2016-06-29 10:46:38, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1 2016-06-29 10:46:38, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode 2016-06-29 10:46:38, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml 2016-06-29 10:46:38, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2016-06-29 10:46:38, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2016-06-29 10:46:38, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2 2016-06-29 10:46:38, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is 2016-06-29 10:46:38, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2016-06-29 10:46:38, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2016-06-29 10:46:38, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64 2016-06-29 10:46:38, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it 2016-06-29 10:46:38, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error 2016-06-29 10:46:38, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it 2016-06-29 10:46:38, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned. 2016-06-29 10:46:39, Error SYSPRP Package Microsoft.XboxApp_15.18.14017.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2016-06-29 10:46:39, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2016-06-29 10:46:39, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2016-06-29 10:46:39, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2016-06-29 10:46:39, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2016-06-29 10:46:39, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2 2016-06-29 10:46:39, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2016-06-29 10:46:39, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2 2016-06-29 10:47:03, Info [0x0f0052] SYSPRP Shutting down SysPrep log 2016-06-29 10:47:03, Info [0x0f004d] SYSPRP The time is now 2016-06-29 10:47:03 I Presume it is the xbox app which I cannot uninstall which is grey out ? Can someone highlight my issue above on this log Cheers
Joanne Posted June 29, 2016 Posted June 29, 2016 You need to do the same as above but your issue is with the xbox app - 2016-06-29 10:46:39, Error SYSPRP Package Microsoft.XboxApp_15.18.14017.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. First you need to run Get-AppXProvisionedPackage -Online | Select PackageName That should return a list of all packages. Next you need to copy the full package name from that list into the next command, in my example i am removing the 3D Builder program. This command will remove the app for all new users that are logging into the system remove-AppxProvisionedPackage -package Microsoft.3DBuilder_11.0.47.0_neutral_~_8wekyb3d8bbwe -online To remove it locally for your user you need to run remove-Appxpackage -package Microsoft.3DBuilder_11.0.47.0_neutral_~_8wekyb3d8bbwe Once you've ran both commands you should be able to sysprep the machine but you may find there are alot of apps to remove and sysprep will only inform you about one app at a time!
ITJS2015 Posted June 29, 2016 Posted June 29, 2016 I have removed the xbox app and now its telling me there is more lol iv got zune music and video
Joanne Posted June 29, 2016 Posted June 29, 2016 Yeah they are a nightmare. What I think was happening with me - I had a GPO set to block apps. So when I attached my image machine to the domain it faffed with them and then it wouldn't sysprep. So then I used Windows 10 LTSB and didn't attach it to the domain to install software. That seemed to remedy all of my issues.
ITJS2015 Posted June 29, 2016 Posted June 29, 2016 Iv managed to sort it out, even that I have run a command to remove apps from the next logins locally it hadn't removed it on the current profile which I was logged in at How Microsoft have created windows 10 like this and its still flaky I do not know why they have done this, its not even great for education. Windows 7 is the main GOD
JackT Posted June 29, 2016 Posted June 29, 2016 Iv managed to sort it out, even that I have run a command to remove apps from the next logins locally it hadn't removed it on the current profile which I was logged in at How Microsoft have created windows 10 like this and its still flaky I do not know why they have done this, its not even great for education. Windows 7 is the main GOD I had a mistake the first time i was trying to remove apps and that was to login with more than one account which provisioned a load of apps for that user aswell. Caused me to rebuild the image. To remove the apps locally from the user account you will need to fun the remove-Appxpackage command from my above post. The provisioned command will stop that app from installing for any other user that signs into the machine, so its best to run both commands to stop the apps from reinstalling and to remove the apps from the current user. Because sysprep is flakey with the apps it will only ever prompt you stating that there is an issue with one app at a time which is a MASSIVE pain.
Arthur Posted June 29, 2016 Posted June 29, 2016 So when I attached my image machine to the domain it faffed with them and then it wouldn't sysprep. The reference image computer/VM shouldn't be joined to the domain at all. Surely that's the issue, not the edition of Windows you are using?
Joanne Posted June 29, 2016 Posted June 29, 2016 I know that NOW Just makes it easier to install all the software though ya know?
mavhc Posted June 29, 2016 Posted June 29, 2016 You're better off scripting all the software to install later and just using the wim file as it comes. Especially with Windows 10 when they'll be a new wim file every few months
sted Posted June 29, 2016 Posted June 29, 2016 You're better off scripting all the software to install later and just using the wim file as it comes. Especially with Windows 10 when they'll be a new wim file every few months id almost go with that but youre better off mounting the standard wim then removing the junk and unmounting then use the modified standard wim so xbox etc never even gets deployed its never been in the system as its probably quicker to do that once than script it or at least not significantly slower (and you can script that as well though not sure id want to)
mavhc Posted June 29, 2016 Posted June 29, 2016 I've been calling a script to remove them via unattended.xml, kinda works
CHR1S Posted October 18, 2016 Posted October 18, 2016 First you need to run Get-AppXProvisionedPackage -Online | Select PackageName That should return a list of all packages. Next you need to copy the full package name from that list into the next command, in my example i am removing the 3D Builder program. This command will remove the app for all new users that are logging into the system remove-AppxProvisionedPackage -package Microsoft.3DBuilder_11.0.47.0_neutral_~_8wekyb3d8bbwe -online To remove it locally for your user you need to run remove-Appxpackage -package Microsoft.3DBuilder_11.0.47.0_neutral_~_8wekyb3d8bbwe Once you've ran both commands you should be able to sysprep the machine but you may find there are alot of apps to remove and sysprep will only inform you about one app at a time! Sorry to hijack the thread but I followed your steps but still get the following errors - SYSPRP Package Microsoft.Office.OneNote_17.7369.57831.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2016-10-18 14:32:02, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2016-10-18 14:32:02, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. Any ideas why I cant remove this? I only have Administrator & Guest disabled so only one alternative admin user is active. The SID for the "installed" appx doesnt match one on the PC.
ITJS2015 Posted October 18, 2016 Posted October 18, 2016 This should work, I have found out that windows 10 has provisioned apps and installed apps Open this link and download this file https://blogs.technet.microsoft.com/mniehaus/2015/11/11/removing-windows-10-in-box-apps-during-a-task-sequence/ You need to run powershell as an admin and bypass the unrestricted policy which enables you to run the file within powershell once that's done, on the same powershell screen you need to cd c:\ or should I say navigate using cd all the way to your file location and it will remove all the apps which you have left on you machine. Then you should be able to sysprep your machine with no hassel
JackT Posted October 18, 2016 Posted October 18, 2016 If you run remove-appxprovisionedpackage -packagename Microsoft.Office.OneNote_17.7369.57831.0_x64__8wek yb3d8bbwe what does powershell feedback to you? if that works run remove-appxpackage -packagename Microsoft.Office.OneNote_17.7369.57831.0_x64__8wek yb3d8bbwe or get-appxpackage "onenote" | remove-appxpackage then rerun sysprep until you have no more errors.
JackT Posted October 18, 2016 Posted October 18, 2016 This should work, I have found out that windows 10 has provisioned apps and installed apps Open this link and download this file https://blogs.technet.microsoft.com/mniehaus/2015/11/11/removing-windows-10-in-box-apps-during-a-task-sequence/ You need to run powershell as an admin and bypass the unrestricted policy which enables you to run the file within powershell once that's done, on the same powershell screen you need to cd c:\ or should I say navigate using cd all the way to your file location and it will remove all the apps which you have left on you machine. Then you should be able to sysprep your machine with no hassel Yea should have mentioned that, provisioned apps will be installed for the user the first time they sign in and installed apps are the current installed apps for that user. It's best to unprovision the apps you dont need and then uninstall them all.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now