This post is more than 5 years old
1 Rookie
•
7 Posts
0
71225
January 28th, 2015 15:00
CCTK V2.2.1 Problem with Admin Password actions
Good day.
I am trying to setup a custom offline build process and I have put together a WinPE image with some batch and INI files to configure BIOS settings for remote offline techs. I have hit a stag where CCTK set my Admin password, but it wont recognize the password now.
Here is the output from my batch file:
X:\Windows\system32>cctk.exe --setuppwd==Abc!23
Password is set successfully.
X:\Windows\system32>cctk --setuppwd= --valsetuppwd=Abc!23
The setup password supplied is incorrect. Please try again.
X:\Windows\system32>cctk --setuppwd= --valsetuppwd=Abc!23
The setup password supplied is incorrect. Please try again.
X:\Windows\system32>cctk --setuppwd= --valsetuppwd=Abc!23
The setup password supplied is incorrect. Please try again.
Anyone have any ideas? I do have a call with Dell in to get these Admin passwords unlocked.
Has anyone experienced this and worked around it?
karthikchandran89
49 Posts
1
January 28th, 2015 22:00
Hi VANGUARDHYDRA,
The password which you used here is having one more "=" symbol in the first command. so the bios password you set is "=Abc!23" and not "Abc!23".
So please use this below command to clear your password.
cctk --setuppwd= --valsetuppwd==Abc!23
Valid command to set the password is : cctk.exe --setuppwd=Abc!23
Tartrazine
1 Message
1
September 18th, 2015 03:00
I'm not sure if the OP had the same problem as me or if the answer above fixed it for them, but I've had a similar problem and wanted to possibly save someone some pain.
I've been trying to set the pwd on xps 13's and no mtter what I tried the password on the command line was being set incorrectly in the bios. I'm in the UK and traced my problem to code page settings in the command prompt. In Europe it is typically set to 850 whilst in the US it's typically 437. You can check it by typing
chcp
The code page setting at 850 somehow translates the password so the bios is receiving something 'different'
in the windows command prompt. By changing the code page to 437 by typing
chcp 437
and then running the cctk command or the settings exe it works!!
By the way if you had set the bios pwd on the command line while experiencing the problem but can't log in to the bios, use the command line again (as code page 850) to reset it to blank as the bios will recognise the password that way.