Tag Archives: line
Update Plesk 12 license from command line

To update Plesk license key: /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f UpdateKeys/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f UpdateKeys

Αdd to every line using Notepad++

1> Press ctrl+H 2> Choose the “Regular expressions“. 3> To add “–” to the beginning of each line, type ^…

Find computer’s model

> Open command line or Windows Powershell > Type: wmic csproduct get namewmic csproduct get name and > Press Enter…

Line oriented command interpreter in Python

The Cmd class provides a simple framework for writing line-oriented command interpreters. A Cmd instance or subclass instance is a…

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…

Change Power Button Action using command line

Open a cmd window and run the following command: reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /v Start_PowerButtonAction /t REG_DWORD /d 16 /freg add…

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…

Change drive label from command line

The label of a disk volume can be changed from windows command line using label command. Usage: label [drive_letter:] [label]label…

Create event from command line in Windows

Using eventcreate command you can create a custom event and log it in any of the event log files(System, Application)….

Change windows wallpaper from command line

Open command line and execute: reg add "HKEY_CURRENT_USERControl PanelDesktop" /v Wallpaper /t REG_SZ /d  C:wallpaperpathimage.jpg /freg add "HKEY_CURRENT_USERControl PanelDesktop" /v…

Next Page