Windows Registry Editor Version 5.00 [Hkey_classes_root \ * \ Shell \ RunAs] @ = " The Administrator obtains ownership. " " Noworkingdirectory " = "" [Hkey_classes_root \ * \ Shell \ RunAs \ command] @ = " Cmd.exe/C takeown/f \ "% 1 \" & icacls \ "% 1 \"/grant administrators: F " " Isolatedcommand " = " Cmd.exe/C takeown/f \ "% 1 \" & icacls \ "% 1 \"/grant administrators: F " [Hkey_classes_root \ exefile \ shell \ runas2] @ = " The Administrator obtains ownership. " " Noworkingdirectory " = "" [Hkey_classes_root \ exefile \ shell \ runas2 \ command] @ = " Cmd.exe/C takeown/f \ "% 1 \" & icacls \ "% 1 \"/grant administrators: F " " Isolatedcommand " = " Cmd.exe/C takeown/f \ "% 1 \" & icacls \ "% 1 \"/grant administrators: F " [Hkey_classes_root \ directory \ shell \ RunAs] @ =" The Administrator obtains ownership. " " Noworkingdirectory " = "" [Hkey_classes_root \ directory \ shell \ RunAs \ command] @ = " Cmd.exe/C takeown/f \ "% 1 \"/R/d y & icacls \ "% 1 \"/grant administrators: F/T " " Isolatedcommand " =" Cmd.exe/C takeown/f \ "% 1 \"/R/d y & icacls \ "% 1 \"/grant administrators: F/T "
Copy and save it to. Reg format. Import the registry.