Instead of making changes to the directories. There is still an even better workaround. You will do $PSScriptRoot\D2Rhandle_del\d2r_handles.txtĮven though the mentioned fix above works. You will do "$PSScriptRoot\D2Rhandle_del\handle64.exe" So basically you just add the missing directory folder named D2Rhandle_del Just Ctrl+F to search or Ctrl+H to replace text. Was able to click start > Search power shell, then Right-Click as admiistrator ( copy & paste the script ) and run it just fine * Had to edit the directory locations Installed PowerShell 7, same thing Result. Shortcut Created ( Run as admin checkbox greyed out ) Windows 11 : Frustrated & Upset because PowerShell Scripts can't run as admin ? If (!(::GetCurrent()).IsInRole( "Administrator")) "
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |