Windows 10: 'Run as Administrator'

Discus and support 'Run as Administrator' in Windows 10 Software and Apps to solve the problem; I have got this annoying issue where my windows 11 computer randomly crashes and I read I need to scan but having issues getting there with sfc... Discussion in 'Windows 10 Software and Apps' started by dagonxanith, Apr 12, 2025.

  1. 'Run as Administrator'


    I have got this annoying issue where my windows 11 computer randomly crashes and I read I need to scan but having issues getting there with sfc /scannow it says I need to be administrator, tried to type command recommendation but now I am trying to do the whole "Run as administrator" thing but all I am getting is the message ''Run' is not recognized as an internal or external command, operable program or batch file.I seriously don't know what I am doing and search isn't helping. Suggestions?

    :)
     
    dagonxanith, Apr 12, 2025
    #1
  2. angus Win User

    Settings can't be opened using the built-in administrator account


    Hello,
    Unfortunately I have the same issue as Dabz from upgrading win7 to win10.
    I've tried opening settings using all the suggested methods and it will not load using my account with Administrator access nor the built-in Administrator profile. I also tried other methods not listed such as using Run. Control panel is just a stepping stone to add users in Settings.
    I'm also having explorer.exe issues, which I believe is preventing Settings from loading.
    Using cmd (Admin) I successfully created a new user profile [and granted admin access also using cmd (Admin)], however win10 will not allow this account to log on. win10 does not list this new user within control panel but it does in the start menu. win10 will not allow to log in or switch to the new account via the start menu either.
    I can access settings in Safe Mode but this will not allow me to create a new account.
    Any help/suggestions will be greatly appreciated.
    Cheers
     
    angus, Apr 12, 2025
    #2
  3. ddelo Win User
    Export All Administrative Events to Excel

    To analyze events, from the Windows Event Viewer, there is a simple way to export all Administrative Events to Excel, with PowerShell.

    Exporting all Administrative Events to Excel is a simple two Step process, as described here:

    Step 1 - Create the Administrative Events View .xml file
    1. Open Eventviewer (%windir%\system32\eventvwr.msc)
    2. Navigate to: Event Viewer (Local) > Custom Views > Administrative Events
    3. In the “Actions” pane select “Filter Current Custom View”.
    4. Select the the XML tab.
    5. Press Ctrl+A to select all the XML code of the Custom View.
    6. Open a notepad, paste the selected code and save the file to your Desktop as AdmEvtView.xml


    Step 2 - Create the csv file with the events
    1. Download the ExportEvtCSV.zip file, which contains the script ExportEvtCSV.ps1 and unzip it, on your Desktop.
      It's not a fancy script, just basic PowerShell commands to create a csv file on the Desktop.
    2. In Windows Search, type “ISE” (without the quotes) to open “Windows PowerShell ISE” and Run as administrator
    3. To allow running the script, change the ExecutionPolicy, for this session. To do that, in the Console pane type:
      Code:
    4. In the Windows PowerShell ISE, open and run the script: ExportEvtCSV.ps1
      The script will create a csv file with a name YYYYMMDD.HHMM.csv on the Desktop
    5. When done, open the newly created .csv file, format the columns as needed and optionally save it as .xlsx, if you wish.
    That’s it! You now have all the Administrative Events in Excel for filtering and further analysis. 'Run as Administrator' :)

    Now to the more technical hard stuff... *Confused

    There is a reason for running the script from within PowerShell ISE!

    It would be great if everything was also working perfectly, when running the script from an elevated PowerShell too.

    We can run it from an elevated PowerShell, which means that you just follow the Step 1, as above but for the Step 2 instead of the ISE you run the script from an elevated PowerShell.

    The problem is that it will work only for anybody who has en-US format for the dates. Everyone else, who has another format (i.e. en-GB, fr-FR, el-GR etc.), the dates are not translated properly by Excel (although the script uses the –UseCulture switch) and remain as text in the en-US format.

    I'm not sure if this a bug of the "export-csv" cmdlet, but although it runs the way it supposed to from within the ISE, from PowerShell there is a problem with the dates format.
    As I haven’t found a way to overcome this obstacle, any suggestion from the PowerShell gurus of the forum (like my good friend Shawn @Brink, for instance), is welcome.
     
    ddelo, Apr 12, 2025
    #3
  4. 3ND
    3nd Win User

    'Run as Administrator'

    How to run as administrator permanently?

    no .
     
Thema:

'Run as Administrator'

Loading...
  1. 'Run as Administrator' - Similar Threads - 'Run Administrator'

  2. 'Run as Administrator'

    in Windows 10 Gaming
    'Run as Administrator': I have got this annoying issue where my windows 11 computer randomly crashes and I read I need to scan but having issues getting there with sfc /scannow it says I need to be administrator, tried to type command recommendation but now I am trying to do the whole "Run as...
  3. Can't run HP Cloud Recovery Tool as administrator

    in Windows 10 Gaming
    Can't run HP Cloud Recovery Tool as administrator: Trying to use HP Cloud Recovery Tool on my primary Windows 11 HP laptop so I can recover my secondary HP laptop. I am the administrator but each time I try to open the tool it continues to say I need to run it as the admin even though I've selected Run As Administrator. I've...
  4. Can't run HP Cloud Recovery Tool as administrator

    in Windows 10 Software and Apps
    Can't run HP Cloud Recovery Tool as administrator: Trying to use HP Cloud Recovery Tool on my primary Windows 11 HP laptop so I can recover my secondary HP laptop. I am the administrator but each time I try to open the tool it continues to say I need to run it as the admin even though I've selected Run As Administrator. I've...
  5. Visual Studio 2022 - Run as Administrator - No Longer Works - Troubleshoot Compatibility...

    in Windows 10 Gaming
    Visual Studio 2022 - Run as Administrator - No Longer Works - Troubleshoot Compatibility...: I have been doing this for years with different versions of Visual Studio. This is for Visual Studio 2022. As I have done for years, I have added it to the Taskbar to open specific solutions quickly. ADMIN mode is usually required to function without issues. Usually, with...
  6. Visual Studio 2022 - Run as Administrator - No Longer Works - Troubleshoot Compatibility...

    in Windows 10 Software and Apps
    Visual Studio 2022 - Run as Administrator - No Longer Works - Troubleshoot Compatibility...: I have been doing this for years with different versions of Visual Studio. This is for Visual Studio 2022. As I have done for years, I have added it to the Taskbar to open specific solutions quickly. ADMIN mode is usually required to function without issues. Usually, with...
  7. I am unable to run apps as a administrator and I didn't see that where is my administrators...

    in Windows 10 Gaming
    I am unable to run apps as a administrator and I didn't see that where is my administrators...: I am unable to run apps as. A administrator account it shows only no option Like when you click on app and try to run it as a administrator account it only shows option of no the yes option is not showing....
  8. I am unable to run apps as a administrator and I didn't see that where is my administrators...

    in Windows 10 Software and Apps
    I am unable to run apps as a administrator and I didn't see that where is my administrators...: I am unable to run apps as. A administrator account it shows only no option Like when you click on app and try to run it as a administrator account it only shows option of no the yes option is not showing....
  9. I don’t have the option to press run as administrator I only have no

    in Windows 10 Gaming
    I don’t have the option to press run as administrator I only have no: Help me please https://answers.microsoft.com/en-us/windows/forum/all/i-dont-have-the-option-to-press-run-as/915de043-aa7e-4383-bff6-20fff986dd85
  10. I don’t have the option to press run as administrator I only have no

    in Windows 10 Software and Apps
    I don’t have the option to press run as administrator I only have no: Help me please https://answers.microsoft.com/en-us/windows/forum/all/i-dont-have-the-option-to-press-run-as/915de043-aa7e-4383-bff6-20fff986dd85