顯示包含「Windows 10」標籤的文章。顯示所有文章
顯示包含「Windows 10」標籤的文章。顯示所有文章

2025年4月1日星期二

Turn on automatic logon in Windows

To use Registry Editor to turn on automatic logon, follow these steps:

  1. Select Start, and then select Run.

  2. In the Open box, type Regedit.exe, and then press Enter.

  3. Locate the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon subkey in the registry.

  4. On the Edit menu, select New, and then point to String Value.

  5. Type AutoAdminLogon, and then press Enter.

  6. Double-click AutoAdminLogon.

  7. In the Edit String dialog box, type 1 and then select OK.

  8. Double-click the DefaultUserName entry, type your user name, and then select OK.

  9. Double-click the DefaultPassword entry, type your password, and then select OK.

    If the DefaultPassword value doesn't exist, it must be added. To add the value, follow these steps:

    • On the Edit menu, select New, and then point to String Value.

    • Type DefaultPassword, and then press Enter.

    • Double-click DefaultPassword.

    • In the Edit String dialog, type your password and then select OK.

      Note:
      If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.
  10. Exit Registry Editor.

  11. Restart your computer. You can now log on automatically.

Reference:
https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon

2021年6月23日星期三

Task Scheduler Crashed - FX:{c7b8fb06-bfe1-4c2e-9217-7a69a95bbac4}

Task Scheduler Crashed every time I tried to open a task or create a new task. The following is noted in the error pop-up window:

Unhandled Exception in Managed Code Snap-in

FX:{c7b8fb06-bfe1-4c2e-9217-7a69a95bbac4}

The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Exception type:
System.IO.FileNotFoundException

Tried many methods searched on the web.  The following method finally fixed the problem:

  1. Run regedit
  2. Go to HKLM\Software\Microsoft\Windows NT\CurrentVersion\NetworkList
  3. Delete everything under the following path,
    • Nla->Cache
    • Nla->IntranetEnabled
    • Nla->Wireless
    • Profiles
    • Signatures->Managed
    • Signatures->Unmanaged
  4. Reboot

Task Scheduler should be running fine now. Please be noted that network location awareness profiles has been reset and need to be reconfigured in network properties (public and private network thing).

Reference

https://answers.microsoft.com/en-us/windows/forum/windows_10-start-winpc/task-scheduler-crashed/5acab7c5-eb79-48c8-876d-ade321565953

2019年10月1日星期二

關於開機USB

網上論壇見有人入唔到Windows,但又想攞番電腦入面啲檔案,這時做一隻USB開機手指就最合用,整咗就可以插隻USB手指落部有問題電腦到用嚟開機進入桌面用檔案管理員抄檔案

要整開機USB要先下載ISO檔
https://www.hirensbootcd.org/files/HBCD_PE_x64.iso

再下載USB工具
https://www.hirensbootcd.org/files/ISO2USB.exe

然後跟以下instructions整隻開機USB
https://www.hirensbootcd.org/usb-booting/
之後隻USB就可以用嚟開機

留意可能要設定下BIOS至會先讀隻USB開機而唔會用番隻有問題嘅HDD開機
https://bit.ly/2o0Tu1u
http://it-easy.tw/usb-bios/

2019年9月14日星期六

移除 Nvidia Telemetry 背景服務

Nvidia 安裝驅動時原來會同時安裝收集用戶數據的Telemetry背景服務, 這個移除了也不會影響顯卡功能,在 cmd 示窗內執行以下指令便可移除;

rundll32 "%PROGRAMFILES%\NVIDIA Corporation\Installer2\InstallerCore\NVI2.DLL",UninstallPackage NvTelemetryContainer

參考
https://forums.evga.com/How-to-Uninstall-Nvidia-NvTelemetry-m2905741.aspx

2019年9月4日星期三

Excel 2013 打不開工作表內的網頁連結

今天想打開Excel 2013工作表內的網頁連結,卻彈出視窗指有群組policy不容許動作,但搞了一排原來不是群組policy的問題,而是我停用IE 11,因許多網站已不支援IE 11而停用了,但可能 office 2013 比較舊,內裡一些設定還是使用IE相關的參數。

2019年8月9日星期五

重設 Windows 10 開始功能表的常用應用程式清單

在網上找到作個記錄, 不翻譯了,

Open Start menu > Launch Settings app >Privacy >General >Disable (Allow Windows to track app launches to improve Start and search results)> Enable (Allow Windows to track app launches to improve Start and search results) again > Go to the main page of Settings app again >Personalization >Start >Enable (Show the most used apps).

2019年8月5日星期一

移除檔案管理員上的 'Quick Access' 項目

編輯以下機碼;
移至 HKEY_CLASSES_ROOT\CLSID{679f85cb-0220-4080-b29b-5540cc05aab6} 下之 'ShellFolder',

揀選 Permissions, 跟著選 Advanced 鍵,在 'Advanced Security Settings for ShellFolder' 視窗,點選 'Change', 跟著點選 'Advanced',修改 owner 為 'Administrators' 以容許修改 'ShellFolder' 內容。

跟著在 'ShellFolder', 修改 'Attributes' 為 'a0600000'。
原文

P.S.修改後發現檔案管理員的拖放功能失效,所以改回了之前的'Attributes' 為 'a0100000'

2019年8月2日星期五

在 Windows 10 啟用相片檢視器開啟相片及 RAW 檔

Windows 10 預設使用新的「相片」應用開啟相片檔案, 如果想使用傳統的「相片檢視器」開啟可以用以下檔案修改機碼

啟用「相片檢視器」下載機碼 

停用「相片檢視器」下載機碼

原機碼包沒有連結我用的 Sony RAW 格式 ARW 檔,所以之後跟據機碼格式加入。

參考
 https://www.tenforums.com/tutorials/14312-restore-windows-photo-viewer-windows-10-a.html

2018年8月11日星期六

Windows 瘦身大法分享

一個120G SSD用了幾年,裝的軟件不多但就已用剩只有10G,看一吓原來 Windows 本身已佔去50G/60G,最後用了以下方法將SSD縮回只有約62G。

1. Compact.exe
以系統管理員開啟"命令提示字元",執行以下指令
Compact.exe /CompactOS:always
這個方法大約可取回幾個G儲存

2. 縮小 Hiberfil.sys (原來這方法只是保留 Fast Boot 功能,不能用休眠功能)
若沒有需要休眠工能可以移除整個 Hiberfil.sys檔案,但若如我還是想保留休眠就可以用以下指令縮小 Hiberfil.sys 
powercfg /h /type reduced
這個方法大約可以縮減 Hiberfil.sys 30%

3. PatchCleaner
網上找到這個工具,可以將之前之 Winodows 更新或升級時留下的備用檔案刪除,雖說現時Windows 有內建移除更新檔工能,但這個就更切底,這個工具給移除了多達32G的檔案,還可以將移除的檔案備份起來
PatchCleaner 網頁

4. 將 Winodws App 移去另一個硬盤
Windows 10 有內建功能可以如 Android 手機般變更 Apps 的儲存位置
=>"設定"=>"App"
不是所有 Apps 都可以變更儲存位置,若可以的點擊 App 就會看到"移動"選項

參考網頁
http://www.homedev.com.au/free/patchcleaner
https://www.windowscentral.com/how-reduce-windows-10-footprint-your-pc
https://www.cio.com/article/3138833/windows/how-to-reduce-windows-10s-on-disk-footprint.html
https://www.laptopmag.com/articles/reclaim-disk-space-windows-10
https://www.tenforums.com/tutorials/25151-specify-hiberfile-type-full-reduced-windows-10-a.html

2018年5月14日星期一

禁止 Windows 自動刪除 Thumbnail Cache

個人電腦內存有大量相片,本來 Windows 會預制小圖片(Thumbnail Cache)讓用戶點入相片資料夾時可以快速看到相片的小圖片,但若 Thumbnail Cach 大過500M-700M時 Windows 就會將之自動刪除,結果像我相多的只要幾天 Thumbnail Cach便被刪除,有 Cache 等於冇 Cache,找到以下方法可以禁止 Windows 自動刪除 Thumbnail Cache,設定了一個月有多也沒有再刪除 Thumbnail Cache。

步驟一
修改機碼
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache\Autorun
及
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache\Autorun

將數值修改為0 

步驟二
修改 C:\Windows\System32\cleanmgr.exe 的安全設定,只讓我自己的使用者名稱可執行,其他用戶包括 SYSTEM及TrustedInstaller都不可執行。

步驟三
有人說還要停用或刪除以下工作排程
1. 在 Task Scheduler Library >> Microsoft >> Windows >> DiskCleanup 停用排程項目 SilentCleanup
2. 在 Task Scheduler Library >> Microsoft >> Windows >> Maintenance 停用排程項目WinSAT
3. 在 Task Scheduler Library >> Microsoft >> Windows >> Wininet 停用排程項目 CacheTask
4. 在 Task Scheduler Library >> Microsoft >> Windows >> TaskScheduler 找出以下項目並作出相應修改然後刪除這些項目以防他們重新給系統啟用
停用 Idle Maintenance
啟用 Maintenance Configurator
停用 Manual Maintenance
停用 Regular Maintenance
(刪除前可先備份以備以後有需要時加回去)


2017年6月7日星期三

Windows 10 不能連接 Samba 共享裝置的解決方法

平時有用部舊安卓平板做相架,嘅然一直開著就想到用來做家用雲儲存,可是在平板裝了 SambaDroid 或是 Samba Filesharing 後 Windows 10 主機上卻總是找不到,原來 Windows 10 預設使用較新版的 Samba,所以以往用較舊版的設備或程式便會連不上,要用以下指今禁用 SMBv2/SMBv3 及開啟 SMBv1;
  • To enable SMBv1 on the SMB client, run the following commands:
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
    sc.exe config mrxsmb10 start= auto
  • To disable SMBv2 and SMBv3 on the SMB client, run the following commands:
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
    sc.exe config mrxsmb20 start= disabled
還有 Windows 10 預設也不支援沒用密碼的 Samba 分享,要加入以下機碼才可以連入不設密碼的 Samba 分享;

HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\AllowInsecureGuestAuth DWORD(32bit), 值鍵入1

做完上述修改後要重啟電腦才會生效。

參考
How to enable and disable SMBv1, SMBv2, and SMBv3 in Windows and Windows Server 加入機碼方法

2016年8月9日星期二

Windows 10 開始功能表 (Start Menu) 不能顯示部份程式

從 Windows 8 免費升及上 Windows 10 後發現開始功能表 (Start Menu) 不能顯示部份程式,最近在網上找到以下方法可以重新顯示部份之前看不到的程式。(是還不是完全解決,但已好很多了)


1. 盡量減少開始功能表上的程式或連結,因多過500個就會出問題

2. 刪除資料夾 "your user name"/appdata/local/tiledatalayer/database ,這會使 OS 重新建立 start menu 上的項目.

- 要刪除這個資料夾,首先開啟 task manager

- 跟著刪除 database 資料夾,這時會顯示 "資料夾使用中"

- 這時用 task manager 結束 "appmodel" 處理程序 (放心不會即時關機的)

- 這時按"重試"就可刪除資料夾

3. 重啟電腦,等一會,這時會重建 Start Menu,可能要登出再登入才會顯示出重建的功能表,但 Apps 並不會重建

4. 要重建 Apps 需要以管理員身分啟用 PowerShell. 在 PowerShell 執行以下指令

Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

5. 重建 Apps 後要重新釘選 Apps/程式到開始畫面

2016年7月7日星期四

Realtek RTS5139 USB Card Reader Windows 10 Driver

今天幫部聯想S205更重裝上 Windows 10,當中只有一個硬件不能自動安裝驅動,翻查了是Realtek 讀咭器,但 Realtek 官網並找不到 RTS5139 的 Windows 10 驅動,聯想網上也只找到 Windows 8 的驅動,後來網上有指出 Realtek 最新驅動 V10.0.370.125 也適用於 RTS5139,於是下載來安裝,暫時工作正常未發現問題。

Realtek Driver 下載網頁


2015年9月12日星期六

解決 Windows 10 放大自訂縮放層級後畫面變蒙的另一方法

之前指出有小工具下載可解決這問題,今天再找到不用下載軟件的方法,但就要用到 gpedit.msc,所以家用版便不能用這方法了。

這方法要先建立一個 cmd script 檔(e.g. dpi_fix.cmd),寫入以下修改機碼的指今

REG ADD "HKCU\Control Panel\Desktop" /v DpiScalingVer /t REG_DWORD /d 0x00001018 /f
REG ADD "HKCU\Control Panel\Desktop" /v Win8DpiScaling /t REG_DWORD /d 0x00000001 /f
REG ADD "HKCU\Control Panel\Desktop" /v LogPixels /t REG_DWORD /d 0x00000078 /f

然後再打開 gpedit.msc,選"使用者設定">"Windows 設定">"指令碼 - (登入/登出),
再雙擊登入項,然後"新增" dpi_fix.cmd後按確定。

註:可能要先重啟兩次再會起作用。

參考
http://www.tenforums.com/general-discussion/11079-fix-windows-10-blurry-text-windows.html

2015年9月10日星期四

入不了 Windows 的救機方法(一) - Safe Mode

入不了 Windows 可以有很多原因,如安裝了有問題的軟件\ 驅動、系統檔案損毀等,這時可以先 Boot 入 Windows 的安全模式 (Safe Mode),嘗試修復 Windows

Boot 入 安全模式的方法可以參考以下連結
http://www.howtogeek.com/107511/how-to-boot-into-safe-mode-on-windows-8-the-easy-way/

安全模式內提供了一些預設的修復方案,而且還可以進入"命令模式" (Command Prompt),再執行以下指令嘗試修復硬碟損毀的檔案
chkdsk c: /r 

2015年9月3日星期四

解決 Windows 10 放大自訂縮放層級後畫面變蒙的問題

現在的 Windows 10 其實似一個預覧版,還有不少問題,如放大自訂縮放層級後畫面變蒙, 網上說是改變了以往的 DPI scaling 方法,幸好找到了一個小工具可以令 Windows 10 改回以往的 DPI scaling 方法。

工具官網
http://windows10_dpi_blurry_fix.xpexplorer.com/

2015年8月26日星期三

在 Windows 10 的雙顯示系統設定不同桌面牆紙

不同於 Windows 8,用一般方法在 Windows 10 的個人化設定上是找不到設定兩個顯示器用不同牆紙的選項,原來 Microsoft 還未為 Windows 10 寫好完整的 "設定" APP UI,便將這個選項從傳統"控制台"內的 UI 隱藏起,最可惡是微軟見己的工作人員也不知道,居然亂教人掃毒或重設電腦,幸好有人指出如何再顯示隱藏了的 UI,就是"執行"以用的指令:

control /name Microsoft.Personalization /page pageWallpaper

跟著便可以看到熟識的畫面設定不同顯示器的桌面牆紙。

來源
Microsoft Community

P.S. 一直覺得微軟自己的工作人員沒有真正以用家的身分詳細測試OS,可能他們只是輕度用家,或是開發人員跟本就不用正常用戶的UI,所以連他們自也不清楚用戶遇到的問題。

2015年8月18日星期二

G3258 超頻又想上Windows 10 嘅 Hacking 方法

用 G3258 超嘅頻上唔到 Windows 10 嘅朋友可以用以下方法解決
1. 先用回G3258預設3.2G升上Windows10
2. 用 unlocker 把 C:\Windows\System32\mcupdate_GenuineIntel.dll 改成 C:\Windows\System32\mcupdate_GenuineIntel.dll.bak
3. 現在就可以正常入bios 超頻

unlocker 下載
http://portableapps.com/apps/utilities/iobit-unlocker-portable

2015年8月13日星期四

升級上 Windows 10

部 netbook 及 Surface Pro 3 都成功升上 Windows 10,但自己砌的桌機便一直出現 error,甚至連用 Windows 10 安裝 USB 也不能 boot 入安裝畫面,最後發現原來 Windows 10 對超頻十分敏感,桌機粒 G3258 一定要用回預設3.2G才可成功 boot 入安裝畫面並安裝 Windows 10 系統,似乎 Windows 10 真的與我沒緣了。

2015年8月7日星期五

解決升上 Windows 10 後出現的 Windows Update Error

升上 Windows 10 後出現了部份更新失敗的 error,電腦顯示的錯誤碼是 0x80200056,但網上找到這個方法雖然錯誤碼不同,但還是解決了問題, 在機碼 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability 下加入字串
1. BranchName 並輸入值 FBL_AWESOME1501
2. ThresholdRiskLevel 並輸入值 low

參考網頁