Tag: enable

CakePHP, PHP

How to enable Paginator in CakePHP 3

Let’s see how can we enable and initialize the CakePHP built-in Paginator Component so we can use it in our views. class MyController extends AppController { //Loading Templates from a File //This will load the file located at config/paginator-templates.php public $helpers = [ ‘Paginator’ => [’templates’ => ‘paginator-templates’] ];   //Define the default query conditions …

News, Security, Vulnerabilities

Enable Windows Authenticode signature verification

Microsoft Security Bulletin MS13-098 This security update resolves a privately reported vulnerability in Microsoft Windows. The vulnerability could allow remote code execution if a user or application runs or installs a specially crafted, signed portable executable (PE) file on an affected system. This security update is rated Critical for all supported releases of Windows. The …

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  

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