Script Not Running as Administrator on Single Account

鏡 ᴋʏᴀᴍɪツ 0 Reputation points
2025-04-28T10:36:37.4233333+00:00

User's image

User's image

the script is not being run as adminstrator when i am on the only provide account

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,917 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 35,726 Reputation points
    2025-04-28T14:23:37.7466667+00:00

    The script is checking to see if it is running elevated. Don't open Powershell with "Run as administrator".

    Note the difference in the title.

    User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.