As others have noted...
I am able to reproduce always, with gpupdate /force with the following caveats:
- The same instance of Explorer window will only steal foreground/focus once, and not again, during subsequent gpupdate /force's
- If the Explorer window is ever minimized previously, it does not seem to steal foreground/focus during gpupdate /force
@Diplocaulus, try:
- Completely closing windows explorer
- Open Windows Explorer
- Background Windows Explorer, but do not minimize, by selecting any other window (including your command window)
- Run the command "gpupdate /force"
I tried it again, but on my system it does not cause the Explorer window to pop into the foreground.
For what it's worth, with all this talk about the Group Policy I tried to open the Group Policy Editor by following these steps:
To open the Local Group Policy Editor via Task Manager:
- Right-click the Start icon to open the Power User menu.
- Select Task Manager from the list.
- Click the Run new task button at the top.
- Type gpedit. msc in the search box and click OK to open the Local Group Policy Editor.
Results in an error:
[Window Title]
gpedit.
[Content]
Windows cannot find 'gpedit.'. Make sure you typed the name correctly, and then try again.
[OK]
Windows "Home" does not include gpedit.msc (or "local/group policy"), but I assume there is some sort of policy happening in the background.
It is interesting to note that you cannot reproduce this consistently with gpupdate /force on Windows "Home."