xxxxxxxxxx
Open Registry Editor and navigate to the following location:
HKEY_CLASSES_ROOT\*\shell
Right-click on the shell key in the left pane, and select New -> Key from the pop-up menu.
Right-click on the runas key and create a new subkey named command. Next, double-click on “(Default)” in the right pane and set it to “notepad %1“.