搜尋此網誌

顯示具有 Windowns 標籤的文章。 顯示所有文章
顯示具有 Windowns 標籤的文章。 顯示所有文章

2021年11月25日 星期四

印表機錯誤訊息0X0000000A如何處埋 PRINTER ERROR 0X0000000A

有時候可能不明原因而發生原本安裝好的印表機不見了,而且重裝時會發生錯誤訊息0X0000000A

我的環境是有專門的Printer Server,Client端發生印表機不見的情形,在Client端重裝時發生錯誤訊息0X0000000A。

解決方式:

    將Client端的Print Spool重啟就可以恢復正常,也不用重裝印表機,原有印表機會自動出現。

  • 打開Services.msc
  • 停止“Print Spool”服務
  • 等待約5秒
  • 啟動“Print Spool”服務


參考下方網址
http://noelpulis.com/fix-cant-connect-to-printer-error-0x0000000a/




2021年5月4日 星期二

如何下指令直接跳到Windows系統的特定選項中。(在command line下指令直接跳到我們要去的選項中)

 系統選項通常都要一選再選才能到達我們想要的地方,對一般使用者太為難,windows是有指示可以直接到你要的地方,例如我們想要到聲音的相關選項中的錄製這個TAB,我們要選「控制台」再選「硬體和音效」再選「聲音」再選「錄製」才會到我們要的地方,但如果執行control.exe mmsys.cpl,,1的話,就可一步到位...

還有很多指令,這只是一個線頭,請自己研究

If you want to access the Mixer and the other functions, you can use these shortcuts:
• Master Volume Left: SndVol.exe -f 0
• Master Volume Right: SndVol.exe -f 49825268
• Volume Mixer Left: SndVol.exe -r 0
• Volume Mixer Right: SndVol.exe -r 49490633
• Playback Devices: control.exe mmsys.cpl,,0
• Recording Devices: control.exe mmsys.cpl,,1
• Sounds: control.exe mmsys.cpl,,2


Control Panel (.cpl)指令 Microsoft官網的描述

The following table lists the most common .cpl files, including all the .cpl files included with Windows:

File name Purpose

-----------------------------------------------------------------------

Access.cpl Accessibility properties

Appwiz.cpl Add/Remove Programs properties

Desk.cpl Display properties

FindFast.cpl FindFast (included with Microsoft Office for Windows 95)

Inetcpl.cpl Internet properties

Intl.cpl Regional Settings properties

Joy.cpl Joystick properties

Main.cpl Mouse, Fonts, Keyboard, and Printers properties

Mlcfg32.cpl Microsoft Exchange or Windows Messaging properties

Mmsys.cpl Multimedia properties

Modem.cpl Modem properties

Netcpl.cpl Network properties

Odbccp32.cpl Data Sources (32-bit ODBC, included w/ Microsoft Office)

Password.cpl Password properties

Sticpl.cpl Scanners and Cameras properties

Sysdm.cpl System properties and Add New Hardware wizard

Themes.cpl Desktop Themes

TimeDate.cpl Date/Time properties

Wgpocpl.cpl Microsoft Mail Post Office

Note that in Windows 98, the Desk.cpl file is named Deskw95.cpl in the compressed cabinet (.cab) file. The file is renamed to Desk.cpl in the Windows\System folder.


出處:https://classicvb.net/tips/shellcpl.txt

Control Panel    (CONTROL.EXE)
--------------------------------
Control Panel:
    rundll32.exe shell32.dll,Control_RunDLL

Accessability Options    (ACCESS.CPL)
---------------------------------------
Accessability Properties (Keyboard):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1
Accessability Properties (Sound):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2
Accessability Properties (Display):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3
Accessability Properties (Mouse):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4
Accessability Properties (General):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5

Add/Remove Programs    (APPWIZ.CPL)
-------------------------------------
Add/Remove Programs Properties (Install/Uninstall):
    rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1
Add/Remove Programs Properties (Windows Setup):
    rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2
Add/Remove Programs Properties (Startup Disk):
    rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3

Display Options    (DESK.CPL)
-------------------------------
Display Properties (Background):
    rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0
Display Properties (Screen Saver):
    rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1
Display Properties (Appearance):
    rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2
Display Properties (Settings):
    rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3

Regional Settings    (INTL.CPL)
---------------------------------
Regional Settings Properties (Regional Settings):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,0
Regional Settings Properties (Number):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,1
Regional Settings Properties (Currency):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,2
Regional Settings Properties (Time):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,3
Regional Settings Properties (Date):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,4

Joystick Options    (JOY.CPL)
-------------------------------
Joystick Properties (Joystick):
    rundll32.exe shell32.dll,Control_RunDLL joy.cpl

Mouse/Keyboard/Printers/Fonts Options    (MAIN.CPL)
-----------------------------------------------------
Mouse Properties:
    rundll32.exe shell32.dll,Control_RunDLL main.cpl @0
Keyboard Properties:
    rundll32.exe shell32.dll,Control_RunDLL main.cpl @1
Printers:
    rundll32.exe shell32.dll,Control_RunDLL main.cpl @2
Fonts:
    rundll32.exe shell32.dll,Control_RunDLL main.cpl @3

Mail and Fax Options    (MLCFG32.CPL)
---------------------------------------
Microsoft Exchange Profiles (General):
    rundll32.exe shell32.dll,Control_RunDLL mlcfg32.cpl

Multimedia/Sounds Options    (MMSYS.CPL)
------------------------------------------
Multimedia Properties (Audio):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0
Multimedia Properties (Video):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1
Multimedia Properties (MIDI):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,2
Multimedia Properties (CD Music):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,3
Multimedia Properties (Advanced):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,4
 = = = = = = = = = = = = = = = = = = = = = = = = = = =
Sounds Properties:
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @1

Modem Options    (MODEM.CPL)
------------------------------
Modem Properties (General):
    rundll32.exe shell32.dll,Control_RunDLL modem.cpl

Network Options    (NETCPL.CPL)
---------------------------------
Network (Configuration):
    rundll32.exe shell32.dll,Control_RunDLL netcpl.cpl

Password Options    (PASSWORD.CPL)
------------------------------------
Password Properties (Change Passwords):
    rundll32.exe shell32.dll,Control_RunDLL password.cpl

System/Add New Hardware Options    (SYSDM.CPL)
------------------------------------------------
System Properties (General):
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0
System Properties (Device Manager):
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1
System Properties (Hardware Profiles):
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2
System Properties (Performance):
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3
 = = = = = = = = = = = = = = = = = = = = = = = = = = =
Add New Hardware Wizard:
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1

Date and Time Options    (TIMEDATE.CPL)
-----------------------------------------
Date/Time Properties:
    rundll32.exe shell32.dll,Control_RunDLL timedate.cpl

Microsoft Mail Postoffice Options    (WGPOCPL.CPL)
----------------------------------------------------
Microsoft Workgroup Postoffice Admin:
    rundll32.exe shell32.dll,Control_RunDLL wgpocpl.cpl


====================================================
SYSTEM WIZARDS
====================================================
Open With (File Associations):
    rundll32.exe shell32.dll,OpenAs_RunDLL d:\path\filename.ext

Run Diskcopy Dialog:
    rundll32 diskcopy.dll,DiskCopyRunDll

Create New Shortcut Wizard:
    'puts the new shortcut in the location specified by %1
    rundll32.exe AppWiz.Cpl,NewLinkHere %1

Install New Hardware Wizard:
    rundll32.exe sysdm.cpl,InstallDevice_RunDLL

Add Printer Wizard:
    rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter

Dial-up Networking Wizard
    rundll32.exe rnaui.dll,RnaWizard

Open a Scrap Document:
    rundll32.exe shscrap.dll,OpenScrap_RunDLL /r /x %1

Create a Briefcase:
    rundll32.exe syncui.dll,Briefcase_Create

View Printers:
    rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder

View Fonts:
    rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL FontsFolder

Pick a Time Zone Dialog:
    rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,/f

2021年2月23日 星期二

Windows 10的投影功能還滿好用的,但有時不正常,在設定-->投影到此電腦的設定顯示灰色,不能改設定,無線投影功能不能使用 (筆電有Miracast)

有時想將手機(Android)的畫面或另一部win 10筆電的畫面鏡像到另一部win10 筆電上,此功能很好用,如何使用請參考https://168birdman.blogspot.com/2020/05/windows-10pcwin10-win10-androidwin10.html

但我有3部Asus筆電(同型號)無線投影功能都不能使用,在設定-->投影到此電腦的設定顯示灰色,如下圖:


原因是因為無線顯示的功能未安裝所至,我其它筆電大多都事先裝好,但有時候不知什麼原因沒有安裝,我的Asus同型號3部筆電是沒有裝但有一部不同型號的有裝,沒裝就會發生不能接受別的裝置裝螢幕投到這部筆電上,雖如此,這部筆電螢幕內容依然可以投到別的Miracast裝置上。

如何解呢? 其實只要安裝一個小程式就正常了

  1. 選取 [開始]  > [設定]  > [系統]  > [投影到此電腦] 

  2. 在 [新增「無線顯示」選用功能至投影此電腦] 下方,選取 [選用功能]。 

  3. 選取 [新增功能],然後輸入「無線顯示」。 

  4. 從結果清單中選取它,然後選取 [安裝]。 

  5. 安裝「無線顯示」之後,在 [設定] 中的 [投影到此電腦] 頁面上,管理您的投影喜好設定。 

  6. 在投影到的電腦上,在工作列上的搜尋方塊中輸入「連線應用程式」來啟動連線應用程式。 

  7. 在您所投影的裝置上,移至螢幕鏡像設定 (有時稱為強制投射設定),然後選取您的電腦以連線至該裝置。 如果從電腦投影,您也可以選取 Windows 鍵 + K,然後選取您要連線的電腦。


2020年8月18日 星期二

windows 11、WIN 10無法連上samba系統發生64錯誤 ERROR 64

10/23/2024 Update

Windows 11在控制台-->程式與功能-->開啟或關閉windows功能-->將SMB1.0/CIFS檔案共用支援開啟如下圖,即可連絡,如果還不行,那可能是您要連線的SAMBA Server有擋您電腦的網段。



Win10正常情況下不論是打\\IP 或是\\電腦名稱都可以連上Samba Server,但是windows update後原本可以連線的變成不行,ping IP都很正常,\\IP可以,但\\電腦名稱不行,這時發生什麼事?

先確認錯誤碼是多少?

打開CMD

下指令連線你原先可以連線的 Samba Server

net use \\電腦名稱

如果出現:系統發生64錯誤,這時可以使用下列方式解除之

先使用管理者權限執行CMD,如果不是管理者權限執行的CMD,下的指令是無效的哦!

依序輸入下方兩個指令

SC.EXE config lanmanworkstation depend=bowser/mrxsmb10/nsi

SC.EXE config mrxsmb20 start=disabled

重開機後,網路芳鄰裡的裝置就會再次出現了!

2019年12月18日 星期三

windows桌面下方工作列上word、excel、powerpoint,檔案總管...等的「最近」文件無法列出Jump list,不正常(已修復))

在windows桌面下方快速工作列上,word的「最近」文件無法列出(Jump List),但其他的例: excel, PowerPoint、ie、檔案總管....都有可能發生不正常,要如何修復呢?

Ex:不正常如下圖:(按mouse右鍵)
正常如下圖:

解決方式:
  1. 開啟檔案總管, 然後在上方位址列輸入
  2. %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations
    這個路徑是隱藏的,所以直接copy/paste至檔案總管即可找到
  3. 有兩種方式解決
    1. 最簡單的方法~~~全刪:如果想一切重來,將上述資料匣中的檔案全部刪除即可,但要注意如此會將所有有「最近」文件的資訊全刪,如果原只有「檔案總管」不正常,全刪雖然不會影響什麼,但其它Excel、powerpoint、IE...等的「最近」list也會一併清除。
    2. 壞哪一個就修(刪)哪一個檔,例如word壞,我們只刪word相關的檔,如此不會影響其它程式,例如Word壞,所以找出相對應的檔刪除即可。如何找出對應呢?看看下方的對應表,下方只是列出一些,找不到就問google吧!
  4. 刪掉檔案就會正常,不用重開機。


PATH%AppData%\Microsoft\Windows\Recent\AutomaticDestinations
28c8b86deab549a1.automaticDestinations-ms = IE8 Pinned and Recent
a7bd71699cd38d1c.automaticDestinations-ms = Word 2010 Pinned and Recent
adecfb853d77462a.automaticDestinations-ms = Word 2007 Pinned and Recent
a8c43ef36da523b1.automaticDestinations-ms = Word 2003 Pinned and Recent
1b4dd67f29cb1962.automaticDestinations-ms = Windows Explorer Pinned and Recent
918e0ecb43d17e23.automaticDestinations-ms = Notepad Pinned and Recent or
9b9cdc69c1c24e2b.automaticDestinations-ms = Notepad Pinned and Recent
d7528034b5bd6f28.automaticDestinations-ms = Windows Live Mail Pinned and Recent
c7a4093872176c74.automaticDestinations-ms = Paint Shop Pro Pinned and Recent
b91050d8b077a4e8.automaticDestinations-ms = MediaCenter
f5ac5390b9115fdb.automaticDestinations-ms = PowerPoint 2007
23646679aaccfae0.automaticDestinations-ms = Adobe Reader 9
aff2ffdd0862ff5c.automaticDestinations-ms = Visual Studio 2012
fb3b0dbfee58fac8.automaticDestinations-ms = Word 2013 (and Office 365) Pinned and Recent
9839aec31243a928.automaticDestinations-ms = Excel 2013 (and Office 365) Pinned and Recent
9839aec31243a928.automaticDestinations-ms = Excel 2013 Pinned and Recent
d00655d2aa12ff6d.automaticDestinations-ms = Powerpoint 2013Office 365 Pinned and Recent
9c7cc110ff56d1bd.automaticDestinations-ms = Powerpoint 2010 Pinned and Recent
  • Word 2016: fb3b0dbfee58fac8
  • Excel 2016: b8ab77100df80ab2
  • PowerPoint 2016: d00655d2aa12ff6d
  • Paint: 12dc1ea8e34b5a6

參考資訊:




2019年1月7日 星期一

已解決:excel 2010一開啟檔案就當機,因為KB4461627 excel crash


今天一早使用Excel開啟已存在的檔案都會down機...因為ntdll.dll

重開機沒用
刪profile沒用
run excel /save 沒用
最後發現應是KB4461627的關係,移除後...好了


Microsoft官方回應說uninstall之
以下參考其它網友: 

2018年9月13日 星期四

預設印表機每次開機都會改變Default printer keeps changing

因為最近在改網路印表機,所以將舊有的用指示刪除,以派送方式派送印表機,但發生一怪事,就是某些使用者電腦印表機每次預設印表機Default printer後,只要重開機就會改變成別的印表機。

網路上有各種解法,以我遇到的問題是已下列方式解決,請大家參考之也感謝Althornin的說明。

如果你的身份是系統管理者:
至Regedit中之
HKEY_USERS\USERS_SID_HERE\Printers\Connections 
HKEY_USERS\USERS_SID_HERE\Printers\Setting
舊有(已經不存在)的printer、設定刪除,使用者重新開機,應可正常了。

如果你是一般使用者,請至Regedit中之HKEY_CURRENT_USER\Printers\Connections 及HKEY_USERS\USERS_SID_HERE\Printers\Setting中之舊有(已經不存在)的設定刪除,重新開機,應可正常了。

另外也同時看一下下方的reg,將其中舊有(已經不存在)的printer刪除
HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Windows\Device
HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Windows\PrinterPort

請參考我原參考之出處

2014年7月18日 星期五

Windows NTFS Data Streams(資料串流)會造成Word檔開不起來,批次將檔案中的Data Stream刪除

檔案會有NTFS Data Streams(資料串流)在此不贅述,
請參考熱心網友的描述:淺析 NTFS Data Streams(資料串流)

我遇到一個很奇怪的問題,某一部XP + office 2010如果讀2012r2 server上有NTFS_Streams的Word檔,會無法開啟,word無反應,要至工作管理員cancel word才行。

但只要在檔案總管中,Mouse對著開不起來的檔案按右鍵,選內容,會發現它有一個特別的地方:
Windows_NTFS_Streams
「安全性」這一欄顯示:
這個檔案來自另一部電腦,可能會封鎖以協助保護您的電腦。」的說明,解除封鎖後,那部XP電腦就可以開啟了,目前還查不出原因。

如果檔案上千上萬筆,有辦法一次將所有檔案的NTFS Streams的安全性解除封鎖嗎???

答案是~~~有的,利用Windows Sysinternals streams.exe tools即可辦到,只要執行它就可以把「NTFS Data Streams」一次解除。

streams.exe -s -d c:\test  (c:\test是要解除streams的目錄)

Streams tool Download...here

Windows Sysinternals ...here

參考網友資料(圖文):

  1. 移除惱人的警告 NTFS Data Streams NTFS資料串流
  2. 淺析 NTFS Data Streams(資料串流)