Gpfixup Command In Windows Server 2008

In this article I will discuss about how to use the gpfixup command in Operating System.
  • 4646

Introduction

Gpfixup command is command-line tool built in Windows Server 2008.  Gpfixup in Windows Server 2008  is used to fix domain name dependencies in Group Policy Objects (GPOs) and Group Policy links after a domain rename operation.

Syntax

Gpfixup [/v]
[ /olddns:<OLDDNSNAME> /newdns:<NEWDNSNAME>]
[ /oldnb:<OLDFLATNAME> /newnb:<NEWFLATNAME>]
[/dc:<DCNAME>] [ /sionly]
[/user:<USERNAME> [ /pwd:{<PASSWORD>|*}]] [/?]

Parameters of Gpfixup command

Parameter Description
/v Show detailed status message.
/oldns:<OLDDNSNAME> Old DNS name of the renamed domain is OLDDNSNAME when the DNS name of the domain is changed. This parameter can only if /newdns is specified.
/newdns:<NEWDNSNAME> New DNS name of the renamed domain is NEWDNSNAME if the DNS name of domain is changed. This parameter can only if /olddns is specified.
/oldnb:<OLDFLATNAME> Old NetBIOS name of the renamed domain as OLDFLATNAME if NetBIOS name of a domain is changed. This parameter can only if /newnb is specified.
/newnb:<NEWFLATNAME> New NetBIOS name of the renamed domain as NEWFLATNAME if NetBIOS name of a domain is changed. This parameter can only if /oldnb is specified.
/dc:<DCNAME> Connect DC to the domain controller named DCNAME (a DNS name or a NetBIOS name).
/sionly Performs only the Group Policy fix that relates to managed software installation .
/user:<USERNAME> Runs this command in the security context of user <username>.
/pwd:{<PASSWORD>|*} Password for the user USERNAME; if * is specified
instead of a password then prompt for password.

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.