Help - Search - Members - Calendar
Full Version: Some questions... (User Creation)
MSFN Forums > Member Contributed Projects > Other Member Contributed Projects > Windows Installation Helper Utility

   
Google Internet Forums Unattended CD/DVD Guide
Mr_Q
Hi there!

I'm working on my Unattended XPDVD for months now.. and I changed it everytime..

At first.. I liked to customize the settings myself.. so the install was not unattended and I could fill in my name / s*** myself..


Now.. I saw that WIHU had a nice user creation and the possibility to change the computername..


So.. I thought.. I'm going to make it unattended, and let WIHU startup with User Creation.


cmdlines.txt:
QUOTE
[COMMANDS]"wihu.cmd"
"net user eigenaar /delete"
"regedit /s autologin.reg"



wihu.cmd
QUOTE
cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
REG ADD %KEY% /V WIHU /D "wihu.exe /SkipSoftware" /f


EXIT
autologin.reg
QUOTE
Windows Registry Editor Version 5.00

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



For some reason, the user "Eigenaar" get created during setup.. (Eigenaar is dutch for "Owner"). As I don't want the user Eigenaar to be the user.. (do, not as name and not as dir in my Docs and Settings).

This is the reason why i delete the user and want windows to login the first time with Administrator, and start WIHU for the user creation.

For some reason.. It doesn't login and I get no Users in the Welcome screen of XP (so, i'm not able to login)

What I can do is boot into Safe Mode and create a user.. But not really a good way to install Windows, is it? smile.gif


Thanks for you're help.
BenjaminKalytta
I don't realy understand what you are doing. Do you want to delete the "Owner" User? If this is your intention, this shouldn't be possible because this isn't a real user. It is used only for internal purposes. There are various of such users, like "Everyone", "Network", "System" and so on.

It's btw. also possible to delete users within WIHU.

CODE
[users]
user.0 = UserNameToDelete
deleted.0 = 1

(It seems that I forgot to mention this somewhere in documentation)

If you want an existing user to logged on automaticaly on system start, you could do following:

CODE
[users]
primary = 0
user.0 = Administrator
password.0 = YourPassword


And then start WIHU with wihu.exe /autologon
Mr_Q
Hmm now I have what I want, but the user "Eigenaar" (Owner in English) IS a real user, if the installation is unattended.. It even gets listed in the logon menu.

It's weird because when I do a normal installation, the user "Eigenaar" doesn't get created.

I don't think it's a problem if I delete this user using commands.txt? I think it's a standard user that will be created if there's no user input.

WIHU is a great program! Keep up the good work mate!

Thanks!
BenjaminKalytta
QUOTE
I think it's a standard user that will be created if there's no user input.


I tried it. No user get created if there's no input. You'll use "Administrator" instead as daily work user.
Mr_Q
QUOTE (BenjaminKalytta @ Oct 25 2005, 10:56 PM) *
QUOTE
I think it's a standard user that will be created if there's no user input.


I tried it. No user get created if there's no input. You'll use "Administrator" instead as daily work user.

I'm using home edition, maybe that's the reason? Will try on professional soon......
Mr_Q
Yep, it did have to do with Home Edition. Professional didn't create this user with the same WINNT.SIF..
Mr_Q
Hmm.. This is weird.. When I enter a password in the first screen of WIHU (with AutoLogon checked), it doesn't add the password to the account but it does change the registery of autologin to use that user with the password I entered and then it gives an error.

I'm using the latest version of WIHU (dutch).

Any clue?


[EDiT] I've found out that bug is in the dutch version of WIHU and not in the English version.. Will the dutch version be fixed?

The differents in size is like 84 KB, that's a lot for a program of 300-400 KB..
BenjaminKalytta
Sorry, I'll fix this soon. I forgot to update dutch and french version.

Benjamin Kalytta
Mr_Q
QUOTE (BenjaminKalytta @ Nov 2 2005, 07:09 PM) *
Sorry, I'll fix this soon. I forgot to update dutch and french version.

Benjamin Kalytta

So can you notice me when you updated it? Thanks.
BenjaminKalytta
It's already updated some says ago.

Benjamin
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.