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 pc.so 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 pc.so now i cant run any setups can anyone help with how to gain back the admin right.

    :)
     
    vikasSekarreddy, Sep 22, 2019
    #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, Sep 22, 2019
    #2
  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
    #3
  4. ddelo Win User

    Administration

    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:
      Code:
      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
    #4
Thema:

Administration

Loading...
  1. Administration - Similar Threads - Administration

  2. Personal user account not showing at start up after enabling hidden administrator

    in Windows 10 Gaming
    Personal user account not showing at start up after enabling hidden administrator: I urgently require assistance. I had issues with UAC prompts and was in search for a solution for this where I came across a community post with below instructions:“The "yes" button in the UAC prompt disappears when you try to open a program with administrative rights, but...
  3. Personal user account not showing at start up after enabling hidden administrator

    in Windows 10 Software and Apps
    Personal user account not showing at start up after enabling hidden administrator: I urgently require assistance. I had issues with UAC prompts and was in search for a solution for this where I came across a community post with below instructions:“The "yes" button in the UAC prompt disappears when you try to open a program with administrative rights, but...
  4. Administrator or Administrator ?

    in Windows 10 Gaming
    Administrator or Administrator ?: What if any difference is there between the 2 administrator options shown in attached screen shot https://answers.microsoft.com/en-us/windows/forum/all/administrator-or-administrator/923c1fd7-8dc6-4225-b4c0-5074b678b2ff
  5. Administrator or Administrator ?

    in Windows 10 Software and Apps
    Administrator or Administrator ?: What if any difference is there between the 2 administrator options shown in attached screen shot https://answers.microsoft.com/en-us/windows/forum/all/administrator-or-administrator/923c1fd7-8dc6-4225-b4c0-5074b678b2ff
  6. windos security . Page not available, your IT administrator has limited access to some...

    in Windows 10 Gaming
    windos security . Page not available, your IT administrator has limited access to some...: your it administrator has limited access to some areas of this app, and the item you tried to access is not available contact it helpdesk for more information...
  7. windos security . Page not available, your IT administrator has limited access to some...

    in Windows 10 Software and Apps
    windos security . Page not available, your IT administrator has limited access to some...: your it administrator has limited access to some areas of this app, and the item you tried to access is not available contact it helpdesk for more information...
  8. How to remove Administrator Control and redo the Adminstrator account to be able to install...

    in Windows 10 Gaming
    How to remove Administrator Control and redo the Adminstrator account to be able to install...: Windows 11 updated Windows 10 last year when it came out. Just installed all new updates today 4-11-2024, andnow it only shows that I must use Administraol Control with user ID and password, it never did that before.Please help. Now when I try to install an App, it always...
  9. How to remove Administrator Control and redo the Adminstrator account to be able to install...

    in Windows 10 Software and Apps
    How to remove Administrator Control and redo the Adminstrator account to be able to install...: Windows 11 updated Windows 10 last year when it came out. Just installed all new updates today 4-11-2024, andnow it only shows that I must use Administraol Control with user ID and password, it never did that before.Please help. Now when I try to install an App, it always...
  10. Administrator rights

    in Windows 10 Software and Apps
    Administrator rights: HI @emmanuel SantanaI'm trying to update host file within: Windows\System32\Drivers\etc\hostsI'm able to write within the the host file but I'm not able to replace the file as an administrator as per below snippet.Thanks in advance.Sergio...