Administrator Command Prompt

One of the coolest way to launch an Administrator Command Prompt is to use the following.
powershell Start-Process cmd -Verb runAs
Once you are done, it is recomended that you clear the history of the Run window to hide your activities. This can be done using the following
powershell "Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU' -Name '*' -ErrorAction SilentlyContinue"

acp.bat
TITLE Administrator Command Prompt v1.0 by Stephan Pringle.
@ECHO OFF
COLOR 1F && CLS
ECHO ----------------------------------------
ECHO (A) Launches an Administrator Command prompt
ECHO (B) Flushes the history of the Run Window.
ECHO ----------------------------------------
ECHO.
ECHO Copyright (C) 2019 Sipylus. All rights reserved
PAUSE
powershell Start-Process cmd -Verb runAs
powershell "Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU' -Name '*' -ErrorAction SilentlyContinue"

The following two tabs change content below.
facebook-profile-picture

Stephan Pringle

Technology Support Specialist at Sipylus
About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.
facebook-profile-picture

Latest posts by Stephan Pringle (see all)

facebook-profile-picture

Stephan Pringle

About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.