Jump to content

Some questions... (User Creation)


Mr_Q

Recommended Posts

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:

[COMMANDS]"wihu.cmd"

"net user eigenaar /delete"

"regedit /s autologin.reg"

wihu.cmd

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

Thanks for you're help.

Link to comment
Share on other sites


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.

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

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

And then start WIHU with wihu.exe /autologon

Edited by BenjaminKalytta
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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......

Link to comment
Share on other sites

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..

Edited by Mr_Q
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...