![]() Now, to run the PowerShell console as an administrator without a UAC prompt, select the PowerShellAdminTask task in the Task Scheduler console, right-click on it, and select Run. Copy the following line to the Program field C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.Go to the Actions tab and select New > Start a program.Select Windows 10 in the Configure form.Check the option Run with highest privileges.Specify the task name PowerShellAdminTask.Open the Task Scheduler console (taskschd.msc).Now let’s create a scheduled task to run PowerShell as administrator: ![]() Learn how to use PowerShell to check the status of a Windows service. The PowerShell console should open without a UAC prompt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |