<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Lost_Username_Password</id>
	<title>Lost Username Password - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Lost_Username_Password"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Lost_Username_Password&amp;action=history"/>
	<updated>2026-09-20T05:53:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Lost_Username_Password&amp;diff=18427&amp;oldid=prev</id>
		<title>Walter vl: /* Windows */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Lost_Username_Password&amp;diff=18427&amp;oldid=prev"/>
		<updated>2024-01-10T15:24:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Windows&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;By default Domoticz is protected by a username (admin) and password (domoticz).&lt;br /&gt;
&lt;br /&gt;
Please either change the password as soon as possible through page [[MyProfile|Setup - My Profile]] or create a different admin user and remove the default (admin) user.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you lost your username and password you can start domoticz with a command line argument that will bypass security.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Steps to perform:&amp;lt;br&amp;gt;&lt;br /&gt;
===Linux===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
- Make sure domoticz is stopped&amp;lt;br&amp;gt;&lt;br /&gt;
- change to the folder where domoticz is installed&amp;lt;br&amp;gt;&lt;br /&gt;
- start domoticz with command&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;./domoticz -nowwwpwd&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;sudo ./domoticz -nowwwpwd&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
An example to perform this on a raspberry pi:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
ssh to your machine (default username/password is pi/raspberry)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;cd domoticz&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
stop the domoticz service&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;sudo service domoticz.sh stop&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Wait at least 15 seconds and check if it is stopped before continuing:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;sudo service domoticz.sh status&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Start domoticz by hand (as root) with the command line argument:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo ./domoticz -nowwwpwd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Now go to the settings page of domoticz, and verify or change:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
- Admin username/password (menu Setup -&amp;gt; Users)&amp;lt;br&amp;gt;&lt;br /&gt;
- Trusted network settings (Setup -&amp;gt; Settings -&amp;gt; tab Security)&lt;br /&gt;
&lt;br /&gt;
- My Profile (Setup -&amp;gt; My Profile)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Stop the Domoticz service (if running)&lt;br /&gt;
&lt;br /&gt;
Start Domoticz as an app, define in the target field of the Domoticz properties window (right click on Icon) and add &amp;lt;code&amp;gt;-nowwwpwd&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
For example &amp;lt;code&amp;gt;C:\Users\Public\Domoticz\domoticz.exe -www 8080 -sslwww 443 -nowwwpwd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remove the &amp;lt;code&amp;gt;-nowwwpwd&amp;lt;/code&amp;gt; parameter again once you have reset your User/Password.&amp;lt;br&amp;gt;&lt;br /&gt;
[[Category:Domoticz]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Setup]]&lt;/div&gt;</summary>
		<author><name>Walter vl</name></author>
	</entry>
</feed>