The public have spoken @WilliamsFormula1Team
seen from United States
seen from United States
seen from United States
seen from United States

seen from Sweden

seen from Macao SAR China
seen from Sweden

seen from Canada
seen from Sweden

seen from United States

seen from Canada
seen from United States

seen from United States

seen from Canada
seen from Canada

seen from United States

seen from Malaysia
seen from Vietnam
seen from United States
seen from Russia
The public have spoken @WilliamsFormula1Team
In diesem Tutorial verwenden wir GPUpdate Force über die PowerShell. Gruppenrichtlinien können Vorort und Remote aktualisiert werden. (MCSA)
Gruppenrichtlinien aktualisieren mit GPUpdate Force: Für Clients und Remote
Möchten wir in einer Microsoft-basierten Umgebung (Server und Clients) die Gruppenrichtlinien aktualisieren, bietet sich der gpupdate /force Befehl an. Zwar würden die neuen Gruppenrichtlinien auch ohne den gpupdate-Befehl aktualisiert werden, in vielen Fällen möchten wir diesen Vorgang aber beschleunigen und die Aktualisierung der GPOs mit sofortiger Wirkung erzwingen...[Weiterlesen]
GPUpdate vs GPUpdate force
GPUpdate vs GPUpdate force
Group Policy is a feature of Windows that facilitates a wide variety of advanced settings that network administrators can use to control the working environment of users and computer accounts in Active Directory. When a Group Policy is created using either the Group Policy Management Editor or via The Local Group Policy editor, these policies aren’t immediately applied to the user and computer…
View On WordPress
Windows - Come aggiornare i Criteri di Gruppo con GPUpdate, Invoke-GPUpdate o GPMC
Qualche giorno fa abbiamo pubblicato un articolo in cui spiegavamo come disabilitare la copia e il download di file via RDP con le Policy di Gruppo (Group Policy) per tutti i client Windows appartenenti alla medesima Active Directory forest. In questo post illustreremo come forzare un aggiornamento immediato di queste Group Policy sui singoli Client (o su tutti i client) utilizzando tre possibili strumenti che Windows mette a nostra disposizione: GPUpdate.exe (da command-line), Invoke-GPUpdate (da PowerShell) e la Console di Gestione Criteri di Gruppo, nota anche come Group Policy Management Console (GPMC).
Introduzione
All'interno di un ambiente Windows Server basato su Active Directory, le impostazioni dei Criteri di Gruppo (Group Policy settings) possono essere aggiornate nei seguenti modi: Utilizzando lo strumento GPUpdate da command-line sui singoli client: questo è il metodo più semplice ed efficace quando vogliamo aggiornare le Group Policy di una singola macchina alla quale abbiamo accesso. Utilizzando il cmdlet Invoke-GPUpdate (Powershell), utilizzabile sia sui singoli client (per aggiornare le Group Policy in locale) che sul controller di dominio (per aggiornare le Group Policy dei client "da remoto"). Si tratta ovviamente di un ottimo metodo per aggiornare i Criteri di Gruppo in quanto consente una grande libertà di azione sia effettuando l'accesso ai singoli client che accedendo direttamente al controller di dominio. Utilizzando la Console di Gestione Criteri di Gruppo, più nota come Group Policy Management Console (GPMC), per aggiornare globalmente tutti i computer all'interno della medesima Organizational Unit. Si tratta sostanzialmente di un metodo alternativo (e del tutto similare) alla modalità più potente consentita dal cmdlet Invoke-GPUpdate che abbiamo citato poco fa. Nei paragrafi successivi vedremo come è possibile utilizzare queste tre tecniche per effettuare l'aggiornamento dei Criteri di Gruppo sulle macchine client.
GPUpdate.exe (CMD)
Utilizzare lo strumento GPUpdate è senz'altro il modo più semplice per aggiornare le Group Policy su una singola macchina client alla quale abbiamo accesso. Per ottenere questo risultato è sufficiente eseguire le seguenti operazioni: Aprire un prompt dei comandi (con privilegi di amministrazione) Digitare ed eseguire il comando seguente: GPUpdate /force
Per informazioni aggiuntive sullo strumento GPUpdate.exe consigliamo di dare un'occhiata alla guida Force a Remote Group Policy Refresh (GPUpdate) su Microsoft docs.
Invoke-GPUpdate (Powershell)
Il cmdlet Invoke-GPUpdate è lo trumento giusto per forzare l'aggiornamento delle Policy di Gruppo su molti computer in modalità "remota", ovvero azionando l'update in modo globale dal Domain Controller anziché eseguendo il comando su ciascun singolo client. Ecco come possiamo utilizzare il cmdlet per effettuare l'aggiornamento di un singolo client: Invoke-GPUpdate -Computer "CONTOSO\COMPUTER-02" -Target "User" Ovviamente, il cmdlet può essere utilizzato anche in modalità batch, ovvero per effettuare un aggiornamento automatico di tutti i client appartenenti alla nostra Organizational Unit. Per utilizzarlo in questo modo dovremo però far uso anche del cmdlet Get-ADComputer, che ci consentirà di ottenere l'elenco dei computer disponibili: in questo modo avremo la possibilità di eseguire Invoke-GPUpdate molteplici volte, una per ogni computer individuato. Ecco un semplice script PowerShell che mostra come ottenere questo risultato: Get-ADComputer –filter * -Searchbase "ou=Accounting, dc=Contoso,dc=com" | foreach{ Invoke-GPUpdate –computer $_.name -force} Ovviamente il cmdlet Invoke-GPUpdate può essere utilizzato anche per aggiornare le Group Policy direttamente da un client, proprio come lo strumento GPUpdate.exe introdotto nel paragrafo precedente; per utilizzarlo in questo modo, è sufficiente eseguirlo senza parametri: Invoke-GPUpdate Per informazioni aggiuntive sul cmdlet Invoke-GPUpdate consigliamo di consultare la pagina Invoke-GPUpdate guide presente sul portale informativo Microsoft docs.
Group Policy Management Console (GPMC)
In quest'ultimo paragrafo vedremo come è possibile utilizzare la Console Gestione Criteri di gruppo (GPMC) di Windows Server per inviare una richiesta di aggiornamento dei Criteri di gruppo per tutti i client registrati nell'unità organizzativa: Avviare la Console Gestione Criteri di Gruppo (GPMC). Nell'albero della console GPMC, individuare l'unità organizzativa per cui si desidera aggiornare i Criteri di gruppo per tutti i computer. E' importante tenere presente che i criteri di gruppo verranno aggiornati anche per tutti i computer che si trovano nelle sotto-unità organizzative contenute nell'Organizational Unit selezionata. Fare clic con il tasto destro del mouse sull'Organizational Unit che si desidera aggiornare, quindi fare clic su Aggiornamento criteri di gruppo. Fare clic su Sì nella finestra di dialogo Forza aggiornamento Criteri di gruppo. Queste operazioni avranno un effetto analogo all'esecuzione di GPUpdate.exe / force dalla riga di comando su tutti i client Windows singolarmente, o all'utilizzo del cmdlet Invoke-GPUpdate descritto nel paragrafo precedente.
Conclusioni
Per il momento è tutto: ci auguriamo che questa guida possa essere d'aiuto ai tanti Amministratori di Sistema che cercano un modo facile ed efficace per aggiornare le Group Policy su uno o più client Windows. Alla prossima! Read the full article
Windows - Force a Remote Group Policy Refresh with GPUpdate
A few days ago we published an article explaining how to disable file copy through RDP using Group Policy for all the Windows clients within the same Active Directory forest. In this post we'll briefly explain how we can force an update of those Group Policies - as well as any other Group Policy which has been globally set up at the Domain Controller level - on any single Windows client machine using either the Group Policy Management Console (GPMC), the GPUpdate command-line tool or a single Powershell script.
Introduction
In a typical Windows Server environment the Group Policy settings can be refreshed in the following ways: Using the GPUpdate command-line tool from any Windows Client Machine: such tool can be effectively used to refresh the Group Policy of a single computer. Using the Invoke-GPUpdate Windows PowerShell cmdlet to refresh Group Policy for a given set of computers, including computers; such method is great to refresh the Group Policy on multiple clients at the same time, including those that are not within the OU structure (such as the clients located in the default computers container); it's also very versatile, since it can be launched from the client machine (local update) or from the domain controller (remote update). Using the Group Policy Management Console (GPMC) to globally refresh all computers in an organizational unit (OU) from one central location. This is the way to go to refresh the Group Policy on all clients using a remote update strategy, thus mimicking the most powerful behaviour of the aforementioned Invoke-GPUpdate cmdlet. In the next paragraphs we'll see how we can effectively use those three methods to achieve our desired result.
GPUpdate.exe (CMD)
The GPUpdate command-line tool is what we should use whenever we need to refresh the Group Policy on a single Windows client machine. To use it, perform the following steps: Open a command-line prompt (with administrative rights) Type the following command: GPUpdate /force That's it.
For additional info about such method, take a look at the Force a Remote Group Policy Refresh (GPUpdate) post from Microsoft docs.
Invoke-GPUpdate (Powershell)
The Invoke-GPUpdate Powershell cmdlet is the way to go when we need to issue or schedule a remote Group Policy refresh on one or multiple computers from the Domain Controller (instead than doing that from the client machine like the previous method allowed to). Here's how the cmdlet can be used to refresh the Group Policy on a single remote computer: Invoke-GPUpdate -Computer "CONTOSO\COMPUTER-02" -Target "User" The Invoke-GPUpdate Powershell cmdlet can also be used to refresh the Group Policy for all the computers in the container. However, in order to do that, we'll also need to use the Get-ADComputer cmdlet to obtain the list of computers in the Computers container: once we do that, we can supply the name of each computer that is returned to the Invoke-GPUpdate cmdlet. Here's a working example that will force a refresh of all Group Policy settings for all computers in the Computers container for the Contoso.com domain: Get-ADComputer –filter * -Searchbase "ou=Accounting, dc=Contoso,dc=com" | foreach{ Invoke-GPUpdate –computer $_.name -force} Needless to say, the Invoke-GPUpdate cmdlet can also be used to refresh the Group Policy from the Windows client, thus mimicking the same behaviour of the previously metnioned GPUpdate.exe command-line tool. To use it in such way, just execute the cmdlet without parameters in the following way: Invoke-GPUpdate For additional info about the Invoke-GPUpdate cmdlet, refer to the Invoke-GPUpdate guide from Microsoft docs.
Group Policy Management Console (GPMC)
Last but not least, let's see how we can take advantage of the Windows Server Group Policy Management Console (GPMC) to issue a Group Policy refresh for all the client registered within the Organizational Unit. Launch the Group Policy Management Console (GPMC). In the GPMC console tree, locate the OU for which you want to refresh Group Policy for all computers. It's worth noting that Group Policy will also be refreshed for all computers that are located in the OUs contained in the selected OU. Right-click the selected OU, and click Group Policy Update. Click Yes in the Force Group Policy update dialog box. Performing the above tasks will have the same effect of running GPUpdate.exe /force from the command line on all the Windows clients individually.
Conclusions
We hope that this tutorial will be useful enough for those System Administrators who are looking for a way to locally or remotely force the update of the Group Policy of their Windows clients. Read the full article
Comandos remoto com PowerShell ou PsExec