最後更新: 2019-12-02
目錄
- reg.exe
- ...
- regback folder
reg.exe
Example
# 新增一個值 (名稱: Data, 類型: REG_BINARY, 資料: fe340ead)
reg.exe ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead
reg.exe ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Configuration Manager" ^
/v EnablePeriodicBackup /t REG_DWORD /d 1
類型
- REG_BINAR
- REG_SZ
- REG_DWORD
- REG_NONE
Useful Opts
- /ve 為機碼新增空的值名稱 <預設值>
- /f 不須提示,強制覆寫現存的登錄項目
Help
REG QUERY /?
REG ADD /?
REG DELETE /?
REG COPY /?
REG SAVE /?
REG RESTORE /?
REG LOAD /?
REG UNLOAD /?
REG COMPARE /?
REG EXPORT /?
REG IMPORT /?
Default open with (double click)
HKEY_CLASSES_ROOT\aliim\Shell\Open\Command
URL Protocol
新增移除內的項目
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
regback folder
Path: C:\Windows\System32\config\RegBack
Win10(1803) no longer automatically backs up the system registry to the RegBack folder.
(to help reduce the overall disk footprint size)
(regback folder is empty)
re-enable it
HKLM\System\CurrentControlSet\Control\Session Manager\Configuration Manager\EnablePeriodicBackup
DWORD: 1
Windows backup reg when the computer restarts
(Scheduled Task: Microsoft\Windows\Registry folder)