Discussion:
How to programmatically create user profile on Win9x??
(too old to reply)
Frank
2004-04-01 22:03:04 UTC
Permalink
Hi,

I need the ability to create a user profile on Windows 9x
(<windir>\Profiles\<user>)

On NT plateforms, I use the LoadUserProfile api and if that particular
user profile does not exist on disk, it is created. I can then load
the user's hive and apply some changes to it.

On 98, when adding a new user using the UI (Add User wizard), it
creates the user profile on disk. That's what I want to do
programmatically!

I would really appreciate if anyone can give me a tip on this...

Thanks!
Noel Paton
2004-04-02 05:15:07 UTC
Permalink
Homework project?
--
Noel Paton (MS-MVP 2002-2004, Win9x)

Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm

Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Post by Frank
Hi,
I need the ability to create a user profile on Windows 9x
(<windir>\Profiles\<user>)
On NT plateforms, I use the LoadUserProfile api and if that particular
user profile does not exist on disk, it is created. I can then load
the user's hive and apply some changes to it.
On 98, when adding a new user using the UI (Add User wizard), it
creates the user profile on disk. That's what I want to do
programmatically!
I would really appreciate if anyone can give me a tip on this...
Thanks!
Frank
2004-04-05 20:26:21 UTC
Permalink
Hi Noel,

What kind of a question is this? I don't get it, what makes my
question sounds <homework>? :-) Look at KB 196070 ("HOWTO:
Programmatically Cause the Creation of a User's Profile") and this is
the answer to my question, but on NT plateforms only. I need to do
this on win9x also...

Thanks in advance for any info!

Frank

p.s.: to answer your question, no, this is not an Homework project ;-)
I actually get paid to post these silly questions.
Post by Noel Paton
Homework project?
--
Noel Paton (MS-MVP 2002-2004, Win9x)
Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm
Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Post by Frank
Hi,
I need the ability to create a user profile on Windows 9x
(<windir>\Profiles\<user>)
On NT plateforms, I use the LoadUserProfile api and if that particular
user profile does not exist on disk, it is created. I can then load
the user's hive and apply some changes to it.
On 98, when adding a new user using the UI (Add User wizard), it
creates the user profile on disk. That's what I want to do
programmatically!
I would really appreciate if anyone can give me a tip on this...
Thanks!
Noel Paton
2004-04-05 20:40:02 UTC
Permalink
I wish I got paid to answer them!
--
Noel Paton (MS-MVP 2002-2004, Win9x)

Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm

Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Post by Frank
Hi Noel,
What kind of a question is this? I don't get it, what makes my
Programmatically Cause the Creation of a User's Profile") and this is
the answer to my question, but on NT plateforms only. I need to do
this on win9x also...
Thanks in advance for any info!
Frank
p.s.: to answer your question, no, this is not an Homework project ;-)
I actually get paid to post these silly questions.
Post by Noel Paton
Homework project?
--
Noel Paton (MS-MVP 2002-2004, Win9x)
Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm
Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Post by Frank
Hi,
I need the ability to create a user profile on Windows 9x
(<windir>\Profiles\<user>)
On NT plateforms, I use the LoadUserProfile api and if that particular
user profile does not exist on disk, it is created. I can then load
the user's hive and apply some changes to it.
On 98, when adding a new user using the UI (Add User wizard), it
creates the user profile on disk. That's what I want to do
programmatically!
I would really appreciate if anyone can give me a tip on this...
Thanks!
Frank
2004-04-06 15:13:54 UTC
Permalink
Well, I guess you wouldn't get paid anyway for MY question! :-)

You don't have any info/hints for me on this?? Should I just go ahead
and build this user folder structure manually (create dirs, etc...)
plus a few registry entries (I've been spying the api used by the
wizard)? I wish I could get an "official" way to do this instead of
just hacking around until it works or seems to...

Thanks,
Post by Noel Paton
I wish I got paid to answer them!
--
Noel Paton (MS-MVP 2002-2004, Win9x)
Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm
Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Noel Paton
2004-04-06 15:26:03 UTC
Permalink
AFAIK, there's no 'easy' way to do this - you might want to have a browse
around in TechNet and see if there's anything there
http://support.microsoft.com/search/default.aspx?InCC_hdn=true&Catalog=LCID%3D1033%26CDID%3DEN-US-KB%26PRODLISTSRC%3DON&withinResults=&QuerySource=gASr_Query&Product=w98&Queryc=create+user+profile&Query=create+user+profile&KeywordType=ALL&maxResults=25&Titles=false&numDays=&InCC=on

should be a reasonable kick-off point

HTH
--
Noel Paton (MS-MVP 2002-2004, Win9x)

Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm

Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Post by Frank
Well, I guess you wouldn't get paid anyway for MY question! :-)
You don't have any info/hints for me on this?? Should I just go ahead
and build this user folder structure manually (create dirs, etc...)
plus a few registry entries (I've been spying the api used by the
wizard)? I wish I could get an "official" way to do this instead of
just hacking around until it works or seems to...
Thanks,
Post by Noel Paton
I wish I got paid to answer them!
--
Noel Paton (MS-MVP 2002-2004, Win9x)
Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm
Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Frank
2004-04-07 21:38:46 UTC
Permalink
Hi Noel,

I had already browse this stuff to death before going for the
newsgroups... I know pretty much everything there is to do with user
profiles now...eeee except creating them on 9x of course :-)

Anyway, I really wanted to thank you for the time you took to answer
my messages, Thanks! Keep up the good work and *free* support!
Post by Noel Paton
AFAIK, there's no 'easy' way to do this - you might want to have a browse
around in TechNet and see if there's anything there
http://support.microsoft.com/search/default.aspx?InCC_hdn=true&Catalog=LCID%3D1033%26CDID%3DEN-US-KB%26PRODLISTSRC%3DON&withinResults=&QuerySource=gASr_Query&Product=w98&Queryc=create+user+profile&Query=create+user+profile&KeywordType=ALL&maxResults=25&Titles=false&numDays=&InCC=on
should be a reasonable kick-off point
HTH
--
Noel Paton (MS-MVP 2002-2004, Win9x)
Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm
Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Post by Frank
Well, I guess you wouldn't get paid anyway for MY question! :-)
You don't have any info/hints for me on this?? Should I just go ahead
and build this user folder structure manually (create dirs, etc...)
plus a few registry entries (I've been spying the api used by the
wizard)? I wish I could get an "official" way to do this instead of
just hacking around until it works or seems to...
Thanks,
Post by Noel Paton
I wish I got paid to answer them!
--
Noel Paton (MS-MVP 2002-2004, Win9x)
Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm
Please read http://dts-l.org/goodpost.htm on how to post messages to
NG's
Noel Paton
2004-04-07 21:46:39 UTC
Permalink
I had a nasty feeling that would be the response!<g>

All I can do is wish you good luck in your search.
(now - anyone want to pay me for this?<VBG>)
--
Noel Paton (MS-MVP 2002-2004, Win9x)

Nil Carborundum Illegitemi
http://www.btinternet.com/~winnoel/millsrpch.htm

Please read http://dts-l.org/goodpost.htm on how to post messages to NG's
Post by Frank
Hi Noel,
I had already browse this stuff to death before going for the
newsgroups... I know pretty much everything there is to do with user
profiles now...eeee except creating them on 9x of course :-)
Rick T
2004-04-06 21:17:45 UTC
Permalink
Post by Frank
Well, I guess you wouldn't get paid anyway for MY question! :-)
You don't have any info/hints for me on this?? Should I just go ahead
and build this user folder structure manually (create dirs, etc...)
plus a few registry entries (I've been spying the api used by the
wizard)? I wish I could get an "official" way to do this instead of
just hacking around until it works or seems to...
You won't find an "official way"; WinME is a consumer OS, not a business OS.


Rick
if you want to pay me to write one for you, now that's different ;)
Loading...