Guess this one needs a logoff (or at least a restart of the shell), because gpupdate doesn't cut it in this situation :-(
On 22 October 2013 10:06, Micheal Espinola Jr <[email protected]>wrote: > yea - thats what gpupdate is for - but it depends on what in the policy is > being updated. Something may require a logoff,while others a reboot. > > -- > Espi > > > > On Tue, Oct 22, 2013 at 1:27 AM, James Rankin <[email protected]>wrote: > >> 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 >> > > -- *James Rankin* Technical Consultant (ACA, CCA, MCTS) http://appsensebigot.blogspot.co.uk

