Logo
Lose Weight
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Server

Windows Server 2008 Server Core : Managing PnP Setups Using the PnPUtil Utility & Printing Data Files with the Print Utility

12/1/2011 9:04:53 AM

1. Performing Unattended Driver Installation with the PnPUnattend Utility

The PnPUnattend utility provides helper services for unattended installations. You can also execute it from the command line to obtain information about installation progress and to create a log file of the installation. This utility uses the following syntax:

PnPUnattend.exe [/auditSystem] [/s] [/L]

The following list describes each of the command line arguments.


/auditSystem

Performs an unattended driver installation.


/s

Searches for the required driver installation information, without performing an install.


/L

Creates a log file of any installation.

2. Managing PnP Setups Using the PnPUtil Utility

You can use the PnPUtil utility to perform a driver installation from the command line. In addition, the options let you remove or edit driver information based on the content of an INF file, which you must always provide. This utility uses the following syntax:

PnPUtil.exe [-f | -i] [-a | -d | -e ] <INFname>

The following list describes each of the command line arguments.


-f

Forces the utility to perform the specified action (add, edit, or delete).


-i

Performs a standardized installation when used with -a based on the INF content.


-a

Adds the device driver specified by the INF file to the system. However, adding the device driver simply makes it available for installation. You must combine this command line switch with the -i command line switch to actually install the driver.


-d

Deletes the device driver specified by the INF file from the system. The INF file normally has oem, followed by a number, followed by INF, such as oem0.inf. Deleting an OEM (Original Equipment Manufacturer) driver has the effect of uninstalling the device driver. You can obtain a list of OEM drivers using the -e command line switch.


-e

Enumerates all of the third-party drivers currently installed on the system, but doesn't do anything with them. This is the only command line switch that doesn't require you to provide an INF filename.


INFname

Provides the name of a file containing device driver information. You can use wild-card characters to specify multiple INF files.

3. Printing Data Files with the Print Utility

The Print utility represents the fastest and easiest way to send data to a printer for output. However, you don't have many choices when you use this technique. The only change you can make is to define the print device to use for output. Otherwise, the Print utility relies on all of the defaults that you assign to the printer. This utility uses the following syntax:

PRINT [/D:device] [[drive:][path]filename[...]]

The following list describes each of the command line arguments.


/D:
device

Specifies the device to use for output. The default setting uses the printer attached to LPT1.


drive

Specifies the drive that holds the file for printing. The default is the current drive.


path

Specifies the relative or absolute path of the file you want to print. The default is the current directory.


filename

Specifies one or more files to send to the printer for output.



Other -----------------
- Windows Server 2008 Server Core : Managing Power Settings with the PowerCfg Utility
- Windows Server 2003 : Setting Up the Group Policy Software Installation Extension (part 2) - Configuring the Group Policy Software Installation Extension
- Windows Server 2003 : Setting Up the Group Policy Software Installation Extension (part 1) - Creating a Software Distribution Point
- Windows Server 2003 : Using the Group Policy Software Installation Extension & Finding the Right Mix of Services
- Active Directory Domain Services 2008 : Modify a Group Object General Properties & Modify a Group Object Scope
- Active Directory Domain Services 2008 : Add a Group to a Group
- Microsoft Dynamic GP 2010 : Splitting AP across departments automatically with Control Account Management
- Microsoft Dynamic GP 2010 : Getting early warnings with Business Alerts
- SQL Server 2008 R2 : Managing the Optimizer (part 3) - Using Plan Guides & Limiting Query Plan Execution with the Query Governor
- SQL Server 2008 R2 : Managing the Optimizer (part 2) - Forced Parameterization
- SQL Server 2008 R2 : Managing the Optimizer (part 1) - Optimizer Hints
- SQL Server 2008 R2 : Common Query Optimization Problems
- System Center Configuration Manager 2007 : Creating Queries (part 3) - Criterion Type, Operators, and Values
- System Center Configuration Manager 2007 : Creating Queries (part 2) - ConfigMgr Query Builder
- System Center Configuration Manager 2007 : Creating Queries (part 1) - Objects, Classes, and Attributes
- System Center Configuration Manager 2007 : Configuration Manager Queries - Viewing Queries and Query Results
- Microsoft Systems Management Server 2003 : Disaster Recovery - Scheduling Maintenance Tasks
- Microsoft Systems Management Server 2003 : Disaster Recovery - Database Maintenance
- Windows Server 2008 Server Core : Performing a Formatted Printout with Notepad
- Windows Server 2008 Server Core : Obtaining General System Information with the MSInfo32 Utility
 
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Top 10
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
- MDT's Client Wizard : Application Properties
- MDT's Client Wizard : Operating System Properties
- MDT's Client Wizard : Customizing the Deployment Share
- Windows Server 2012 : Software and User Account Control Administration (part 5) - Maintaining application integrity - Configuring run levels
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro