2024年2月17日 星期六

Using command line download google Chrome browser 免IE瀏覽器 使用命令列下載chrome瀏覽器

### cURL (Windows 10 built-in)
curl -fsSL "http://dl.google.com/chrome/install/chrome_installer.exe" > ChromeSetup.exe


### PowerShell Script 
powershell -Command "(new-object System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/chrome_installer.exe','ChromeSetup.exe')"

2023年12月18日 星期一

Launch Microsoft Store apps from Command Prompt


Open Microsoft Store from Run

explorer.exe ms-windows-store:

Open Microsoft app from Run

explorer.exe shell:appsFolder\<PackageFamilyName>!<App ID>
explorer.exe appInstallLocation\executable file (various location by app version)


find out apps name in shortcut detail properties

e.g.  minecraft launcher is Microsoft.4297127D64EC6_8wekyb3d8bbwe 



find appInstallLocation:

1.using powershell type  get-appxpackage > c:\findout.txt

2.find  app’s PackageFamilyName (Microsoft.4297127D64EC6_8wekyb3d8bbwe)
copy InstallLocation paste to file browser

3. open AppxManifest.xml in InstallLocation


find Application Id & Executable file in AppxManifest.xml


2022年12月28日 星期三

Windows GodMode

上帝模式(GodMode)不僅適用於Windows 7和Windows Vista系統,而且適用於未來的Windows 8系統。
據悉,Windows 7上帝模式首先由國外的一個博客發現。該博客感嘆於此項隱藏功能的神奇,遂將其命名為「GodMode」。你可以用任何名稱創造新的文件夾,再加上特定的字串,就能直接進入各種設定的控制面板。

例如,在桌面新建一個文件夾,命名為 GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}。你會發現:圖標變成了「控制面板」,文件夾裡面有相當豐富的內容。

2022年12月4日 星期日

HTML useful on-line tools

 https://html-cleaner.com/


Table generator:

https://www.tablesgenerator.com/html_tables


https://tableconvert.com/zh-tw/


Ionic UI Framework

https://ionicframework.com/docs/components

https://ionicframework.com/docs/intro/cdn


2022年5月30日 星期一

[舊電腦升級] Windows 11 安裝繞過 TPM 2.0、CPU 破解硬體限制教學

 微軟 Windows 11 作業系統對於電腦硬體有相當高的要求,其中最大的限制為 TPM 2.0、CPU(至少Intel 第八代 CPU)及安全開機(Secure Boot),這也造成需多不符合硬體需求的老舊電腦無法升級安裝。這篇要教各位透過修改安裝檔的方式進而繞過 TPM 2.0 及 CPU 的限制,讓老舊不符合硬體需求的電腦能在順利升級 Windows 11 作業系統。

下載iso,到微軟官網下載 Windows 11 ISO 映像檔

解壓縮iso檔,進入「sources」資料夾

找到「appraiserres.dll」檔,將這支檔案重新命名或刪除(讓這支檔案沒作用),這邊將檔案重新命名為「appraiserres.dll_bak」,另外請記得「開啟顯示副檔名」才能完整對檔案重新命名。

 將網路卡停用,讓 Windows 11 安裝程式在執行過程中,無法連上微軟的線上硬體檢測伺服器,以達到繞過硬體相容性檢測。停用操作步驟:在「網路」按右鍵「內容」,接著點擊「改變介面卡設定」,之後將目前連網的網路卡「停用」。

點擊「setup.exe」執行 Windows 11 安裝程式進行安裝,進行過程中會發現安裝程序直接【跳過】「不符合電腦硬體需求」的提示,可順利看到「安裝」按鈕。

 

 

 參考資料:

https://www.tokfun.net/os/windows/install-windows-11-old-pc/

2022年4月10日 星期日

Using DD command to Erase disk

CBL Data Shredder  can't executed properly in Win10

Try alternate approach:  using dd command for windows

 

First  download the utility DD (download) and unzip it. 

http://www.chrysocome.net//dd


win+Q    search  cmd   and right click the icon run as an administrator

 

execute    dd  --list

List all disk and volumes found in Windows:


rawwrite dd for windows version 0.5.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by the GPL.  See copying.txt for details
Win32 Available Volume Information


\\.\Volume{1d2d4629-0000-0000-0000-100000000000}\
  link to \\?\Device\HarddiskVolume6
  fixed media
  Not mounted

\\.\Volume{41741c34-0000-0000-0000-100000000000}\
  link to \\?\Device\HarddiskVolume13
  fixed media
  Mounted on \\.\g:


select  CORRECT disk and execute following command: 

dd bs=1048576 count=1000 of=\\?\Device\HarddiskVolume13 if=/dev/zero --progress

(note:  bs=1MB count= how many bs you want to erase)


All data will be erased immediately, so execute command carefully !!!

 

 

dd bs=1G count=80 of=\\?\Device\HarddiskVolume10 if=/dev/zero --progress

2019年1月9日 星期三

下載 youtube 影片與音樂檔最簡單的方法

下載 youtube 影片與音樂檔最簡單的方法

下載 youtube 影片與音樂檔最簡單的方法:
  1. +pp
  2. +to
  3. -ube

參考資料:
http://www.vixual.net/blog/archives/134#more-134

2018年2月3日 星期六

外接硬碟盒&當硬碟大於2TB



當外接硬碟盒(例如使用 seagate goflex)   接 >2TB硬碟
透過USB 會自動使用 4K / sector  在這個情況下進行磁碟分割 格式化

將硬碟從外接盒取出接上主機板 透過內接方式讀取資料 
(系統會預設使用 512b / sector 讀取資料)
造成磁區大小、數量不同    作業系統  無法正確辨識 分割表 與 檔案系統


兩種格式轉換 必須透過 CBL Data Shredder 等...軟體
清除硬碟所有資訊  變成空白硬碟  辨認成新硬碟後 才能重新分割


參考資料:
https://www.ptt.cc/bbs/Storage_Zone/M.1430364898.A.181.html

登錄檔調教 「如何刪除「右鍵選單」中不常用的【新增】檔案類型? 解決windows 10桌面右鍵選單反應很慢的方法



如何刪除「右鍵選單」中不常用的【新增】檔案類型?

登錄檔的「HKEY_CLASSES_ROOT」項目底下,一一尋找各檔案類型的資料夾中是否有「ShellNew」這個機碼,有「ShellNew」機碼的話該檔案類型便會出現在右鍵選單的「新增」選單裡我們如果將「ShellNew」機碼刪除,右鍵選單中便不會再出現該檔案類型的新增項目。


注意: 
.link」是新增捷徑,「Folder」是新增資料夾,
這兩個會很常用到,請不要將這兩個項目中的「ShellNew」機碼刪除了。


調整"新增"項目的順序
可以修改

電腦\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew



參考資料:

https://briian.com/5076/




解決windows 10桌面右鍵選單反應很慢的方法

找出資料夾「HKEY_CLASSES_ROOT/Directory/Background/shellex/ContextMenuHandlers]

igfxcui
igfxDTCM
^^^^^^^^^^
以上兩個是INTEL 顯示設定選單


NvCplDesktopContext  是nVidia顯示卡設定選單

如果解除顯示卡安裝程式 之後這些選單沒跟著被移除
在桌面按右鍵就會卡頓



參考資料:


https://www.dcard.tw/f/3c/p/157357544
https://www.ptt.cc/bbs/Windows/M.1475672459.A.523.html
https://www.tenforums.com/tutorials/6088-remove-intel-hd-graphics-desktop-context-menu-windows.html