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 Uninstalling Shockwave using SCCM

  • Thread starter Thread starter nhughes122
  • Start date Start date
  • Replies Replies 2
  • Views Views 4K

nhughes122

Member
Messages
5
Reaction score
1
Points
3
Good morning! Shockwave has reached end of life and I'm trying to work on getting it uninstalled across our business.

My batch file works, when run as admin on a test computer to uninstall Shockwave, but when I created an application in SCCM and deployed it to my computers, it doesn't look like the file is getting ran. If it is, it looks like it is being ran without administrative privileges.

The batch file is simple:
wmic product where "name like '%%Shockwave%%'" call uninstall /nointeractive
pause


My questions:
  • When I have a batch and I build it into an applications, in this case the application is "Adobe Shockwave Uninstaller", does it get installed and ran with admin privileges or is it being ran as the user?
  • Can I specify the rights it runs under or do I need to do that in the script?
  • Is building a application for the batch the best way to handle scripts with SCCM or is there a general "best practice" for batch files and such?
  • Does anyone have a different suggestion on how to remove Shockwave from the environment that isn't this uninstall process?
Thank you!
 
1573227156398.png

I changed the appToMatch to $appToMatch = '*Shockwave*' but I am getting a "cannot find specificed file" error. I don't know a whole lot about PS unfortunately.

  • I deployed as admin to my understanding, install as system.
  • Okay, so I'll keep using system since that is admin.
  • Great.
  • Garth, Shockwave has reached it's end of life. We're removing it for good measure.
 
Last edited:

Forum statistics

Threads
7,168
Messages
27,979
Members
18,281
Latest member
kerber

Trending content

Back
Top