lowrider2025 Posted August 9, 2018 Posted August 9, 2018 I have found several techniques to rebuild icon cache however almost all of them cannot interact with desktop from user that is logged in. I have some SCCM like software that installs software under system account. 1) kill explorer + start explorer > works for all user sessions 2) ie4uinit -cleariconcache > no impact on logged in user desktop session 3) SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL) > no impact on logged in user desktop session Is there a less abrupt way than option 1 to rebuild icon cache for all current desktop sessions ?
lowrider2025 Posted August 9, 2018 Author Posted August 9, 2018 Could 2 or 3 be run with CreateProcessAsUser ?
Earthshine Posted August 9, 2018 Posted August 9, 2018 Nope. And you actually need to delete the icon db when you kill explorer My resources are limited. You must ask the right questions
lowrider2025 Posted August 9, 2018 Author Posted August 9, 2018 9 minutes ago, Earthshine said: Nope. And you actually need to delete the icon db when you kill explorer I know, just too lazy to type the whole procedure OK, so killing explorer it is then...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now