mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-02-23 17:00:40 +01:00
Windows: add enabling Administrator account. #16
This commit is contained in:
parent
f8de02f7f9
commit
fcb72e0a2b
@ -16,6 +16,22 @@ Interesting things to do with Windows
|
|||||||
<h2 id="removing-password-without-administrator-access.">Removing password without Administrator access.</h2>
|
<h2 id="removing-password-without-administrator-access.">Removing password without Administrator access.</h2>
|
||||||
<p>This can be done easily with <a href="http://pogostick.net/~pnh/ntpasswd/">ntpasswd</a>. It also has other features, but I only recommend using the "blank password" / "remove password" function as it's the most working one. This feature should work with Windows XP too, but I have only tried it with 7 and 8.</p>
|
<p>This can be done easily with <a href="http://pogostick.net/~pnh/ntpasswd/">ntpasswd</a>. It also has other features, but I only recommend using the "blank password" / "remove password" function as it's the most working one. This feature should work with Windows XP too, but I have only tried it with 7 and 8.</p>
|
||||||
<p>I don't type usage instructions here, because <a href="http://pogostick.net/~pnh/ntpasswd/">ntpasswd</a> has enough good documentation and it's easy to use anyway.</p>
|
<p>I don't type usage instructions here, because <a href="http://pogostick.net/~pnh/ntpasswd/">ntpasswd</a> has enough good documentation and it's easy to use anyway.</p>
|
||||||
|
<h2 id="enabling-administrator-account">Enabling Administrator account</h2>
|
||||||
|
<p>Administrator is <em>root (Linux/Mac/*NIX SuperUser) of Windows</em>. Some people prefer to be able to login as root/Administrator directly in emmergency or if they need to do something as root quickly.</p>
|
||||||
|
<p>To enable this account open cmd.exe as Administrator.</p>
|
||||||
|
<p>Windows 8: You can do this by going to ModernUI by pressing Windows button or activating the hot corner on bottom left. Then start typing (or type) "cmd", right click "Command Prompt" which appears and select "Run as Administrator".</p>
|
||||||
|
<p>Windows 7: Open Start menu by pressing Windows button or by clicking the start menu. Then start searching for "cmd" and you should receive result "cmd.exe" or "Command Prompt". Right click it and select "run as Administrator".</p>
|
||||||
|
<p>Now you are on cmd.exe which is running as Administrator. Next you must find out what is the Administrator account called. It depends on which language Windows was originally installed.</p>
|
||||||
|
<p>With English installation the Administrator account is "Administrator" and in Finnish installation "Järjestelmänvalvoja". You can see the list of users including Administrator by running</p>
|
||||||
|
<pre><code>net user</code></pre>
|
||||||
|
<p>(Todo: add example output).</p>
|
||||||
|
<p>Now you should know the name of Administrator account and you can enable it running:</p>
|
||||||
|
<pre><code>net user Administrator /active:yes</code></pre>
|
||||||
|
<p>Where you replace "Administrator" with the account which is Administrator in "net user" e.g. Järjestelmänvalvoja. If you want to disable it, simply change "/active:yes" to "/active no".</p>
|
||||||
|
<p><strong>Administrator doesn't have password set by default</strong> so now go to Control Panel and Users. Select "manage other user" and then select "Administrator" and set password for it.</p>
|
||||||
|
<p>If you cannot think any password for it, you can use same password as with your own account in emmergency like <a href="http://linuxmint.com/">Linux Mint</a> is doing. It uses the password of the user which was created in installation as root password. With <a href="http://ubuntu.com/">Ubuntu</a> root account is disabled by default and it can be enabled by running "sudo passwd root" and setting password.</p>
|
||||||
|
<p><strong>You must set password for Administrator, because that account can do everything without User Access Control (UAC) prompts!</strong></p>
|
||||||
|
<p>Remember also to not use the Administrator account for general use.</p>
|
||||||
<!-- vim : set ft=html -->
|
<!-- vim : set ft=html -->
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
|
@ -25,6 +25,42 @@ I don't type usage instructions here, because [ntpasswd] has enough good documen
|
|||||||
|
|
||||||
[ntpasswd]:http://pogostick.net/~pnh/ntpasswd/
|
[ntpasswd]:http://pogostick.net/~pnh/ntpasswd/
|
||||||
|
|
||||||
|
## Enabling Administrator account
|
||||||
|
|
||||||
|
Administrator is <em>root (Linux/Mac/*NIX SuperUser) of Windows</em>. Some people prefer to be able to login as root/Administrator directly in emmergency or if they need to do something as root quickly.
|
||||||
|
|
||||||
|
To enable this account open cmd.exe as Administrator.
|
||||||
|
|
||||||
|
Windows 8: You can do this by going to ModernUI by pressing Windows button or activating the hot corner on bottom left. Then start typing (or type) "cmd", right click "Command Prompt" which appears and select "Run as Administrator".
|
||||||
|
|
||||||
|
Windows 7: Open Start menu by pressing Windows button or by clicking the start menu. Then start searching for "cmd" and you should receive result "cmd.exe" or "Command Prompt". Right click it and select "run as Administrator".
|
||||||
|
|
||||||
|
Now you are on cmd.exe which is running as Administrator. Next you must find out what is the Administrator account called. It depends on which language Windows was originally installed.
|
||||||
|
|
||||||
|
With English installation the Administrator account is "Administrator" and in Finnish installation "Järjestelmänvalvoja". You can see the list of users including Administrator by running
|
||||||
|
|
||||||
|
```
|
||||||
|
net user
|
||||||
|
```
|
||||||
|
|
||||||
|
(Todo: add example output).
|
||||||
|
|
||||||
|
Now you should know the name of Administrator account and you can enable it running:
|
||||||
|
|
||||||
|
```
|
||||||
|
net user Administrator /active:yes
|
||||||
|
```
|
||||||
|
|
||||||
|
Where you replace "Administrator" with the account which is Administrator in "net user" e.g. Järjestelmänvalvoja. If you want to disable it, simply change "/active:yes" to "/active no".
|
||||||
|
|
||||||
|
<strong>Administrator doesn't have password set by default</strong> so now go to Control Panel and Users. Select "manage other user" and then select "Administrator" and set password for it.
|
||||||
|
|
||||||
|
If you cannot think any password for it, you can use same password as with your own account in emmergency like [Linux Mint](http://linuxmint.com/) is doing. It uses the password of the user which was created in installation as root password. With [Ubuntu](http://ubuntu.com/) root account is disabled by default and it can be enabled by running "sudo passwd root" and setting password.
|
||||||
|
|
||||||
|
<strong>You must set password for Administrator, because that account can do everything without User Access Control (UAC) prompts!</strong>
|
||||||
|
|
||||||
|
Remember also to not use the Administrator account for general use.
|
||||||
|
|
||||||
<!-- vim : set ft=html -->
|
<!-- vim : set ft=html -->
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user