Windows 10: Run as administrator

Discus and support Run as administrator in Windows 10 Support to solve the problem; I had trouble opening an attached email file until I found a solution (on this forum) that advised me to run the email program as administrator.... Discussion in 'Windows 10 Support' started by mburwen, May 12, 2020.

  1. mburwen Win User

    Run as administrator


    I had trouble opening an attached email file until I found a solution (on this forum) that advised me to run the email program as administrator. However, if I or Microsoft reboots my computer, that setting goes away.

    I don't know if it means anything, but when I log in, Windows tries to log me in under an account labeled Administrator". in under an Administrator administrator (in the properties setting) goes away and I have to change the login account.

    When I boot, the screen comes up with an admonition to run as "Administrator". However, that doesn't bring up my normal configuration and I have to change the account to the account name I gave the computer when I set up Windows 10.

    Is there any way that I can force the email program run as administrator property to stay there even in the case of reboot?

    The problem I had just appeared a few weeks ago. Before that, everything ran correctly. My sense is that Microsoft must have changed something in one of its frequent Windows update. I am running Windows 10 version 1903, build 18362.778.

    :)
     
    mburwen, May 12, 2020
    #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, May 12, 2020
    #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, May 12, 2020
    #3
  4. Run as administrator

    how do i run chkdsk fix under administrator in win 10

    please list steps to run chkdsk fix in win 10 as administrator
     
    SabrinaWatkins1, May 12, 2020
    #4
Thema:

Run as administrator

Loading...
  1. Run as administrator - Similar Threads - Run administrator

  2. Unable to run Programs as Administrator

    in Windows 10 Customization
    Unable to run Programs as Administrator: I have recently noticed that, although I am shown as Administrator in my Profile and "netplwiz" confirms this, I am unable to run Programs as Administrator. They all open and run OK on double click. Anyone know what might be causing this? Cheers. Ken...
  3. how to run as administrator an application which is in startup folder of my user profile

    in Windows 10 Network and Sharing
    how to run as administrator an application which is in startup folder of my user profile: Hi , I have a simple batch file which sync the time for me when I log on to my system, I put the shortcut of that batch file in my user profile startup path with"shell:startup" run box command. I have enable the check box in the properties of the shortcut file to run as...
  4. Allow program to run without administrator privileges

    in AntiVirus, Firewalls and System Security
    Allow program to run without administrator privileges: I have a program that I want a user in my "users" group to be able to run, but I don't want to put the user in the "Administrators" group. The program currently requires elevation to run. Can I remove this? I have given the "users" group full control of the folder that the...
  5. Windows terminal, error when trying to run as administrator. "File cannot be accessed by...

    in Windows 10 Ask Insider
    Windows terminal, error when trying to run as administrator. "File cannot be accessed by...: [ATTACH] submitted by /u/JellinWellen [link] [comments] https://www.reddit.com/r/Windows10/comments/gk9fmu/windows_terminal_error_when_trying_to_run_as/
  6. why do I have to run everything as an administrator on my windows10 pc?

    in Windows 10 BSOD Crashes and Debugging
    why do I have to run everything as an administrator on my windows10 pc?: Everytime I open certain apps on my pc, it shows an error message that says "the file directory is corrupted and unreadable." I always have to right-click and run as administrator to access it. These are just sample images for google chrome and snipping tool. Hope someone can...
  7. Won’t open programs unless I run as administrator

    in Windows 10 Ask Insider
    Won’t open programs unless I run as administrator: I’ve been searching up on the web all day to fix this and there’s only a few solutions posted. I’ve done the registry edit “%1”%*, created a new user account - nothing. Please help, thanks. :-) submitted by /u/taromt [link] [comments]...
  8. Run as administrator

    in Windows 10 Software and Apps
    Run as administrator: I had trouble opening an attached email file until I found a solution (on this forum) that advised me to run the email program as administrator. However, if I or Microsoft reboots my computer, that setting goes away. I don't know if it means anything, but when I log in,...
  9. How to always run a default program in Administrator mode

    in Windows 10 Software and Apps
    How to always run a default program in Administrator mode: I've set a particular program to be the default for a given extension, so that when I double-click a file with that extension it is automatically opened with the program. In addition, though, I'd like that program to always run in Administrator mode. Is there a way of doing...
  10. Run PC as Administrator

    in Windows 10 Customization
    Run PC as Administrator: Hi all, Hopefully someone can help! There is no Administrator account I believe set up on my home PC. When attempting to add a program such as Nortons, a pop up box appears which asks do I want to allow this app to make changes to your computer? To continue enter an...