Tag: disable

Microsoft Windows

Disable screensaver via command line

To disable screen saver: reg add “HKEY_CURRENT_USERControl PanelDesktop” /v ScreenSaveActive /t REG_SZ /d 0 /freg add “HKEY_CURRENT_USERControl PanelDesktop” /v ScreenSaveActive /t REG_SZ /d 0 /f To enable screen saver: reg add “HKEY_CURRENT_USERControl PanelDesktop” /v ScreenSaveActive /t REG_SZ /d 1 /freg add “HKEY_CURRENT_USERControl PanelDesktop” /v ScreenSaveActive /t REG_SZ /d 1 /f

Microsoft Windows

Enable or Disable Control Panel

Disable Control Panel 1. Run cmd as administrator 2. Type: reg add "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /v NoControlPanel /t REG_DWORD /d 1 /freg add "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" /v NoControlPanel /t REG_DWORD /d 1 /f 3. Hit enter 4. Type: shutdown /l /fshutdown /l /f 5. Hit enter to log off     Enable Control Panel 1. Run cmd as administrator …

Microsoft Windows

Enable or Disable Task Manager

Disable Task Manager reg add HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem /v DisableTaskMgr /t REG_DWORD /d 1 /freg add HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem /v DisableTaskMgr /t REG_DWORD /d 1 /f Enable Task Manager reg add HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem /v DisableTaskMgr /t REG_DWORD /d 0 /freg add HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem /v DisableTaskMgr /t REG_DWORD /d 0 /f  

Enumeration, Microsoft Windows

Disable NetBIOS NULL Sessions

Use Registry Editor to view the following registry key, and then add the following value to this key, or modify it if the value already exists: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSAHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA Value: RestrictAnonymous Value Type: REG_DWORD Value Data: 0x2 (Hex) 0 None. Rely on default permissions 1 Do not allow enumeration of SAM accounts and names 2 No access …

Microsoft Windows, Windows 7

Enable or Disable UAC from command line

Run Windows command line (cmd) as administrator. Enable UAC reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 1 /freg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 1 /f Disable UAC reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /freg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /f

Microsoft Windows

Enable or Disable Action Center from cmd

Open command line with administrative permissions and execute the following commands: to Enable|Show Action Center reg delete HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v HideSCAHealth /freg delete HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v HideSCAHealth /f to Disable|Hide Action Center reg add HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v HideSCAHealth /t REG_DWORD /d 0x1reg add HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer /v HideSCAHealth /t REG_DWORD /d 0x1

Firewall, Microsoft Windows

Disable Windows firewall via Command Line

Open command line. To disable windows firewall execute: netsh firewall set opmode disablenetsh firewall set opmode disable or netsh advfirewall set allprofiles state offnetsh advfirewall set allprofiles state off To enable windows firewall execute: netsh firewall set opmode enablenetsh firewall set opmode enable or netsh advfirewall set allprofiles state onnetsh advfirewall set allprofiles state on