Jeff777
Extraordinary Member
- Joined
- Feb 18, 2015
- Messages
- 11
- Thread Author
-
- #1
Hi,
I have created a new image for a Dell Latitude 5320 windows 11 and got it right where I wanted it. When logged in as the administrator of course I do everything under that account because at the time the laptop is in audit mode. I have completely uninstall quite a few apps like some of the game apps, tiktok, espn etc you know the ones we are not trying to allow our users access. Once I had the image where I wanted it then I did a capture. Logged in as desktopsupport everything looked as it was supposed to. Now that I login as a test user all those apps that I had uninstalled through powershell reappear why is that?
Anyone have any advice on how to NOT get those programs to come back when logged in as a regular user? This is driving me insane not figuring out how to keep these programs uninstalled.
Is there a script that needs to get run in the background when a user first logs on?
How do I keep those programs from reinstalling?
thanks in advance for your input
I have created a new image for a Dell Latitude 5320 windows 11 and got it right where I wanted it. When logged in as the administrator of course I do everything under that account because at the time the laptop is in audit mode. I have completely uninstall quite a few apps like some of the game apps, tiktok, espn etc you know the ones we are not trying to allow our users access. Once I had the image where I wanted it then I did a capture. Logged in as desktopsupport everything looked as it was supposed to. Now that I login as a test user all those apps that I had uninstalled through powershell reappear why is that?
Anyone have any advice on how to NOT get those programs to come back when logged in as a regular user? This is driving me insane not figuring out how to keep these programs uninstalled.
Is there a script that needs to get run in the background when a user first logs on?
How do I keep those programs from reinstalling?
thanks in advance for your input
- Joined
- Jul 4, 2015
- Messages
- 8,998
It can be done with Powershell. Have to use the appxprovisionedpackage commands to remove them from all users and future accounts.
This is an example to remove Solitaire
This is an example to remove Solitaire
Code:
Get-AppxProvisionedPackage -Online | ? { $_.DisplayName -like "*Solitaire*" } | % { Remove-AppxProvisionedPackage -PackageName $_.PackageName -AllUsers -Online }
Jeff777
Extraordinary Member
- Joined
- Feb 18, 2015
- Messages
- 11
- Thread Author
-
- #3
Hey Neemobeer I appreciate the response. Now let me ask you under the administrator account becasuse I am doing this in audit mode, After completing the image and all. Now the image is getting applied and it automatically logs me in as desktopsupport because I have the answer file setup like that. Once I join it to the domain and login as a new user will the apps reappear or should they not come back? This is of course uninstalling the apps with powershell while in audit mode.It can be done with Powershell. Have to use the appxprovisionedpackage commands to remove them from all users and future accounts.
This is an example to remove Solitaire
Code:Get-AppxProvisionedPackage -Online | ? { $_.DisplayName -like "*Solitaire*" } | % { Remove-AppxProvisionedPackage -PackageName $_.PackageName -AllUsers -Online }
- Joined
- May 22, 2012
- Messages
- 4,568
ime it depends on the App, for example WebView2 is part of Edge which you cann't uninstall [Edge] you can uninstall WebView2 but Microsoft will just put it back next time your system looks for updates so setting your system to block user accounts won't stop anything because Microsoft has more control then a user... or even the AdminThey should not come back.
Last edited by a moderator: