SpaceCore WIKI
English
English
  • Personal Account and Registration
    • Account registration
    • «Customer» section
    • «Finance» section
    • Account Verification (KYC)
  • Customer service
    • How do I place an order?
    • How to contact support?
    • The Game Hosting panel
    • Setting Up BILLmanager 6 for Reselling
  • Communications
    • Notifications in Telegram
    • Web Hosting Notifications
    • Using a ping bot in Telegram
  • Information board
    • Blocked ports (VPS/VDS)
    • What is IOPS?
    • VAT for the EU and UK
  • VPS and Dedicated Servers
    • How to use VPS/VDS?
    • Changing the Password for VDS
  • OS and software configuration
    • Java [Linux]
    • Screen
    • Linux Password Recovery
    • Connecting via SSH keys
    • Disabling access to Linux using a password
    • Deploying MikroTik RouterOS on VDS
  • AI
    • Deploying DeepSeek on your server in just a few clicks
  • Windows
    • RDP connection
    • Configuring the RDP connection
    • Changing the password
    • Installation via QEMU
    • How to add an IPv4
    • Download files
    • Bruteforce Windows
  • Network Setup and Security
    • No interaction with private networks
    • Working with TCPDump
    • Change MTU Value
    • Configure IPTables
    • [DNS] Temporary failure resolving...
    • Network Speed Measurement [SpeedTest]
    • How do I buy a domain name?
    • How do I direct my domain to an IP address?
    • How to Protect Your Server? Basics of Cybersecurity
  • VPN and Privacy
    • WireGuard VPN [Easy]
    • OpenVPN [Easy]
    • Outline VPN Installation
    • Installing TorrServer
    • Installing 3X UI
    • Installing Marzban
    • Proxy for Specific Websites (V2RayN)
    • Use Nekoray
  • System monitoring
    • Traffic monitoring via VnStat
    • How to use the MTR tool
    • Getting Serial Numbers of Drives
  • Administration and Backups
    • Working with FTP Repository
    • Auto-shipment of backups
    • Installing an FTP Server
    • Mounting Linux Drives
  • Web development
    • Installing Apache2
    • Installing Nginx
    • Installing PHP
    • Installing MySQL
    • Installing PhpMyAdmin
    • Let's Encrypt SSL Generation
  • Minecraft
    • Installing Minecraft Java Server
    • Installing the Minecraft Bedrock/PE server
    • Installing the BungeeCord server
    • Installing Sponge Forge 1.12.2 Kernel
    • Configuring server.properties
    • Installing the icon on the server
    • Launch Options
    • Installing a resource pack on the server
  • Hetzner Servers
    • Control Panel
    • Password change via Rescue
    • Installing the operating system
  • 🇩🇪Contabo
    • The Control Panel
    • Disk space expansion
Powered by GitBook
On this page
PreviousConfiguring the RDP connectionNextInstallation via QEMU

Last updated 11 months ago

This article will help you fix the situation when you forgot your Windows Server account password. Only the built-in methods are used without downloading additional programs.

if you can't change the Windows Server password in the panel due to errors, then here's what you should do.


To restore access, we will use the SystemRescueCD utilities.

First we go to VmManager panel, then we select our server, press «Menu» button. In the opened window press the button «Recovery mode».

After clicking, an information window opens with confirmation of the action.

Click "Start mode and restart". Our server restarts and activates recovery mode.

After a while, the server started up again.

Next, we need to connect to the server via VNC, use the appropriate button:

We successfully connected to the server with VNC.

Now we need to enter a command to check the existing partitions:

fdisk -l

After executing according to the standard, we see these sections:

Connect the partition with the Operating system using the command

mount /dev/vda2 /mnt

Now we need to go to the directory with the system file settings.

cd /mnt/Windows/System32/config/

Next, we need to display a list of Windows users, use the command

chntpw -l SAM

As a standard, we see 4 users.

RID is the unique identifier of the account.

Username is the name of the account.

Admin? — checks whether the user has administrator rights.

Lock? — responsible for the availability of protection tools for users.

Use the command to change the Administrator account:

chntpw SAM

Please note that the command is used to change the data of another user

chntpw -u <name> SAM

<name> — for example, Guest.

The user editing menu opens, we write the number "1" to clear the password.

We check for a password using the command

chntpw -l SAM

Great, now the Administrator account does not have a password.

We use «Disable mode and restart».

The server is running normally

Now we can easily change the password from the service. Use the button «Change password», as in the screenshot.

Enter a new password or generate automatically, then click «Save».

The password change was successful

Try connecting to the server via remote access with a new password.

Waiting to connect.

We have successfully joined our VDS on Windows Server 2019!

Go back to the panel and click the "Recovery mode" button.

VMmanager
VMmanager