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. System32 error when running as administrator, installing or running programs

    in Windows 10 BSOD Crashes and Debugging
    System32 error when running as administrator, installing or running programs: Several months ago, my PC suddenly wouldn't boot up at all. Through troubleshooting, I eventually got to ruling out RAM. When I pulled one of the RAM sticks, the PC booted into the middle of a system update. Apparently I had a stick of RAM fail in the middle of a system...
  3. System32 error when running as administrator, installing or running programs

    in Windows 10 Gaming
    System32 error when running as administrator, installing or running programs: Several months ago, my PC suddenly wouldn't boot up at all. Through troubleshooting, I eventually got to ruling out RAM. When I pulled one of the RAM sticks, the PC booted into the middle of a system update. Apparently I had a stick of RAM fail in the middle of a system...
  4. System32 error when running as administrator, installing or running programs

    in Windows 10 Software and Apps
    System32 error when running as administrator, installing or running programs: Several months ago, my PC suddenly wouldn't boot up at all. Through troubleshooting, I eventually got to ruling out RAM. When I pulled one of the RAM sticks, the PC booted into the middle of a system update. Apparently I had a stick of RAM fail in the middle of a system...
  5. My programs crash when trying to save as unless I run as administrator

    in Windows 10 Gaming
    My programs crash when trying to save as unless I run as administrator: Hello,The issue seems to affect every application, from Word, Paint to more specialized softwares. I have been dealing with this issue for a long time and found kind of a solution in running the apps as administrator, but I wish I didn't have to deal with it in the first...
  6. My programs crash when trying to save as unless I run as administrator

    in Windows 10 Software and Apps
    My programs crash when trying to save as unless I run as administrator: Hello,The issue seems to affect every application, from Word, Paint to more specialized softwares. I have been dealing with this issue for a long time and found kind of a solution in running the apps as administrator, but I wish I didn't have to deal with it in the first...
  7. How to run everything as administrator everytime

    in Windows 10 Gaming
    How to run everything as administrator everytime: I do not like having to click, then select run as administrator every time I want too. How do I have this as a default setting? How do I get rid of Admin all together. So, if I click an app, it just runs, and I don't have to fight windows and try multiple times every time....
  8. How to run everything as administrator everytime

    in Windows 10 Software and Apps
    How to run everything as administrator everytime: I do not like having to click, then select run as administrator every time I want too. How do I have this as a default setting? How do I get rid of Admin all together. So, if I click an app, it just runs, and I don't have to fight windows and try multiple times every time....
  9. Windows 11 cannot run settings as administrator

    in Windows 10 Gaming
    Windows 11 cannot run settings as administrator: I am running Windows 11 Pro.I need to enable Location services in Settings for a printer. but unfortunately, I can't do this.I'm able to run all sorts of other programs – Excel, command prompt, etc. – but NOT Settings.Any ideas...
  10. Windows 11 cannot run settings as administrator

    in Windows 10 Software and Apps
    Windows 11 cannot run settings as administrator: I am running Windows 11 Pro.I need to enable Location services in Settings for a printer. but unfortunately, I can't do this.I'm able to run all sorts of other programs – Excel, command prompt, etc. – but NOT Settings.Any ideas...