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. Can't Open Google Chrome on Administrator Account

    in Windows 10 Network and Sharing
    Can't Open Google Chrome on Administrator Account: Hi I am only able to open it on my standard account. This has happened before, but it usually corrects itself, but not this time. How can I correct this permanently?...
  3. administrator

    in Windows 10 Installation and Upgrade
    administrator: I have lost my administrator account and accessibility, please help. Thank you! https://answers.microsoft.com/en-us/windows/forum/all/administrator/e6692b40-7b15-4b0a-a166-1a16a32858ca
  4. how do i run chkdsk fix under administrator in win 10

    in Windows 10 Installation and Upgrade
    how do i run chkdsk fix under administrator in win 10: please list steps to run chkdsk fix in win 10 as administrator https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-run-chkdsk-fix-under-administrator-in-win/dd9c9c67-c156-41d2-93a9-2d8a47b461fd
  5. Administrative privileges changed after i removed hard drive

    in Windows 10 Network and Sharing
    Administrative privileges changed after i removed hard drive: I needed to move some big files to other computer, so i removed my drive and connected it through sata. As i was trying to access my main folder on the removed drive in C:\Users\Lenovo access denied message popt up and i needed to open it as administrator. Then it was...
  6. Application running on NTVDM does not laucnh properly when ran through administrator priviliges

    in Windows 10 Network and Sharing
    Application running on NTVDM does not laucnh properly when ran through administrator priviliges: We have a 16 bit application running on NTVDM on 32 bit windows OS. The application installation files are located on a NAS share. The application runs perfectly well when it is "run as administrator" as shown below: [ATTACH] [ATTACH] [ATTACH] Although, a parent...
  7. Administrator

    in Windows 10 BSOD Crashes and Debugging
    Administrator: i have two Microsoft accounts. One shows me as as the administrator the other does not. I signed in to both accounts and went to the control prompt to try to run a computer scan and was told I had to be the administrator to do it....
  8. Application (.exe) does not default to running with Administrator priveleges

    in Windows 10 Network and Sharing
    Application (.exe) does not default to running with Administrator priveleges: We have a 16 bit application running on NTVDM on 32 bit windows OS. The application installation files are located on a NAS share. The application runs perfectly well when it is "run as administrator" as shown below: [ATTACH] [ATTACH] [ATTACH] Although, a parent...
  9. How can I reset permissions when built in Administrator account does not open

    in Windows 10 Customization
    How can I reset permissions when built in Administrator account does not open: I accidentally corrupted the permissions for the one user installed. I did get the administrator account to show as active, but it does not show up during startup. Everything I try says access denied Is there anything I can do to reset permissions to default?...
  10. Administrator

    in AntiVirus, Firewalls and System Security
    Administrator: I need help I want to enable Wifi adapter and i dont have admistrator when i am the owner I really need a help I tried everything i can do https://answers.microsoft.com/en-us/windows/forum/all/administrator/495c5637-4fac-4633-a811-d1b6b9a387fe"