Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

How to reset the admin password in AEM 6.5 when I have no administrator permission in Windows?

Avatar

Level 1

Try to reset the admin password following below link

How to reset the admin password in AEM 6.3 | Adobe Experience Manager

 

but fail and shows that  WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Found admin node: SegmentNodeBuilder{path=/home/users/D/D4z92KBRNNErnNt3l1yf}

 

How can I reset the admin password in this case?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

hi @JunjieLu ,

I tried this in my local for AEM 6.5 it worked perfectly.Please follow the below steps:

a) Download the Oak-run*.jar. I used

oak-run-1.68.0.jar 

from this path https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-run/1.68.0/

b) Download the groovy script from https://helpx.adobe.com/content/dam/help/en/experience-manager/kb/How-to-reset-the-admin-password-in... and save this file as "admin-reset_groovy" remove .txt extension.

c) now from the folder you downloaded the above file run the below command as per segment store location

java -jar oak-run-*.jar console C:\software\crx-quickstart\repository\segmentstore --read-write ":load admin-reset.groovy" 

d) the script auto changes your password to admin as shown below:

C:\software>java -jar oak-run-1.68.0.jar console C:\software\crx-quickstart\repository\segmentstore --read-write ":load admin-reset.groovy"
Apache Jackrabbit Oak 1.68.0
Found admin node: SegmentNodeBuilder{path=/home/users/s/sv54fUZ_7dxIUK6dNxGm}

 

Hope this helps.  If possible move or tag this ticket to Adobe Experience Manager instead of Adobe experience Platform.

Regards,

Rajashankar.R

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @JunjieLu , you will need to run the script as admin. Also, please feel free to post this in the AEM community.
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-mana... 

Avatar

Correct answer by
Community Advisor

hi @JunjieLu ,

I tried this in my local for AEM 6.5 it worked perfectly.Please follow the below steps:

a) Download the Oak-run*.jar. I used

oak-run-1.68.0.jar 

from this path https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-run/1.68.0/

b) Download the groovy script from https://helpx.adobe.com/content/dam/help/en/experience-manager/kb/How-to-reset-the-admin-password-in... and save this file as "admin-reset_groovy" remove .txt extension.

c) now from the folder you downloaded the above file run the below command as per segment store location

java -jar oak-run-*.jar console C:\software\crx-quickstart\repository\segmentstore --read-write ":load admin-reset.groovy" 

d) the script auto changes your password to admin as shown below:

C:\software>java -jar oak-run-1.68.0.jar console C:\software\crx-quickstart\repository\segmentstore --read-write ":load admin-reset.groovy"
Apache Jackrabbit Oak 1.68.0
Found admin node: SegmentNodeBuilder{path=/home/users/s/sv54fUZ_7dxIUK6dNxGm}

 

Hope this helps.  If possible move or tag this ticket to Adobe Experience Manager instead of Adobe experience Platform.

Regards,

Rajashankar.R