approve-AutoAddDevices Command In Windows Server 2008

In this article I am going to explain about approve-AutoAddDevices Command in Windows Server 2008 operating system and also explain it's related syntax.
  • 1603

Introduction

In this we approves computers that are pending administrative approval and when the Auto-Add policy is enabled, administrative approval is required before unknown computers  can install an image.

Syntax

 

WDSUTIL [Options] /Approve-AutoAddDevices [/Server:<Server name>] /RequestId:{<Request ID>| ALL} [/MachineName:<Device name>] [/OU:<DN of OU>]
[/User:<Domain\User | [email protected]>] [/JoinRights:{JoinOnly | Full}] [/JoinDomain:{Yes | No}] [/ReferralServer:<Server name>] [/BootProgram:<Relative path>] [/WdsClientUnattend:<Relative path>] [/BootImagePath:<Relative path>]

 

 Parameter  Description
[/Server:<Server name>] In this we specifies the name of the server. This can be either the NetBIOS name or the fully qualified domain name.
/RequestId:{Request ID | ALL} In this we specifies the request ID assigned to the pending computer.
[/MachineName:<Device name>] In this we specifies the name of the computer to be added.
[/OU:<DN of OU>] In this we specifies the distinguished name of the organizational unit where the computer account object should be created.
[/User:<Domain\User | [email protected]>] here we sets permissions on the computer account object to assign the specified user the necessary rights.
[/JoinRights:{JoinOnly | Full}] here we specifies the type of rights to be assigned to the specified user.
[/JoinDomain:{Yes | No}] It specifies whether or not the computer should be joined to the domain as this computer account during operating system installation. The default value is Yes.
[/ReferralServer:<Server name>] In this we specifies the name of the server to be contacted to download the network boot program and boot image by using Trivial File Transfer Protocol
[/BootProgram:<Relative path>] It specifies the relative path from the RemoteInstall folder to the network boot program that this computer should receive.
[/WdsClientUnattend:<Relative path>] It specifies the relative path from the RemoteInstall folder to the unattend file that automates the Windows Deployment Services client.
[/BootImagePath:<Relative path>] It specifies the relative path from the RemoteInstall folder to the boot image that this computer should receive.

Example
 

WDSUTIL /Approve-AutoAddDevices /RequestId:12

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.