All about Information Technology!

disable

Enable or Disable UAC from command line

Run Windows command line (cmd) as administrator. Enable UAC reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f Disable UAC reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

>>

, , , , , ,

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 HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v HideSCAHealth /f to Disable|Hide Action Center reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v HideSCAHealth /t REG_DWORD /d 0×1

>>

, , , , , , , ,

Disable or Enable Windows Firewall via Command Line

Open command line. To disable windows firewall execute: netsh firewall set opmode disable To enable windows firewall execute: netsh firewall set opmode enable

>>

, , , , , ,

Disable the safe mode

1. Open your php.ini file for editing as root or administrator. 2. Search the file for the line: safe_mode on and change it to safe_mode off 3. Restart you Apache web server. Important! safe_mode feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

>>

, , , ,

Configuring windows firewall from the command line

To configure Windows firewall from the command line, you have to open the cmd with administrative rights. Default Rule To deny all incoming connections and allow all outgoing connections: netsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound Enable or Disable firewall To enable firewall: netsh advfirewall set allprofiles state on or netsh firewall set opmode enable To [...]

>>

, , , , , , , , , , , , , , ,

Iptables made easy with ufw

UFW is a front-end for iptables and is here to make your life easier!  Default Rule To deny all incoming connections: sudo ufw default deny To allow all incoming connections: sudo ufw default allow   Enable or Disable ufw To enable ufw: sudo ufw enable To disable ufw: sudo ufw disable   Allow or Deny [...]

>>

, , , , , , , , , , , ,