Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows #9

Open
nntrn opened this issue Jan 11, 2023 · 2 comments
Open

Windows #9

nntrn opened this issue Jan 11, 2023 · 2 comments

Comments

@nntrn
Copy link
Owner

nntrn commented Jan 11, 2023

Fix cmd.exe crash when opening

Edit registry value for Autorun in HKEY_CURRENT_USER\Software\Microsoft\Command Processor to empty string (blank)

Clear-ItemProperty  -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor" -Name "AutoRun"

Source:

@nntrn nntrn changed the title Fix cmd.exe crash when opening Windows Apr 8, 2023
github-actions bot pushed a commit that referenced this issue Apr 8, 2023
@nntrn
Copy link
Owner Author

nntrn commented Apr 8, 2023

Read only attribute after Windows Reinstall

Using attrib

:: for folders
attrib -r c:\my-folder

:: for files
attrib -r c:\my-folder\*.*

Source

Using takeown

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /V EnableLUA /T REG_DWORD /D 0 /F

takeown /F c: /r

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

Source

github-actions bot pushed a commit that referenced this issue Apr 8, 2023
github-actions bot pushed a commit that referenced this issue Apr 8, 2023
@nntrn
Copy link
Owner Author

nntrn commented Jul 25, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant