reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Hidden /t REG_DWORD /d 1 /f taskkill /f /im explorer.exe & start explorer.exe Set current session to show hidden files:
dir /a To change the global Explorer setting using reg : show hidden files in windows
Get-ChildItem -Force Permanently change Windows setting: show hidden files in windows
dir /a:h To show all files (including system/hidden): show hidden files in windows