<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.avdelning.se/index.php?action=history&amp;feed=atom&amp;title=L%C3%B6senord%2C_nollst%C3%A4ll_i_windows</id>
	<title>Lösenord, nollställ i windows - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.avdelning.se/index.php?action=history&amp;feed=atom&amp;title=L%C3%B6senord%2C_nollst%C3%A4ll_i_windows"/>
	<link rel="alternate" type="text/html" href="https://wiki.avdelning.se/index.php?title=L%C3%B6senord,_nollst%C3%A4ll_i_windows&amp;action=history"/>
	<updated>2026-07-11T04:24:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.avdelning.se/index.php?title=L%C3%B6senord,_nollst%C3%A4ll_i_windows&amp;diff=276&amp;oldid=prev</id>
		<title>Linadmin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.avdelning.se/index.php?title=L%C3%B6senord,_nollst%C3%A4ll_i_windows&amp;diff=276&amp;oldid=prev"/>
		<updated>2026-05-11T21:53:18Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:53, 11 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Linadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.avdelning.se/index.php?title=L%C3%B6senord,_nollst%C3%A4ll_i_windows&amp;diff=275&amp;oldid=prev</id>
		<title>Linuxwiki&gt;Wikiadmin: Skapade sidan med &#039;=== Nollställ (byt) lösenordet i W7 === Vad texten nedan går ut på är att man ska skaffa åtkomst till den partition där windows ligger lagrat, oftast D: eller sda2 om d...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.avdelning.se/index.php?title=L%C3%B6senord,_nollst%C3%A4ll_i_windows&amp;diff=275&amp;oldid=prev"/>
		<updated>2016-09-07T08:26:52Z</updated>

		<summary type="html">&lt;p&gt;Skapade sidan med &amp;#039;=== Nollställ (byt) lösenordet i W7 === Vad texten nedan går ut på är att man ska skaffa åtkomst till den partition där windows ligger lagrat, oftast D: eller sda2 om d...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Nollställ (byt) lösenordet i W7 ===&lt;br /&gt;
Vad texten nedan går ut på är att man ska skaffa åtkomst till den partition där windows ligger lagrat, oftast D: eller sda2 om det är W7. Sedan gör man en backup av filen sethc.exe och kopierar in cmd.exe istf sethc.exe. I linux:&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;cd &amp;lt;monteringspunkt för windows&amp;gt;/windows/system32&amp;#039;&amp;#039;&amp;#039; (Troligen stämmer inte denna sökväg alls)&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;mv sethc.exe sethc.exe_bck&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;cp cmd.exe sethc.exe&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Starta om datorn och när windows inloggning kommer upp, tryck &amp;#039;&amp;#039;&amp;#039;shift fem gånger&amp;#039;&amp;#039;&amp;#039;. En kommandoprompt kommer upp. Skriv:&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;net user &amp;lt;ditt användarnamn&amp;gt; &amp;lt;nytt lösenord&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Har man inte koll på användarnamnet:&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;net user&amp;#039;&amp;#039;&amp;#039; Visar vilka användare som finns.&lt;br /&gt;
Det ska nu gå att logga in med det nya lösenordet.&lt;br /&gt;
&lt;br /&gt;
Efter att man fått till sitt nya lösenord bör man återställa sethc.exe. Då windows suger så får man åter boota från t ex linux och göra detta:&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;cd &amp;lt;samma sökväg som ovan&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;mv sethc.exe_bck sethc.exe&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 Ev. får man bekräfta att man verkligen avser att skriva över sethc.exe. Efter att detta är klart ska det finnas en cmd.exe och en sethc.exe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== To reset a forgotten administrator password, follow these steps ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 1. Boot from Windows PE or Windows RE and access the command prompt.&lt;br /&gt;
 2. Find the drive letter of the partition where Windows is installed.&lt;br /&gt;
    In Vista and Windows XP, it is usually C:, in Windows 7, it is D:&lt;br /&gt;
    in most cases because the first partition contains Startup Repair.&lt;br /&gt;
    To find the drive letter, type C: (or D:, respectively) and search&lt;br /&gt;
    for the Windows folder. Note that Windows PE (RE) usually resides on X:. &lt;br /&gt;
 3. Type the following command (replace “c:” with the correct drive&lt;br /&gt;
    letter if Windows is not located on C:):&lt;br /&gt;
       &amp;#039;&amp;#039;&amp;#039;copy c:\windows\system32\sethc.exe c:\&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    This creates a copy of sethc.exe to restore later. &lt;br /&gt;
 4. Type this command to replace sethc.exe with cmd.exe:&lt;br /&gt;
       &amp;#039;&amp;#039;&amp;#039;copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    Reboot your computer and start the Windows installation where you forgot&lt;br /&gt;
    the administrator password. &lt;br /&gt;
 5. After you see the logon screen, press the SHIFT key five times. &lt;br /&gt;
 6. You should see a command prompt where you can enter the following&lt;br /&gt;
    command to reset the Windows password (see screenshot above):&lt;br /&gt;
       &amp;#039;&amp;#039;&amp;#039;net user your_user_name new_password&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    If you don’t know your user name, just type &amp;#039;&amp;#039;&amp;#039;net user&amp;#039;&amp;#039;&amp;#039; to list&lt;br /&gt;
    the available user names. &lt;br /&gt;
 7. You can now log on with the new password. &lt;br /&gt;
&lt;br /&gt;
I recommend that you replace sethc.exe with the copy you stored in the root folder of your system drive in step 3. For this, you have to boot up again with Windows PE or RE because you can’t replace system files while the Windows installation is online. Then you have to enter this command:&lt;br /&gt;
copy /y c:\sethc.exe c:\windows\system32\sethc.exe&lt;br /&gt;
&lt;br /&gt;
[[Category:ms]]&lt;/div&gt;</summary>
		<author><name>Linuxwiki&gt;Wikiadmin</name></author>
	</entry>
</feed>