1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Windows Server 2008 Inside Out- P19 pptx

50 381 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 50
Dung lượng 1,25 MB

Nội dung

In the Specify A Printer dialog box, choose a method for fi nding the network printer as follows:  Choose Find A Printer In The Directory if you want to search Active Directory for the printer.  Choose Connect To This Printer, and type the printer name or browse the net- work for shared printers just as you’d browse in My Network Places.  Choose Connect To A Printer On The Internet if you want to enter the Uniform Resource Locator (URL) of an Internet printer. When the printer is selected, click OK. Select whether the printer is the default used by Windows applications by selecting Yes or No and then clicking Next. Click Finish to complete the operation. Connecting to Shared Printers Using the Command Line and Scripts With any Windows operating system, you can connect users to shared printers using the command line and scripts. In a logon script that uses batch scripting or at the com- mand line, you can use the Net Use command to connect to a network printer. Consider the following example: net use \\corpsvr02\engmain /persistent:yes Here, you use the Net Use command to add a persistent connection to the EngMain printer on CORPSVR02. That’s all there is to it. You could also use Microsoft VBScript in a logon script to set a printer connection. With VBScript, you must initialize the variables and objects you plan to use and then call the AddWindowsPrinterConnection method of the Network object to add the printer connection. If desired, you can also use the SetDefaultPrinter method of the Network object to set the printer as the default for the user. After you are done using variables and objects, it is good form to free the memory they use by setting them to vbEmpty. Consider the following example: Option Explicit Dim wNetwork, printerPath Set wNetwork = WScript.CreateObject("WScript.Network") printerPath = "\\corpsvr02\engmain" wNetwork.AddWindowsPrinterConnection printerPath wNetwork.SetDefaultPrinter printerPath Set wNetwork = vbEmpty Set printerPath = vbEmpty Here, you use the AddWindowsPrinterConnection method to add a connection to the EngMain printer on CORPSVR02. You then use the SetDefaultPrinter method to set the printer as the default for the user. Setting Up Print Servers 867 Chapter 26 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Deploying Printer Connections As you’ve seen, it is fairly easy to connect to shared printers. That said, however, you can make the process even easier by deploying printer connections to computers or users via the Group Policy objects (GPOs) that Windows applies. When choosing whether to deploy printer connections to computers or users, keep the following in mind:  Deploy to groups of computers when you want all users of the computers to access the printers. For per-computer connections, Windows adds or removes printer connections when the computer starts.  Deploy to groups of users when you want users to be able to access the printers from any computer they log on to. For per-user connections, Windows adds or removes printer connections when the user logs on. To deploy printer connections to computers running Windows Vista or later, you must follow these steps: 1. In Print Management, expand the Print Servers node and the node for the server you want to work with. 2. Select the server’s Printers node. In the main pane, right-click the printer you want to deploy and then select Deploy With Group Policy. This displays the Deploy With Group Policy dialog box, shown in Figure 26-12. Figure 26-12 Choose the GPO you want to work with. 3. Click Browse. In the Browse For Group Policy Object dialog box, select the GPO to use and then click OK. Chapter 26 868 Chapter 26 Deploying Print Services Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. 4. Do one or both of the following and then click Add to create a print connection entry:  To deploy the printer connection on a per-user basis, select the The Users That This GPO Applies To (Per User) check box under Deploy This Printer Connection To The Following.  To deploy the printer connection on a per-computer basis, select the The Computers That This GPO Applies To (Per Machine) check box under Deploy This Printer Connection To The Following. 5. Repeat steps 3 and 4 to deploy the printer connection to other GPOs. 6. Click OK to save the GPO changes. To deploy printer connections to computers running versions of Windows earlier than Windows Vista, you must follow these steps: 1. In the Group Policy Management Console (GPMC), right-click the GPO for the site, domain, or organizational unit you want to work with and then select Edit. This opens the policy editor for the GPO. 2. In the Group Policy Management Editor, do one of the following:  To deploy the printer connections on a per-computer basis, double-click the Windows Settings folder in the Computer Confi guration node. Then click Scripts.  To deploy the printer connections on a per-user basis, double-click the Win- dows Settings folder in the User Confi guration node. Then click Scripts. 3. Using Windows Explorer, copy PushPrinterConnections.exe from the %SystemRoot%\System32 folder to the Computer\Scripts\Startup, User\Scripts\ Logon, or the User\Scripts\Logoff folder for the related policy. Policies are stored in the %SystemRoot%\Sysvol\Domain\Policies folder on domain controllers. 4. In the Group Policy Management Editor, right-click Startup or Logon and then select Properties. 5. In the Startup Or Logon Properties dialog box, click Show Files. If you copied the executable to the correct location in the Policies folder, you should see the executable. 6. In the Startup Or Logon Properties dialog box, click Add. This displays the Add A Script dialog box. 7. In the Script Name text box, type PushPrinterConnections.exe and then click OK. Setting Up Print Servers 869 Chapter 26 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Confi guring Point and Print Restrictions In Group Policy, the Point And Print Restrictions setting controls several impor- tant aspects of printer security. For Windows XP Professional and later versions of Windows, the setting controls the servers to which a client computer can connect for point and print. For Windows Vista and later, the setting controls security warnings and elevation prompts when users point and print as well as when drivers for printer connections need to be confi gured. Table 26-1 summarizes how this policy setting is used. Table 26-1 Point and Print Restrictions When the Policy Setting Is… The Policy Works As Follows Enabled Windows XP and Windows Server 2003 clients can only point and print to an explicitly named list of servers in the forest. Windows Vista and later clients can point and print to any server. You can confi gure Windows Vista and later clients to show or hide warning and elevation prompts when users point and print and when a driver for an existing printer connection needs to be updated. Not Confi gured Windows XP and later clients can point and print to any server in the forest. Windows Vista and later clients also will not show a warning and elevation prompt when users point and print or when a driver for an existing printer connection needs to be updated. Disabled Windows XP and later clients can point and print to any server. Windows Vista and later clients also will not show a warning and elevation prompt when users point and print or when a driver for an existing printer connection needs to be updated. By default, Windows Vista and Windows Server 2008 allow a user who is not a mem- ber of the local Administrators group to install only trustworthy print drivers, such as those provided by Windows or in digitally signed print driver packages. When you enable the Point And Print Restrictions setting, you also allow users who are not mem- bers of the local Administrators group to install printer connections deployed using Group Policy that include additional or updated print drivers that are not in the form of digitally signed print driver packages. If you do not enable this setting, users might need to provide the credentials of a user account that belongs to the local Administra- tors group. You can enable and confi gure the Point And Print Restrictions setting in Group Policy by following these steps: 1. In the Group Policy Management Console (GPMC), right-click the GPO for the site, domain, or organizational unit you want to work with and then select Edit. This opens the policy editor for the GPO. Chapter 26 870 Chapter 26 Deploying Print Services Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. 2. In the Group Policy Management Editor, expand User Confi guration\ Administrative Templates\Control Panel and then select the Printers node. 3. In the main pane, double-click Point And Print Restrictions. In the Point And Print Restrictions Properties dialog box, shown in Figure 26-13, select Enabled. Figure 26-13 Configure point and print restrictions. 4. When you enable pointing and printing restrictions, you can confi gure policy so that users can only point and print to a named list of servers. To enforce this restriction, select the related check box and enter a list of fully qualifi ed server names separated by semicolons. To remove this restriction, clear the Users Can Only Point And Print To These Servers check box. 5. When you enable pointing and printing restrictions, you can confi gure policy so that users can only point and print to servers in their forest. To enforce this restriction, select the related check box. To remove this restriction, clear the Users Can Only Point And Print To Machines In Their Forest check box. 6. When you install drivers for a new connection, Windows Vista and later clients can show or not show a warning or elevation prompt. Use the related selection list to choose the desired option. 7. When you update drivers for an existing connection, Windows Vista and later clients can show or not show a warning or elevation prompt. Use the related selection list to choose the desired option. Click OK to save your policy settings. Setting Up Print Servers 871 Chapter 26 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Managing Printers Throughout the Organization Print Management should be your tool of choice for working with printers and print servers. After you install Print Services, Print Management is available as a stand-alone console on the Administrative Tools menu. You can also add Print Management as a snap-in to any custom console you’ve created. Using Print Management, you can install, view, and manage all of the printers and Windows print servers in your organization. Managing Your Printers Print Management allows you to manage local print servers. You can manage and moni- tor other print servers in the organization by adding them to the console, provided these print servers are running Windows 2000 or later. If the printer provides a Web- based management interface, Print Management can display additional information about the printer’s status, its physical properties, and its confi guration, and sometimes allows remote administration. To manage a remote print server, you must be a member of the local Administrators group on the print server or a member of the Administrators group in the domain of which the print server is a member. When you select a print server’s Printers node, as shown in Figure 26-14, the main pane lists the associated printer queues by printer name, queue status, number of jobs in the queue, and server name. If you right-click Printers and then select Show Extended View, you can turn on the Extended view. Extended view makes it easy to track the status of both printers and print jobs by dis- playing detailed information about the print job. Additionally, if the printer has a Web page, Extended view displays a Printer Web Page tab that lets you directly access the printer’s Web page. Figure 26-14 Use Print Management to manage your print servers and printers. To add print servers to Print Management, follow these steps: 1. In Print Management, right-click the Print Servers node in the left pane and then select Add/Remove Servers. Chapter 26 872 Chapter 26 Deploying Print Services Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. 2. In the Add/Remove Servers dialog box, shown in Figure 26-15, you’ll see a list of the print servers you’ve previously added. Do one of the following and then click Add The Local Server:  In the Add Servers list box, type or paste the names of the print servers you want to add, using commas to separate computer names.  Click Browse to display the Select Print Servers dialog box. Click the print server you want to use and then click Select Server. 3. Repeat the previous step as necessary and then click OK. Figure 26-15 Add print servers to Print Management so that you can manage and monitor them. To remove print servers from Print Management, follow these steps: 1. In Print Management, right-click the Print Servers node in the left pane and then select Add/Remove Servers. 2. In the Add/Remove Servers dialog box, you’ll see a list of the print servers that are being monitored. Under Print Servers, select one or more servers, and then click Remove. Migrating Printers and Print Queues You can use the Printer Migration Wizard to move printers and their print queues from one print server to another. This is an effi cient way to consolidate multiple print servers or replace an older print server. Managing Printers Throughout the Organization 873 Chapter 26 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. When you move printers, the server on which the printers are currently located is the source server, and the server to which you want to move the printers is the destination server. With this in mind, you can move printers to a new print server by following these steps: 1. In Print Management, right-click the source server and then click Export Printers To A File. This starts the Printer Migration Wizard. 2. On the initial page, shown in Figure 26-16, note the printer-related objects that will be exported and then click Next. Figure 26-16 Review the printer objects to be exported. 3. On the Select The File Location page, click Browse. In the dialog box provided, select a save location for the printer migration fi le. After you type a name for the fi le, click Open. 4. Printer migration fi les are saved with the .printerExport extension. Click Next to save the printer settings to this fi le. 5. After the wizard completes the export process, click Open Event Viewer to review the events generated during the export process. If an error occurred during processing, you can use the event entries to determine what happened and possible actions to take to resolve the problem. When you are fi nished, exit the Event Viewer. 6. On the Exporting page, click Finish to exit the Printer Migration Wizard. 7. In Print Management, right-click the destination server and then click Import Printers From A File. This launches the Printer Migration Wizard. Chapter 26 874 Chapter 26 Deploying Print Services Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. 8. On the Select The File Location page, click Browse. In the dialog box provided, select the printer migration fi le you created previously, as shown in Figure 26-17, and then click Open. Figure 26-17 Select the printer migration file. 9. Click Next. Note the objects that will be imported and then click Next. On the Select Import Options page, shown in Figure 26-18, choose one of the following options in the Import Mode selection list:  Keep Existing Printers; Import Copies When you choose this option and existing printer queues have the same names as those you are importing, the wizard will create copies to ensure that the original printer queues and the imported printer queues are both available.  Overwrite Existing Printers When you choose this option and existing printer queues have the same names as those you are importing, the wizard will overwrite the existing printer queues with the information from the printer queues you are importing. 10. On the Select Import Options page, choose one of the following options in the List In The Directory list:  List Printers That Were Previously Listed Choose this option to ensure that only printers that were previously listed are listed in Active Directory.  List All Printers Choose this option to ensure that all printers are listed in Active Directory.  Don’t List Any Printers Choose this option to ensure that no printers are listed in Active Directory. Managing Printers Throughout the Organization 875 Chapter 26 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Figure 26-18 Choose the import options for the migration. 11. Click Next to begin the import process. After the wizard completes the import process, click Open Event Viewer to review the events generated during the import process. If an error occurred during processing, you can use the event entries to determine what happened and possible actions to take to resolve the problem. When you are fi nished, exit the Event Viewer. 12. On the Importing page, click Finish to exit the Printer Migration Wizard. Monitoring Printers and Printer Queues Automatically You can use print fi lters to display only the printers, printer queues, and print drivers that meet specifi c criteria. Through automated notifi cation, you can also use printer fi lters to automate monitoring of printers. In Print Management, you can view existing fi lters by expanding the Custom Filters node. If you expand the Custom Filters node and then select a fi lter, the main pane will show all printers or print drivers that match the fi lter criteria. Print Management includes the following default print fi lters:  All Printers Lists all printers associated with print servers that have been added to the console  All Drivers Lists all print drivers associated with print servers that have been added to the console  Printers Not Ready Lists all printers that are not in a Ready state, such as those with errors  Printers With Jobs Lists all printers associated with print servers that have active or pending print jobs Chapter 26 876 Chapter 26 Deploying Print Services Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. [...]... Clients When a print server runs Windows Server 2008, print drivers can be installed and updated automatically on clients as discussed in “Understanding Windows Server 2008 Print Services” on page 841 A client downloads print drivers the first time it accesses a printer and any time the print drivers have been updated By default, printers installed on a Windows Server 2008 network support Windows 2000 or... Print Server Properties Print server properties control the global settings for all printers on a server You can access print server properties from Print Management In Print Management, when you select a server node, you’ll see additional nodes for Drivers, Forms, Ports, and Printers By selecting these nodes, you can determine the drivers, forms, ports, and printers that are configured on the print server. .. In Print Management, select the Forms node for the server, right-click the form, and then select Delete Viewing and Configuring Printer Ports Ports are used to define the interfaces and TCP/IP addresses to which the print server can connect Using the Print Server Properties dialog box, you can view and manage all the ports configured for use on the print server This gives you one location for viewing, adding,... configured on the print server By right-clicking the print server and then selecting Properties, you can configure settings for all printers, including the following: Forms Ports Drivers Advanced settings Viewing and Creating Printer Forms Forms are used by print servers to define the standard sizes for paper, envelopes, and transparencies Print servers have many predefi ned forms from which you can choose,... or groups to add 4 The default location is the current domain Click Locations to see a list of the available domains and other resources that you can access Because of the transitive trusts in Windows Server 2008, you can usually access all the domains in the domain tree or forest 5 Type the name of a user or group account in the selected or default domain, and then click Check Names The options available... Split-Merge on www.verypdf.com to remove this watermark Managing Print Server Properties 887 Chapter 27 To work with ports, right-click the print server in Print Management and then select Properties Then click the Ports tab, as shown in Figure 27-7 If you want to view or change a port’s settings, select it in the Ports On This Server list and then click Configure Port For details on configuring TCP/IP... configure the print spool, logging, and notification settings, right-click the print server and then select Properties Then click the Advanced tab As shown in Figure 27-9, you can configure the following options: 890 Chapter 27 Managing and Maintaining Print Services Beep On Errors Of Remote Documents Windows 2000 and Windows XP clients display a warning balloon in the notification area when a document... printer permissions, follow these steps: 1 In Print Management, expand the Print Servers node and the node for the server you want to work with Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Chapter 27 Configuring Printer Permissions 882 Chapter 27 Managing and Maintaining Print Services 2 Select the server s Printers node In the main pane, right-click the printer you want to... to clients for automatic download, including: Chapter 27 Itanium-based drivers Used on 64-bit Windows systems with the Intel Itanium processor architecture x86 user-mode drivers Used on Windows 2000 and later systems running 32-bit processors for Intel x86-based architectures x64 user-mode drivers Used on Windows 2000 and later systems running 64-bit processors You confirm and configure print driver... print processor for Windows systems is Winprint Other print processors can be installed when you set up a printer The print processor and the default data type for the processor determine how much processing the printer performs As discussed previously, the RAW data type is processed on the client and minimally processed on the print server The EMF data type is sent to the print server for processing . Follows Enabled Windows XP and Windows Server 2003 clients can only point and print to an explicitly named list of servers in the forest. Windows Vista and. existing printer connection needs to be updated. By default, Windows Vista and Windows Server 2008 allow a user who is not a mem- ber of the local Administrators

Ngày đăng: 14/12/2013, 16:15

TỪ KHÓA LIÊN QUAN

w