Windows 10: Administration

Discus and support Administration in Windows 10 Customization to solve the problem; By mistake i removed myself as admin and now its just default admin and no other admin in the now i cant run any setups can anyone help with how... Discussion in 'Windows 10 Customization' started by vikasSekarreddy, Sep 22, 2019.

  1. Administration

    By mistake i removed myself as admin and now its just default admin and no other admin in the now i cant run any setups can anyone help with how to gain back the admin right.

    vikasSekarreddy, Sep 22, 2019
  2. angus Win User

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

    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.
    angus, Sep 22, 2019
  3. Marby Rey Win User
    no administrator permission

    Hi Ryan,

    Let us assist you to have an Administrator permission. To start, follow the steps below to enable the Windows Super Administrator Account.

    • Type CMD on the search box.
    • CMD will appear at top.
    • Right click on it, then choose Run as administrator.
    • Type this command & hit Enter: Net user administrator /active:yes.
    • After you enable the Super Administrator account, log out on your existing account then log into Super Administrator account.
    • On the Super Administrator account, you can now create an Administrator account or give Administrator permission on the existing account.

    After you created an Administrator account, we suggest that you disable the Super Administrator account by following the same steps and using this command:
    Net user administrator /active:no.

    Let us know how it goes.
    Marby Rey, Sep 22, 2019
  4. 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 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:
      Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -force
    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. Administration :)

    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, Sep 22, 2019


  1. Administration - Similar Threads - Administration

  2. Game only works on new Windows 10 PC when I switch to Administrator account

    in Windows 10 BSOD Crashes and Debugging
    Game only works on new Windows 10 PC when I switch to Administrator account: I just came to a new PC and Windows 10. The game is Ingenious, a simple geometric puzzle game I've been playing for years. I got a new copy on CD anticipating that the license might not travel. When the old Win 7 PC's files came over to the new PC, the game .exe loaded a...
  3. Latest Windows 10 update, can not sign in as administrator

    in Windows 10 Installation and Upgrade
    Latest Windows 10 update, can not sign in as administrator: I am running Windows 10, version 1903 on my lap top. On January 15, 2020, twenty "quality updates" were installed. Since then, my computer has been a mess. A lot of my apps are missing, including the Microsoft Store app. My Chrome folders were all wiped out as well. Then I...
  4. Remove administrator, change administrator and computer designation

    in Windows 10 Customization
    Remove administrator, change administrator and computer designation: Two years ago when I purchased a new computer and set it up under my name I uploaded the skype app, which in the process changed my computer identification email address to a false name I used for restaurant reviews. I have not been able to change it back, and Microsoft uses...
  5. Administrator status

    in Windows 10 Customization
    Administrator status: I set-up this new laptop from scratch - obviously with the status of "administrator" I am logged in as "administrator" I want to make a small alteration but get error message "to do this you must have administrator rights" !!! Yet another example of Windows stupidity....
  6. Administrator account keeps getting disabled

    in Windows 10 Customization
    Administrator account keeps getting disabled: So, i wanted to install something in C:/Program Filesx86 andi didn't have permission, so i went on and granted my user every permission possible and nothing, then tried logging into Administrator account first time after a windows reset and didn't have it enabled, i went to...
  7. How do I make an adult family member a co administrator?

    in User Accounts and Family Safety
    How do I make an adult family member a co administrator?: I'm setting up a new computer for a 2 person family and somehow one has administrative authority and the other doesn't"
  8. I can't take administrator off my microsoft account

    in Windows 10 Customization
    I can't take administrator off my microsoft account: Hi, I want to take administrator off my account but when I click on change your account type to click on standard it is greyed out. I also want to take off log in but again it is greyed out. Please can you help me...
  9. "Please log in with Administrator Privliges"

    in Windows 10 Customization
    "Please log in with Administrator Privliges": I am the only user on this PC, I am Administrator. Yet I try to run a couple games and get the message. "Please log in with Administrator Privliges"...
  10. Chrome is able to install without administrator privileges

    in Windows 10 Ask Insider
    Chrome is able to install without administrator privileges: What the hell? My younger sister has a low level profile on our laptop, and even after saying no when the prompt asks for the administrator password, the installer says “Google Chrome can be installed without administrator privileges. Continue?”. You click yes and it fucking...