หมายเลขบทความ (Article ID): 239088 - รีวิวครั้งสุดท้าย: 8 มกราคม 2554 - Revision: 3.0

เซิร์ฟเวอร์ windows 2000 หรือบริการเทอร์มินัล Windows Server 2003 จะบันทึกเหตุการณ์ 1111, 1105 และ 1106

เคล็ดลับของระบบThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

เนื้อหาบนหน้านี้

ขยายทั้งหมด | ยุบทั้งหมด

อาการ

windows 2000 Terminal Services และบริการเทอร์มินัล Windows Server 2003 สนับสนุนการเปลี่ยนเส้นทางอัตโนมัติของเครื่องพิมพ์ที่มีการกำหนดค่าให้ใช้พอร์ตเฉพาะ (เช่น LPT1, LPT2 หรือ LPT3) บนคอมพิวเตอร์ที่มีเซสชันของไคลเอนต์เปิดโดยผ่านไคลเอ็นต์ของ Remote Desktop โพรโทคอล (RDP) 5 เปลี่ยนเส้นทางเครื่องพิมพ์นี้เกิดขึ้นเมื่อเข้าสู่ระบบ และเกิดขึ้นตามค่าเริ่มต้น

อย่างไรก็ตาม ถ้าคุณกำลังใช้โปรแกรมควบคุมของบริษัทอื่นหรือโปรแกรมควบคุมบางโปรแกรม Microsoft Windows 95/Microsoft Windows 98 บนไคลเอนต์ การเปลี่ยนเส้นทางเครื่องพิมพ์ไม่ทำงาน เมื่อปัญหานี้เกิดขึ้น ข้อความแสดงข้อผิดพลาดต่อไปนี้ถูกบันทึกไว้ในแฟ้มบันทึกเหตุการณ์ของระบบบนเซิร์ฟเวอร์:
ชนิด: ข้อผิดพลาด
รหัสเหตุการณ์: 1111
คำอธิบาย: โปรแกรมควบคุมdrivernameจำเป็นสำหรับเครื่องพิมพ์printertypeไม่รู้จัก ติดต่อผู้ดูแลเมื่อต้องการติดตั้งโปรแกรมควบคุมก่อนที่คุณล็อกอินใหม่อีกครั้ง

ชนิด: ข้อผิดพลาด
รหัสเหตุการณ์: 1105
คำอธิบาย: ข้อมูลความปลอดภัยเครื่องพิมพ์สำหรับการprintername/clientcomputername/ เซสชันตัวเลขไม่สามารถตั้งค่าได้

ชนิด: ข้อผิดพลาด
รหัสเหตุการณ์: 1106
คำอธิบาย: เครื่องพิมพ์ที่ไม่สามารถติดตั้ง

สาเหตุ

เมื่อไคลเอนต์สู่ เซิร์ฟเวอร์ที่ใช้ Windows 2000 หรือเซิร์ฟเวอร์ที่ใช้ Windows Server 2003 ตรวจสอบชื่อของโปรแกรมควบคุมเครื่องพิมพ์บนไคลเอนต์ และค้นหาชื่อโปรแกรมควบคุมเครื่องพิมพ์ที่เหมือนกันในแฟ้ม Ntprint.inf หากไม่พบชื่อของโปรแกรมควบคุม ข้อผิดพลาดจะถูกบันทึกไว้ และไม่มีการเปลี่ยนเส้นทางเครื่องพิมพ์

การแก้ไข

ก่อนการ Windows 2000 Service Pack 2 ที่คุณจะต้องแก้ไข Ntprint.inf แฟ้มเพื่อแก้ไขปัญหานี้ broke ลายเซ็นดิจิทัลบน Ntprint.inf และทำให้ระบบกลับคำเตือนแต่ละครั้งที่เครื่องพิมพ์ใหม่ผู้ใช้ติดตั้ง ขั้นตอนต่อไปนี้เป็นวิธีแนะนำของการแก้ไขปัญหานี้ในขณะนี้ และต้องการให้ Windows 2000 Service Pack 2 หรือรุ่นที่ใหม่กว่าจะใช้เป็นอันดับแรก ถ้าคุณใช้ Windows Server 2003 คุณไม่มีการติดตั้งเฉพาะเซอร์วิสแพ็คให้ทำตามขั้นตอนเหล่านี้ ซึ่งช่วยให้คุณสามารถระบุแฟ้ม.inf ที่แตกต่างกันในรีจิสทรีสำหรับ Windows เพื่อดูว่าไม่สามารถค้นหาโปรแกรมควบคุมใน Ntprint.inf

สิ่งสำคัญนอกจากนี้ยังอาจเกิดข้อผิดพลาด 1110 เหตุการณ์จากอ้างไม่ถูกต้อง INF ชื่ออิงในนั้นPrinterMappingINFNameค่าที่คุณเพิ่ม ตรวจสอบให้แน่ใจว่า คุณใช้ชื่อ INF ที่ถูกต้องสิ่งสำคัญนี้ส่วน วิธี หรืองานประกอบด้วยขั้นตอนที่บอกวิธีการแก้ไขรีจิสทรี อย่างไรก็ตาม ปัญหาร้ายแรงอาจเกิดขึ้นหากคุณปรับเปลี่ยนรีจิสทรีไม่ถูกต้อง ดังนั้น โปรดตรวจสอบให้แน่ใจว่าคุณได้ทำตามขั้นตอนเหล่านี้อย่างระมัดระวัง สำหรับการป้องกันเพิ่มเติม ให้สำรองรีจิสทรีก่อนทำการปรับเปลี่ยน เพื่อที่คุณจะสามารถคืนค่ารีจิสทรีได้หากมีปัญหาเกิดขึ้น สำหรับข้อมูลเพิ่มเติมเกี่ยวกับวิธีการสำรองข้อมูลและคืนค่ารีจิสทรี โปรดคลิกที่หมายเลขบทความต่อไปนี้ เพื่อดูบทความในฐานความรู้ของ Microsoft::
322756  (http://support.microsoft.com/kb/322756/ ) วิธีการสำรองข้อมูลและคืนค่ารีจิสทรีใน Windows
  1. เปิด Regedt32.exe และค้นหาคีย์ต่อไปนี้:
    Server\Wds\rdpwd HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
  2. เพิ่มค่าต่อไปนี้:
    ชื่อ::PrinterMappingINFName
    ชนิด: REG_SZ
    : ข้อมูลชื่อของแฟ้ม.inf ที่คุณต้องการเปลี่ยนเส้นทางการค้นหา
    ตัวอย่าง: c:\winnt\inf\ntprintsubs.inf

    ชื่อ::PrinterMappingINFSection
    ชนิด: REG_SZ
    : ข้อมูลชื่อของส่วนแฟ้ม.inf ที่คุณต้องการเปลี่ยนเส้นทางการค้นหา ตัวอย่าง: เครื่องพิมพ์
หลังจากที่คุณเพิ่มค่ารีจิสทรีใหม่ สร้าง หรือปรับเปลี่ยนแฟ้ม.inf ที่จะรวมกำหนดโดยผู้ใช้แมปจากฝั่งไคลเอ็นต์ไปยังโปรแกรมควบคุมฝั่งเซิร์ฟเวอร์ เมื่อต้องการทำเช่นนี้ ตามตัวอย่างต่อไปนี้:

ตัวอย่างของรูปแบบสำหรับการสร้างแฟ้ม.inf ใหม่:
[Version]
Signature="$CHICAGO$"

[Printers]
"OEM Printer Driver Name" = "<?xm-deletion_mark author="v-vincli" time="20071120T143949+0800" data="Windows 2000 "?>Printer Driver Name"
				
เช่น:
"HP DeskJet 720C Series v10.3"  =  "HP DeskJet 722C"
				
ด้านซ้ายของแบบ "=" เป็นชื่อแน่นอนของไดรเวอร์เครื่องพิมพ์ที่เชื่อมโยงกับฝั่งไคลเอ็นต์คิวการพิมพ์ที่จะถูกเปลี่ยนเส้นทางไปยังเซิร์ฟเวอร์ ทางด้านขวาของแบบ '=' เป็นชื่อแน่นอนของเทียบเท่ากับโปรแกรมควบคุมฝั่งเซิร์ฟเวอร์ที่ติดตั้งอยู่บนเซิร์ฟเวอร์เทอร์มินัล

ชื่อเครื่องพิมพ์ที่เป็นมิตรที่ปรากฏขึ้นเมื่อคุณคลิกเริ่มการทำงานคลิกการตั้งค่าแล้ว คลิกเครื่องพิมพ์บนไคลเอ็นต์อาจไม่สามารถชื่อโปรแกรมควบคุมเครื่องพิมพ์ที่แท้จริงที่ควรจะเปลี่ยนเส้นทางการชี้ไปที่โปรแกรมควบคุมเครื่องพิมพ์บนเซิร์ฟเวอร์เทอร์มินัล เมื่อต้องการค้นหาเครื่องพิมพ์ชื่อโปรแกรมควบคุมเพื่อเพิ่มที่ด้านซ้ายของเครื่องหมายเท่ากับในแฟ้ม.inf ที่ คุณสร้าง ค้นหาในแฟ้มบันทึกเหตุการณ์ของระบบบนเซิร์ฟเวอร์เทอร์มินัลที่มีการเข้าสู่ระบบของ 1111 ID เหตุการณ์ 1111 ID ของเหตุการณ์ประกอบด้วยชื่อของโปรแกรมควบคุมเครื่องพิมพ์ที่แท้จริงที่มีความล้มเหลวจะเปลี่ยนเส้นทาง บาง Event ID 1111 ของยังประกอบด้วยทรัพยากรของเครื่องพิมพ์บนไคลเอนต์ ที่ไม่ต้องมีการเปลี่ยนเส้นทางไม่เหมือนกับไดรเวอร์โทรสารหรือเครื่องพิมพ์ของซอฟต์แวร์ หากคุณไม่ทราบชื่อโปรแกรมควบคุมเครื่องพิมพ์เพื่อเพิ่มไปยังด้านขวาของเครื่องหมายเท่ากับในแฟ้ม.inf คุณสามารถติดตั้งเครื่องพิมพ์บนเซิร์ฟเวอร์ หลังจากที่มีการติดตั้งเครื่องพิมพ์ ชื่อโปรแกรมควบคุมเครื่องพิมพ์ที่ปรากฏทางด้านขวาของ "รูปแบบ: " ภายใต้แท็บ "ทั่วไป" ของคุณสมบัติเครื่องพิมพ์ เมื่อเป็นไปได้ โปรแกรมควบคุมที่พิมพ์สร้างในที่มีอยู่ในระบบปฏิบัติการ ชื่อ หรือโปรแกรมควบคุมที่พิมพ์ WHQL ควรใช้ในการปรับปรุงเสถียรภาพของระบบ

This example instructs Windows 2000 and Windows Server 2003 to use the HP DeskJet 722C driver when a client with Hewlett-Packard's HP DeskJet 720C Series v10.3 driver connects. These names must match exactly, with the exact same spacing; the names are also case sensitive.

หมายเหตุ:: The format of the [Previous Names] section in Ntprint.inf is exactly the reverse of the user-defined .inf. In Ntprint.inf, the client-side driver is on the right and the server-side driver is on the left.

You can create this file with Notepad and you must save it with a .inf file name extension. In this example, you would specify the .inf file name that you just created in thePrinterMappingINFNameregistry value and "Printers" in thePrinterMappingINFSectionค่ารีจิสทรี

When a client connects, the computer will first see if a user-defined .inf has been defined in the registry. If so, it will then see if there is a match to the client-side driver to use it. If one does not exist, it then sees if there is mapping defined in the [Previous Names] section of Ntprint.inf to use that. If there is not, it will try to install the server-side printer using the name of the client-side printer driver as a direct map to a server-side driver. If no drivers are found, you will receive the error messages mentioned in this article.

If the custom .inf file contains syntax errors, you may receive the following message in the event log:
Event 1110: "Error processing ntprint.inf. If the file on the system is corrupt, you can restore it from the installation media.
This message is misleading because it refers to the Ntprint.inf. Although this error may really mean that the Ntprint.inf is corrupted, it frequently refers to errors in the custom .inf file.

The custom .inf file must have at least one mapping in its printer name mapping section. If the custom .inf file has a blank name-mapping section, you may receive Event 1110 in the event log. You must restart the Spooler service or reboot the Terminal Server for these changes to take affect.

Terminal Server Printer Driver Redirection Wizard

The Terminal Server Printer Driver Redirection Wizard automates the process of creating the .inf file. The wizard helps you troubleshoot and replace print drivers that were unsuccessfully redirected.

แฟ้มต่อไปนี้สามารถดาวน์โหลดได้จากศูนย์ดาวน์โหลดของ Microsoft::


ยุบรูปภาพนี้ขยายรูปภาพนี้
ดาวน์โหลด
Download the 9f237742-e057-4e00-a0d5-62de2ebf9fbd/TSPDRW_Package.exe package now. (http://download.microsoft.com/download/9/f/2/9f237742-e057-4e00-a0d5-62de2ebf9fbd/TSPDRW_Package.exe)

ข้อมูลเพิ่มเติม

Printer redirection is not possible with the RDP 4 client in Windows NT Server 4.0, Terminal Server Edition. In a Windows NT 4.0 Terminal Server environment, you must use Citrix MetaFrame and the Independent Computing Architecture (ICA) client to redirect client printers.

For information about how to perform this procedure for Citrix ICA clients, see the following Microsoft Knowledge Base article:
214593  (http://support.microsoft.com/kb/214593/ ) Windows Terminal Server with MetaFrame ICA client cannot autocreate some printers

ใช้กับ
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows Server 2003 Datacenter Edition
  • Microsoft Windows Server 2003 Web Edition
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003 Enterprise Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003 Standard Edition
Keywords: 
kbprb kbprint kbtermserv w2000print kbmt KB239088 KbMtth
แปลโดยคอมพิวเตอร์แปลโดยคอมพิวเตอร์
ข้อมูลสำคัญ: บทความนี้แปลโดยซอฟต์แวร์การแปลด้วยคอมพิวเตอร์ของ Microsoft แทนที่จะเป็นนักแปลที่เป็นบุคคล Microsoft มีบทความที่แปลโดยนักแปลและบทความที่แปลด้วยคอมพิวเตอร์ เพื่อให้คุณสามารถเข้าถึงบทความทั้งหมดในฐานความรู้ของเรา ในภาษาของคุณเอง อย่างไรก็ตาม บทความที่แปลด้วยคอมพิวเตอร์นั้นอาจมีข้อบกพร่อง โดยอาจมีข้อผิดพลาดในคำศัพท์ รูปแบบการใช้ภาษาและไวยากรณ์ เช่นเดียวกับกรณีที่ชาวต่างชาติพูดผิดเมื่อพูดภาษาของคุณ Microsoft ไม่มีส่วนรับผิดชอบต่อความคลาดเคลื่อน ความผิดพลาดหรือความเสียหายที่เกิดจากการแปลเนื้อหาผิดพลาด หรือการใช้บทแปลของลูกค้า และ Microsoft มีการปรับปรุงซอฟต์แวร์การแปลด้วยคอมพิวเตอร์อยู่เป็นประจำ
ต่อไปนี้เป็นฉบับภาษาอังกฤษของบทความนี้:239088  (http://support.microsoft.com/kb/239088/en-us/ )