Chủ Nhật, 18 tháng 11, 2012

Khắc phục sự cố khi cài máy in hiện lên “not valid win32 application”


  1. Click Start, and then click Run.
  2. Nhập lệnh: regedit, and then click OK.
  3. HKEY_CURENT_CONFIG
  4. SYSTEM
  5. CURRENTCONTROLSET
  6. CONTROL
  7. PRINT
  8. PRINTS
  9. Chọn máy in
  10. PRINTERONLINE (2)
Tài liệu tham khảo:
Start
This topic has not yet been rated 
HKLM\SYSTEM\CurrentControlSet\Services\ service-name
Data type
Range
Default value
REG_DWORD
0–4
(There is no default value for this entry.)

Description
Specifies how the service is loaded or started. If the service is a Win32 service, the value of this entry must be 2, 3, or 4. This entry is not used for network adapters.
Value
Meaning
0
Boot (loaded by kernel loader). Components of the driver stack for the boot (startup) volume must be loaded by the kernel loader.
1
System (loaded by I/O subsystem). Specifies that the driver is loaded at kernel initialization.
2
Automatic (loaded by Service Control Manager). Specifies that the service is loaded or started automatically.
3
Manual. Specifies that the service does not start until the user starts it manually, such as by using Device Manager.
4
Disabled. Specifies that the service should not be started.

Note Image Note
This information is presented for reference only. You cannot change the starting rules for a service by editing this entry. To change the value of this entry, use the ChangeServiceConfig API or Sc.exe, a tool in the Windows 2000 Resource Kit.
Tip Image Tip
To determine what type of service is represented by the subkey, see.
Type
This topic has not yet been rated 
HKLM\SYSTEM\CurrentControlSet\Services\ service-name
Data type
Range
Default value
REG_DWORD
1 | 2 | 4 | 8 | 16 | 32 | 272 | 288
(There is no default value for this entry.)
Description
Identifies the type of service represented by the subkey.
Value
Meaning
1
A kernel-mode device driver.
2
A file system driver.
4
A set of arguments for an adapter.
8
A file system driver service, such as a file system recognizer.
16
A Win32 program that runs in a process by itself. This type of Win32 service can be started by the service controller.
32
A Win32 program that shares a process. This type of Win32 service can be started by the service controller.
272
A Win32 program that runs in a process by itself (like Type16) and that can interact with users.
288
A Win32 program that shares a process and that can interact with users.

Note Image Note
This information is presented for reference only. You cannot edit this entry to change the view of a service by Windows 2000. To change the value of this entry, use the ChangeServiceConfig API or Sc.exe, a tool in the Windows 2000 Resource Kit.
Related Entries

Không có nhận xét nào: