October 22, 200322 yr does anyone know how to add another user and make it the default instead of the Administrator account in the unattended setup?also if this new account will be marked for AutoLogon, I'll be greatful.
October 22, 200322 yr ECHO Adding User Yourname...ECHO Please Wait...net user Yourname /addnet localgroup "administrators" Yourname /addECHO.
October 22, 200322 yr In my script, I've got this:echo -=[Add Nas to administrator group]=-net user Nas /addnet localgroup "administrators" Nas /addnet localgroup "Users" Nas /deletenet user Nas /comment:"Administrator User Account"net user administrateur /active:noecho.echo.The command "net user administrateur /active:no" will disabled the administrator account (That's more secure )If you want to AutoLogon : >>> http://www.microsoft.com/technet/treeview/...dp_log_peyn.asp
October 22, 200322 yr Author net user administrateur /active:nonet user administrator /active:no[/which is the right one?
October 22, 200322 yr Author and should i remove these lines from my winnt.sif file? AutoLogon=Yes AutoLogonCount=1and shall i leave these lines as it is? AdminPassword="blablabla" EncryptedAdminPassword=NO
October 22, 200322 yr administrator is the correct way. i'm assuming since Nastradamus is from france that he slipped and added the french ending on there by accident
October 23, 200322 yr Author should i remove these lines from my winnt.sif file?AutoLogon=YesAutoLogonCount=1and shall i leave these lines as it is?AdminPassword="blablabla"EncryptedAdminPassword=NO
October 23, 200322 yr Somewhere I picked up this:set _USER=whatevernet user %_USER% "" /add >nulnet localgroup administrators "%_USER%" /add>nul%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%_USER%" /f%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserPassword" /d "" /f%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f
October 23, 200322 yr administrator is the correct way. i'm assuming since Nastradamus is from france that he slipped and added the french ending on there by accidentYou're rightSorry !!!!!It's administrator and not adminitrateur
October 23, 200322 yr Ok - I have NO vbs scripting expertise at all so I will leave this to the experts. Is it possible via batch file or vbs script to prompt me for the names of any users that need to be added to the machine and then run the command line syntaxes with the names that i input.Ultimately, I would like this to be accessible via Desktop shortcuts to the Administrator after the install. It would also be helpful to include another shortcut to a batch/vbs that would allow me to customize the name of the machine. Right now, all I have is "MyHomePC" on "MyHomeNetwork".I would like to have this one generic install (I already got the initial uninstall cd to work which is awesome!!!) Please give me some feedback and/or suggestions - I can write batch files but have been out of practice for quite awhile.Thanks to everyone for all of their help in advance.THIS SITE ROCKS!!!!!
October 23, 200322 yr Author Ok - I have NO vbs scripting expertise at all so I will leave this to the experts. Is it possible via batch file or vbs script to prompt me for the names of any users that need to be added to the machine and then run the command line syntaxes with the names that i input.Ultimately, I would like this to be accessible via Desktop shortcuts to the Administrator after the install. It would also be helpful to include another shortcut to a batch/vbs that would allow me to customize the name of the machine. Right now, all I have is "MyHomePC" on "MyHomeNetwork".I would like to have this one generic install (I already got the initial uninstall cd to work which is awesome!!!) Please give me some feedback and/or suggestions - I can write batch files but have been out of practice for quite awhile.Thanks to everyone for all of their help in advance.THIS SITE ROCKS!!!!! yes, that will be a very good idea, I think that you'll have a feedback pretty soon. I'll wait with you.
October 23, 200322 yr install.cmdset _USER=Squallnet user %_USER% "" /add >nulnet localgroup administrators "%_USER%" /add>nul%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%_USER%" /f%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserPassword" /d "" /f%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /fcmdlines.txt[COMMANDS]".\installs.cmd"And everything under $OEM$.NB: someone of the forum did this for me, I'm sure you guys can find the thread
Create an account or sign in to comment