gpupdate /force prompts for a reboot

Posted on 2010-09-15
Last Modified: 2012-05-10
I'm running the command "gpupdate /force" on my login script. I get this error:

Refreshing Policy...

User Policy Refresh has completed.
Computer Policy Refresh has completed.

Certain Computer policies are enabled that can only run during startup.

OK to Reboot?. (Y/N)

I've tried hitting "yes" but I keep getting the same error.  It appears to be a rights issue because I logged in as me with network administrator rights and I did not get the error.  I did narrow it down to something in the Default Domain Policy. If I run the gpudate without the /force option it finishes and closes, but I'm not sure what the repercussions are of taking off that switch. Ideas?
Question by:Stevenscs
LVL 16

Accepted Solution

uescomp earned 167 total points
ID: 33683419
if your running gpupdate /force on the server you probably will get an error message due to the features on the server that would like a reason for the restart etc, on all servers they wont let you shut down/restart until you hit restart/shutdown (select it) a second time and lets you put in notes on why you are doing so.

Otherwise there is not much of a difference, using force just basically is a backup with the restart because rebooting the pc will update the policy.
LVL 33

Assisted Solution

by:Todd Gerbert
Todd Gerbert earned 167 total points
ID: 33683449
That's expected behavior when using the /force switch.
You shouldn't need to run gpupdate in your login script, group policies are already being processed at computer startup and user login.

Expert Comment

ID: 33683463
Users dont have rights on local computer which might be causing this issue.
Check if below article helps you
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

LVL 47

Assisted Solution

by:Donald Stewart
Donald Stewart earned 166 total points
ID: 33683488
Go over...
 Changing the Group Policy Refresh Interval 
LVL 33

Expert Comment

by:Todd Gerbert
ID: 33683492
Just to clarify...if you run "gpupdate" the group policy processing client attempts to perform optimizations and only processes what it believes has changed, the "/force" switch causes it to always re-process all policies whether they've changed or not.  Depending on what your policies are will determine if a reboot is needed, and the "/boot" switch - which is what I believe usecomp is referring to - will cause an automatic restart if gpupdate deems it necessary.
LVL 33

Expert Comment

by:Todd Gerbert
ID: 33683569
In addition to background updates, computer Group Policy is always updated when the system starts.
In addition to background updates, Group Policy for users is always updated when users log on.
LVL 47

Expert Comment

by:Donald Stewart
ID: 33683606
Didnt I just post that link?
LVL 33

Expert Comment

by:Todd Gerbert
ID: 33683620
Didn't realize it was the same document...just reinforcing that gpupdate is redundant in a login script.

Author Closing Comment

ID: 33683937
Thank a lot, you guys are great!

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
no display on laptop 5 83
Can’t delete a file 14 180
Possible to add Windows XP source CD to MDT 2013 update 2? 1 41
Can CPU usage be related to low memory? 8 36
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Note: This is the second blog post in a series on email clearinghouses (   Every month t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question