Well, the shell, rather, my bad. Basically I am changing some GPO settings mid-session, and they apply to explorer.exe (restricting drives in My Computer), so I need to give explorer a bit of a kick to pick up the changed settings from the Registry. So far, all I managed to come up with is terminating and restarting explorer - does the trick, to be fair.
Actually (thinking out loud), I wonder if gpupdate might do the same thing if I run it? On 22 October 2013 09:21, Ken Schaefer <[email protected]> wrote: > What do you mean by “refresh” the desktop? The “desktop” is just a shell > folder(s)**** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *James Rankin > *Sent:* Tuesday, 22 October 2013 7:17 PM > *To:* [email protected] > *Subject:* [NTSysADM] Desktop refresh**** > > ** ** > > One final thing - is there any way to programatically sort of "refresh" > the desktop? At the moment I'm having to kill and restart explorer.exe, > which does the trick, but feels like smashing a door down with a > sledgehammer rather than subtly picking the lock.**** > > ** ** > > Cheers,**** > > ** ** > > ** ** > > -- > *James Rankin* > Technical Consultant (ACA, CCA, MCTS) > http://appsensebigot.blogspot.co.uk**** > -- *James Rankin* Technical Consultant (ACA, CCA, MCTS) http://appsensebigot.blogspot.co.uk

