Windows 10: Everything runs as Administrator

Discus and support Everything runs as Administrator in Windows 10 Gaming to solve the problem; Good dayI made a mistake while installing NASM where I completely messed up my path variable and since then VS Code and other applications run as... Discussion in 'Windows 10 Gaming' started by Jonathan Jungle, Aug 17, 2022.

  1. Everything runs as Administrator


    Good dayI made a mistake while installing NASM where I completely messed up my path variable and since then VS Code and other applications run as administrator.I would like to post screenshots of my current path variables and would like to ask whether there is some admin or security?? path that I am missing that is causing this issue.User PATH env variable:System Path variable:Im not sure what happened but I can give some more specifics of what command I messed up:I input the command setx Path "%Path%;C:\Program Files\NASM\ but as you can see I forgot to close the string. Since this happen

    :)
     
    Jonathan Jungle, Aug 17, 2022
    #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, Aug 17, 2022
    #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. Everything runs 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, Aug 17, 2022
    #3
  4. 3ND
    3nd Win User

    Everything runs as Administrator

    How to run as administrator permanently?

    no .
     
Thema:

Everything runs as Administrator

Loading...
  1. Everything runs as Administrator - Similar Threads - Everything runs Administrator

  2. Everything runs as Administrator

    in Windows 10 Software and Apps
    Everything runs as Administrator: Good dayI made a mistake while installing NASM where I completely messed up my path variable and since then VS Code and other applications run as administrator.I would like to post screenshots of my current path variables and would like to ask whether there is some admin or...
  3. Everything runs as Administrator

    in Windows 10 BSOD Crashes and Debugging
    Everything runs as Administrator: Good dayI made a mistake while installing NASM where I completely messed up my path variable and since then VS Code and other applications run as administrator.I would like to post screenshots of my current path variables and would like to ask whether there is some admin or...
  4. I Want to Run Everything in Windows 10 as Administrator

    in User Accounts and Family Safety
    I Want to Run Everything in Windows 10 as Administrator: I want to run everything in Windows 10 as administrator, so that the blue-and-yellow shield icons will be removed. 175459
  5. I Want to Run Everything in Windows 10 as Administrator

    in Windows 10 Support
    I Want to Run Everything in Windows 10 as Administrator: I want to run everything in Windows 10 as administrator, so that the blue-and-yellow shield icons will be removed. 175459
  6. run as administrator

    in Windows 10 Customization
    run as administrator: How can I log in as administrator? https://answers.microsoft.com/en-us/windows/forum/all/run-as-administrator/646a029d-39ea-4540-9ce7-5da26d6fd2d4
  7. After Restore, everything is running as Administrator, whether I want it to or not

    in Windows 10 BSOD Crashes and Debugging
    After Restore, everything is running as Administrator, whether I want it to or not: After Restore, everything is running as Administrator, whether I want it to or not. OneDrive won't run, because it says it CAN'T run as Administrator, but I didn't select Run as Administrator, and those boxes aren't checked in the Shortcut. But it's not just OneDrive, it's...
  8. Want to open/run an app but everything is disabled by my administrator.

    in Windows 10 Installation and Upgrade
    Want to open/run an app but everything is disabled by my administrator.: Hello, I have been trying to open an app but everything is disabled on my computer. When I open it, it would tell me:[ATTACH] For CMD: [ATTACH] For regedit: [ATTACH] For gpedit: [ATTACH] For Control Panel and Run (Windows+R) [ATTACH] I have tried all these methods...
  9. Run as Administrator

    in AntiVirus, Firewalls and System Security
    Run as Administrator: At boot up prior to my default person login can I log in as administrator and where do you sing in? Also every time I do the NET USER function for administrator when it reboots the only people I see at boot up are the two people with accounts. Where is administrator?...
  10. Run everything as admin / default administrative permission

    in AntiVirus, Firewalls and System Security
    Run everything as admin / default administrative permission: Hello, The constant need for administrator permission and the need to run everything as administrator is something that frustrates me endlessly in windows. I'm talking about thinks like copy pasting, name change or the need to run cmd as administrator for some commands....