Prndrvr.vbs Command In Windows Server 2008

This article shows how to use Prndrvr.vbs command in Windows Server 2008 operating system.
  • 1436

Introduction

Prndrvr.vbs command in Windows Server 2008 is used to adds, deletes and lists printer drivers. Syntax used for Prndrvr.vbs command is given below.

Syntax

Cscript prndrvr {-a | -d | -l | -x | -?} [-m <model>] [-v {0 | 1 | 2 | 3} [-e <environment>] [-u <UserName>] [-w <Password>] [-h <path>] [-i <inf file>]

Parameters For Prndrvr.vbs

Parameter Description
-a Installs a driver.
-d Deletes a driver.
-l Lists all printer drivers installed on the server specified by the -s parameter.
-x Deletes all printer drivers and additional printer drivers not in use by a logical printer on the server specified by the -s parameter.
-m <DriverModelName> Defines the driver you want to install.
-v {0 | 1 | 2 | 3} Defines the version of the driver you want to install.
-e <Environment> Defines the environment for the driver you want to install.
-s <ServerName> Defines the name of the remote computer that hosts the printer that you want to manage.
-u <UserName> -w <Password> Defines an account with permissions to connect to the computer that hosts the printer that you want to manage.
-h <Path> Defines the path to the driver file.
-i <Filename.inf> Defines the complete path and file name for the driver you want to install.
/? Shows help at the command prompt.

Ask Your Question 

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

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.