How to log in with Administrator privileges on Windows

Windows prompts you whenever you perform an action that requires administrator access. However, you can bypass these prompts by logging in with administrator privileges on Windows.

Windows restricts access to certain files and commands using administrator privileges. These files and commands can often cause problems if misused. Therefore, Windows displays a warning whenever you try to perform an action that requires administrator access. However, you can bypass these prompts by logging in with administrator privileges on Windows.

 

How to activate an Administrator account using Command Prompt

Step 1:

Type "command prompt" into the search bar on your computer and select "Run as administrator" to launch it.

Step 2:

In the new interface, enter the command `net user administrator /active:yes` to enable administrator login on the computer.

Once your account is activated, simply switch to an Admin account to access it.

 

How to activate an administrator account using PowerShell

Step 1:

Type "powershell" in the search bar and then select "Run as administrator" to launch it.

Step 2:

In the command prompt, enter net user administrator /active:yes and then press Enter.

When successfully activated, we will see the message "The command completed successfully."

 

How to add a password to the Admin account

If you frequently use the administrator account, you should set a password, especially if you don't intend to disable the account.

First, you need to launch Command Prompt or PowerShell as an administrator , then enter the command `net user administrator ExamplePassword` , replacing ExamplePassword with any password you want.

How to disable the Administrator account on Windows

You simply need to enter the command `net user administrator /active:no` into the Command Prompt or PowerShell interface while running with administrator privileges.

Related posts
Other Windows 11 articles
  • 5 ways to access Windows Tools in Windows 11

    với thư mục windows tools, bạn có thể truy cập trực tiếp vào task manager, powershell, registry editor,... dưới đây là các cách truy cập windows tools trên windows 11.
  • How to turn off text suggestions in Windows 11

    khi bạn gõ trên bàn phím, windows có thể hiển thị các từ gợi ý ngay phía trên chỗ bạn đang gõ. nếu không muốn dùng gợi ý văn bản trong windows 11 thì bạn thực hiện theo hướng dưới đây.
  • How to fix File Explorer lag on Windows 11

    may mắn thay, một chỉnh sửa đơn giản trong registry có thể ngăn file explorer lãng phí thời gian quét các file, giúp điều hướng thư mục nhanh hơn đáng kể.
  • The device is not showing up in Microsoft Account Manager.

    nếu bạn kiểm tra tài khoản microsoft sẽ thấy danh sách thiết bị đã đăng nhập tài khoản. với trường hợp không hiện thiết bị trong danh sách này thì chúng ta không thể quản lý danh sách thiết bị đầy đủ.
  • How to turn off Share with Copilot on Windows 11

    khi bạn di chuột qua các ứng dụng trên taskbar sẽ thấy tùy chọn share with copilot để chia sẻ ứng dụng đó với copilot. mặc dù trải nghiệm này được hỗ trợ ai, nhưng không phải ai cũng muốn sử dụng.
  • How to speed up File Explorer on Windows 11?

    file explorer có thể bị chậm vì nhiều lý do khác nhau, và điều này gây ra khó khăn khi sử dụng. dưới đây một số cài đặt tăng tốc file explorer windows.
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup