Jump to content

User Account without Password


Recommended Posts

hello guyz

my question is how to make another USER account beside the Adminsrator but this USER acccount without a password at all

so If I give this UA CD to friend, he can make the password he likes , without Calling me at the middle of the night asking about the PW! :blushing:

since when you LOG OFF, you can't login without entering the PW again

i.e. the Autologin doesn't work

I think then the autologin.reg isn't needed any more, and there will be a user login screen which needs only one Click to login into the windows, right?

do I have to replace the PW by * like the Adminstrator PW in Winsif.inf?

here is my files:

cmdlines.txt

[COMMANDS]
"useraccounts.cmd"
"RunOnceEx.cmd"

Useraccounts.cmd

net user XP 123 /add
net localgroup Administrators XP /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

Autologon.reg

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="XP"
"DefaultPassword"="123"
"AutoAdminLogon"="1"

Link to comment
Share on other sites


also when I enter the Safe Mode, it entered via XP (see above) Account rather than the Adminstrator

suppose that the XP account got damaged in a way or another! then I can't log in to the Adimnstrator Account for maintenance :P:)

Link to comment
Share on other sites

there may indeed be way, but why go through all that trouble? Just make the password be his first name, and tell him to change it (for obvious reasons) once windows finishes installing.

Take the easy way out here, its no that big of a thing. If you give him him no passwrod, he should put a password on, so he has to mess with the login settings either way,...just make it wasy on you and him and give him an easy password

Link to comment
Share on other sites

Just a little contribution. Here is how I do it.

winnt.sif

[GuiUnattended]
AdminPassword=*

cmdlines.txt

[COMMANDS]
"Useraccount.cmd"

Useraccount.cmd

cmdow @ /HID
@echo off

rem Username and Password for administrator.
set AdminUser=BoardBabe
set AdminPass=

rem Adding user.
net user %AdminUser% %AdminPass% /add
net localgroup Administratorer %AdminUser% /add
net accounts /maxpwage:unlimited

rem Activate autologon.
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%AdminUser%" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /d "%AdminPass%" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f

exit

I later disable autologon from WPI.cmd cleanup part

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "0" /f

Link to comment
Share on other sites

@WordUp

thanx, but cinsider all the possibilties! I can't assure 100% giving him the PW!

and also We gotta learn something new 2day :P

@Takeshi

no I don't want to use autologin

@BoardBabe

thanx , I'll give it a shot

Edited by Wesmosis
Link to comment
Share on other sites

@ Takeshi

I tried your method , Worked like a Charm!:P

and for other members who want this thing done:

here is a little tutorial about making a an Account Named XP not PASSWORDED, of course beside the Adminstrator Account which you will need in case of Emergency! (Safe Mode) which also without PW

1- cmdlines.txt

[COMMANDS]
"useraccounts.cmd"
"RunOnceEx.cmd"

2- oobeinfo.ini

[UserInfo]
Identity000="NewUser-Admin"
Identity001="NewUser-User"

3- useraccounts.cmd

net user XP /Passwordreq:no /add
net localgroup Administrators XP /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

4- Winnt.sif

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
AutoLogon = No                 <- Focus on This Buddy!:P
TimeZone = 120
OEMSkipRegional = 1
OemSkipWelcome = 1

5- NO NEED TO USE AUTOLOGIN.REG!

see ya guyz

Link to comment
Share on other sites

one silly question

should I order the useraccounts.cmd and RunExOnce.cmd in the cmdlines.txt?

I mean who's the first and who's the second? or it doesn't matter creating ac account user then installing applications, coz I'm having a problem with copying some files after installing ACDSee7 , take a look

cmdlines.txt

[COMMANDS]
"useraccounts.cmd"
"RunOnceEx.cmd"

ACDee.cmd

cls
@echo off

IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:

ECHO ACDSee 7.0 PowerPack Full
start /wait %CDROM%\Softwares\ACDSee\ACDSee.msi /QB PIDKEY=NEVER-BUY-A-SOFTWARE! LICENSE_MODEL=Full ADDLOCAL=ACDSee,ImageEncodingDecodingPlugIns,ACDPhotoEditor,CommandExtensionPlugIns,FotoSlate,PaneEx
tension
ECHO.
REGEDIT /S %CDROM%\Softwares\ACDSee\ACDSee.reg
copy /Y lmclient.dll "%programfiles%\Common Files\ACD Systems\EN"
copy /Y copytest.txt "%programfiles%\Common Files\ACD Systems\EN"
EXIT

and when I check the EN folder after completeing the UA installtions, I cant' find the copytest.txt!

any idea what's goin'on ? and plz no comment about the lmclient.dll, just consider yourself you didn't see it :P:)

Edited by Wesmosis
Link to comment
Share on other sites

At the command line you can alway do this:

@Echo off
net user "User Name" * /add /active:yes /expire:never /passwordchg:no
net localgroup Administrators "User Name" /add
exit

The * symbol after the account name indicates a password prompt at the command line.

If you make this a batch file and execute it you will create a new user account where the password will be defined by the end user. Drop this into the runonce so that it comes up on first boot for the new user. Then force a reboot after it exits. Then let the user log into their account. Simple enough.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...