CHR1S 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. First command returns - PS C:\WINDOWS\system32> remove-appxprovisionedpackage -packagename Microsoft.Office.OneNote_17.7369.57831.0_x64__8wekyb3d8bbwe Remove-AppxProvisionedPackage : Parameter set cannot be resolved using the specified named parameters. At line:1 char:1 + remove-appxprovisionedpackage -packagename Microsoft.Office.OneNote_1 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: ( [Remove-AppxProvisionedPackage], ParameterBindingException + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.Dism.Commands.RemoveAppxProvisionedPackageCommand
ITJS2015 Posted October 18, 2016 Posted October 18, 2016 (edited) Run Powershell as an admin run the following steps PS C:\Windows\system32> Set-ExecutionPolicy bypass Execution Policy Change The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic at http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy? [Y] Yes [N] No Suspend [?] Help (default is "Y"): y Use the cd command to your location where you have saved the file PS C:\users\support\desktop> .\ after the back slash tab till you select your removeapps.ps1 file and click enter It should then remove installed and provisioned apps Edited October 18, 2016 by ITJS2015
JackT Posted October 18, 2016 Posted October 18, 2016 Run Powershell as an admin run the following steps PS C:\Windows\system32> Set-ExecutionPolicy bypass Execution Policy Change The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic at http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy? [Y] Yes [N] No Suspend [?] Help (default is "Y"): y Use the cd command to your location where you have saved the file PS C:\users\support\desktop> .\ after the back slash tab till you select your removeapps.ps1 file and click enter It should then remove installed and provisioned apps If you're running that you want to make sure you tweak it as it could remove some of the default apps like photo viewer or calculator that are needed.
ITJS2015 Posted October 18, 2016 Posted October 18, 2016 You can download the windows 7 calculator to your windows 10 machine and also you can set your default photo viewer locally on the apps settings rather than use the inbuilt apps. The whole point of removing these apps is that windows will try and update them and slow the machine down dramatic, yes you can tweak it so you can tell the apps to stay but you don't want you apps to slow you machine down and also cause problems when your doing an image.
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