Process of Windows 7 administrator login.

Hi, I was unable to open a directory as it required me to log in as admin. What is the process of Windows 7 administrator login?

Hi, I was unable to open a directory as it required me to log in as admin. What is the process of Windows 7 administrator login?
The administrator account is by default disabled in Windows 7. Follow this process for Windows 7 administrator login.
1 – Search cmd.exe in the start menu. Right-click on Command prompt and run it as administrator.
2 – Type “net user administrator /active:yes”, and hit enter.
Another method to log in as admin is –
1 – Open your control panel.
2 – Open Administrative tools and computer management.
3 – In the “Local Users and Groups”, select Users.
4 – Double click on Administrator.
5 – Deselect “Account is disable.”
6 – Click OK.