Glam Prestige Journal

Bright entertainment trends with youth appeal.

I just installed Jenkins 2.289.1 on Windows 10 Home. After Jenkins has started on browser, I have to go into C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\secrets\initialAdminPassword to copy the password and continue the Jenkins set up.

I copied this path and pasted it to File Explorer and this message appeared:

Windows can't find
C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\secrets\initialAdminPassword
Check the spelling and try again.

On File Explorer I also tried to click on C:\WINDOWS\system32\config folder but nothing happens, so I tried to access it via CMD as Administrator and it works, but when I execute C:\WINDOWS\system32\config\start . nothing shows up.

How can I resolve it?

P.S: I am the only user on PC

2 Answers

So from what I gather, Jenkins supposedly creates this file on the first start.

You cannot access this folder because both C:\WINDOWS\system32\config as well as C:\WINDOWS\system32\config\systemprofile are by default not accessible to normal users, for good reason.

Windows Explorer does by default not run elevated either.

If you manually navigate to the folder, you’ll get the following dialog two times. I recommend you do not confirm it. Doing so will grant your user permanent full access to critical system data. You don’t want that.

grant folder access dialog

Again: Don’t.

Instead, you should use an elevated process to access the file. This is easy with both Command Prompt as well as PowerShell:

type C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\secrets\initialAdminPassword

If you want to use GUI tools to access the file, start Notepad (or whatever your favorite text editor is) elevated. You’ll then be able to open the file from the editor’s Open dialog.

3

Obviously you can't run C:\WINDOWS\system32\config\start . because there isn't start.exe (or start with any extensions in %PATHEXT%) inside C:\WINDOWS\system32\config

To open the current folder you need to run start . or explorer .. If you want to open it from any folder then use start C:\WINDOWS\system32\config or explorer C:\WINDOWS\system32\config

But you don't need to open with administrative. Just explore C:\WINDOWS\system32 then double click on the config folder. Explorer will say that you don't have permission to open that and ask for permission, just click yes and now you'll be inside

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy