Solved

how to refresh GPO remotly

Posted on 2014-12-22
7
428 Views
Last Modified: 2014-12-22
I want to send a command through Lansweeper to refresh computer policy

so basically what I want to do is

 psexec \\{smartname} gpupdate /force /boot

but it doesn't work

psexec \\{smartname} gpupdate

works fine by the way
0
Comment
Question by:Physimed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 3

Expert Comment

by:kola12
ID: 40512881
Hi. You should use " mark.
Try this:
psexec \\{smartname} "gpupdate /force /boot"

By the way... in my environment work booth of comands:
psexec \\{smartname} "gpupdate /force /boot" and psexec \\{smartname} gpupdate /force /boot
0
 

Author Comment

by:Physimed
ID: 40512921
Doesn't work :(

Lansweeper give this message; Errorcode: 80020009
0
 
LVL 3

Assisted Solution

by:kola12
kola12 earned 500 total points
ID: 40512933
Try on one remote computer this:
psexec \\{smartname} cmd

When you connect to remote pc execute:
gpupdate /force /boot

If you have permissions you will be do this without error
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 3

Expert Comment

by:TropicalBound
ID: 40512934
Error Code 80020009 can indicate that the path is not found.   Try this (In this example, psexec is located in C:\PSTools.  Modify accordingly for your folder structure):

cmd /K C:\PSTools\psexec \\{smartname} "gpupdate /force /boot"
0
 

Author Comment

by:Physimed
ID: 40512938
not working either

I'm quite sure my path is good because the command psexec \\{smartname} gpupdate

(without parameters) is working fine
0
 
LVL 3

Accepted Solution

by:
kola12 earned 500 total points
ID: 40512944
Try on one remote computer this:
psexec \\{smartname} cmd

When you connect to remote pc execute:
gpupdate /force /boot

If you have permissions you will be do this without error
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40512945
Kola12's advice will solve it.
Please note that specops has a free ADUC mmc menu extension that will perform what you need:
http://www.specopssoft.com/products/specops-gpupdate
(as well as restart/shutdown/update search/wake-on-LAN)
0

Featured Post

Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

Question has a verified solution.

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

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

627 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