Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING running powershell script in upgrade task sequence

  • Thread starter Thread starter dj3094
  • Start date Start date
  • Replies Replies 3
  • Views Views 2K

dj3094

Well-Known Member
Messages
241
Reaction score
7
Points
18
hello,
I have a powershell script to uninstall apps. When I run manually it uninstall apps. When I include that in TS, it runs but it wont uninstall apps
Am I missing anything?

Regards
 
When you say uninstall apps, is that for a specific user or for all users ?. I think you need to check if your script uninstalls apps currently logged on user or uninstalls apps for all users. SCCM installs software/scripts under the SYSTEM context and not the local administrator.
 
I tired with every option I know, created package, ran it as part of TS . it successfully runs but wont uninstall apps. it works good when I add the script to deploy on baremetal it works. but not in upgrade TS. Also I created custom TS and deployed on one of the test machine it ran but no success.
thanks
 

Forum statistics

Threads
7,215
Messages
28,142
Members
18,417
Latest member
HuwjOnes

Trending content

Back
Top