CmdID

CmdID / Commands

gpfixup

Fixes domain name dependencies in Group Policy Objects and Group Policy links after a domain rename operation. Windows commands reference

On Windows File gpfixup.exe

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Fixes domain name dependencies in Group Policy Objects and Group Policy links after a domain rename operation. To use this command, you must install Group Policy Management as a feature through Server Manager.

gpfixup [/v]
[/olddns:<olddnsname> /newdns:<newdnsname>]
[/oldnb:<oldflatname> /newnb:<newflatname>]
[/dc:<dcname>] [/sionly]
[/user:<username> [/pwd:{<password>|*}]] [/?]
gpfixup /olddns: MyOldDnsName /newdns:MyNewDnsName /oldnb:MyOldNetBIOSName /newnb:MyNewNetBIOSName /dc:MyDcDnsName 2>&1 >gpfixup.log
gpfixup /olddns: MyOldDnsName /newdns:MyNewDnsName /dc:MyDcDnsName 2>&1 >gpfixup.log
/vDisplays detailed status messages. If this parameter isn't used, only error messages or a summary status message stating, SUCCESS or FAILURE appears.
/olddns:<olddnsname>Specifies the old DNS name of the renamed domain as <olddnsname> when the domain rename operation changes the DNS name of a domain. You can use this parameter only if you also use the /newdns parameter to specify a new domain DNS name.
/newdns:<newdnsname>Specifies the new DNS name of the renamed domain as <newdnsname> when the domain rename operation changes the DNS name of a domain. You can use this parameter only if you also use the /olddns parameter to specify the old domain DNS name.
/oldnb:<oldflatname>Specifies the old NetBIOS name of the renamed domain as <oldflatname> when the domain rename operation changes the NetBIOS name of a domain. You can use this parameter only if you use the /newnb parameter to specify a new domain NetBIOS name.
/newnb:<newflatname>Specifies the new NetBIOS name of the renamed domain as <newflatname> when the domain rename operation changes the NetBIOS name of a domain. You can use this parameter only if you use the /oldnb parameter to specify the old domain NetBIOS name.
/dc:<dcname>Connect to the domain controller named <dcname> (a DNS name or a NetBIOS name). <dcname> must host a writable replica of the domain directory partition as indicated by one of the following: - The DNS name <newdnsname> by using /newdns - The NetBIOS name <newflatname> by using /newnb If this parameter isn't used, you can connect to any domain controller in the renamed domain indicated by <newdnsname> or <newflatname>.
/sionlyPerforms only the Group Policy fix that relates to managed software installation (the Software Installation extension for Group Policy). Skip the actions that fix Group Policy links and the SYSVOL paths in GPOs.
/user:<username>Runs this command in the security context of the user <username>, where <username> is in the format domain\user. If this parameter isn't used, this command runs as the logged in user.
/pwd:{<password> | *}Specifies the password for the user.
/?Displays Help at the command prompt.