Saturday, September 23, 2023

Open command prompt as Run as Administrator using command

 

  1. Press Win + R on your keyboard. This will open the Run dialog.

  2. In the Run dialog, type cmd and press Ctrl + Shift + Enter. This keyboard combination will launch Command Prompt with administrative privileges.

Alternatively, you can also try the following command in a regular Command Prompt window to open a new elevated Command Prompt window:


start cmd.exe /k "runas /user:Administrator cmd"


Repair damaged system files as follows:

  • Type cmd in Windows search
  • Right-click on Command Prompt and select Run as administrator
  • When the User Account Control window pops up, click Yes
  • Use the following command and press Enter:
    sfc /scannow
  • After the SFC scan is complete, use the following commands, pressing Enter after each:
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your system.

IANA timezone details in short

  The IANA Time Zone Database (often called tzdata , zoneinfo , or the Olson database ) is the global standard for representing time zones ...