Jump to content

Recommended Posts

Posted

Whoops! Looks like I did a too thorough a job with removing the Windows Apps using Powershell. I ran

 

Get-AppxPackage –AllUsers | where-object {$_.name –notlike “*Microsoft.WindowsCalculator*”} | Remove-AppxPackageGet-AppxProvisionedPackage –online | where-object {$_.packagename –notlike “*Microsoft.WindowsCalculator*”} | Remove-AppxProvisionedPackage –online

 

which worked liked a dream. However all images are now opening up in Paint. I'm trying to get the Photos App back by various means...

 

Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Windows.Photos_15.618.18170.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode

 

The above code works (I've also tried it with the Store and other Apps), but only seems to reinstall it for the currently logged in user, no other user gets Photos App back.

 

Any advice? Thank you in advance!

Posted
The Add-AppxPackage command will only add an app for the current user. Because you removed the provisioning for the app as well, you'll have to find a way to re-provision it.
Posted
I also did this[emoji14]and came up with exactly the same complaint. Photoviewer (as per old Windows versions) is still there - you have to "enable" it via registry settings - which could be pushed out by GPO of you've got lots to fix. I'll dig out the instructions, but they are on Edugeek somewhere...
Posted
I also did this[emoji14]and came up with exactly the same complaint. Photoviewer (as per old Windows versions) is still there - you have to "enable" it via registry settings - which could be pushed out by GPO of you've got lots to fix. I'll dig out the instructions, but they are on Edugeek somewhere...

 

Reg settings here :)

 

http://www.edugeek.net/forums/windows-7/134818-set-windows-photoviewer-default-group-policy-preferences.html#post1463358

  • Thanks 1
Posted

 

Cheers @FN-GM I'll have a look at that.

 

Thinking along a different tactic, so I used "Get-AppxPackage –AllUsers | where-object {$_.name –notlike “*Microsoft.WindowsCalculator*”} | Remove-AppxPackageGet-AppxProvisionedPackage –online | where-object {$_.packagename –notlike “*Microsoft.WindowsCalculator*”} | Remove-AppxProvisionedPackage –online" to remove all Apps apart from Calculator, I've been playing around trying to add additional Apps to the exclusion such as Photos and Store, any idea anyone of how to achieve this?

 

Thank you again! :)

Posted
any idea anyone of how to achieve this?

For removing the apps while you are logged into Windows (a.k.a. online) see this thread or for removing the apps from an offline image see this thread.

 

Both scripts work on the basis that you specify just the apps you wish to keep. :)

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...