Jump to content
Sign in to follow this  

Remove all icons for a specific program from all profiles

Recommended Posts


I am trying to come up with a script that will remove an old program's icon from all the user's profiles. I have reviewed the macros and found several that would be helpful (@DesktopCommonDir, @AppDataCommonDir, @DesktopDir, @AppDataDir, etc...). I am going to push this script out via my ghost console and will be done when nobody is logged on. Basically I am trying to figure out how to recursively check all the user's profiles for a specific icon and delete it. I am not sure that the macros would work for checking all the profiles on the machine without having someone logged on.

Thoughts? Suggestion? Sample scripts?

Share this post

Link to post
Share on other sites

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
Sign in to follow this