MSFN Forum: User Account without Password - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

User Account without Password Net User Question Rate Topic: -----

#1 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

  Posted 04 August 2005 - 12:28 AM

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"



#2 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 04 August 2005 - 12:46 AM

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:)

#3 User is offline   WoRdUp48 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 05-September 01

Posted 04 August 2005 - 12:54 AM

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

#4 User is offline   Takeshi 

  • Legitchecking...
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,107
  • Joined: 09-September 04

Posted 04 August 2005 - 01:09 AM

http://www.msfn.org/...showtopic=52164

If you don't use autologon then my method should work (not sure about if you use autologon). I haven't tried it.

#5 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 04 August 2005 - 04:32 AM

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


#6 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 04 August 2005 - 05:26 AM

@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

This post has been edited by Wesmosis: 04 August 2005 - 05:34 AM


#7 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 04 August 2005 - 02:15 PM

@ 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

#8 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 09 August 2005 - 05:46 PM

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:)

This post has been edited by Wesmosis: 09 August 2005 - 05:48 PM


#9 User is offline   zacnboat 

  • Group: Members
  • Posts: 8
  • Joined: 04-August 05

Posted 11 August 2005 - 03:00 PM

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy