Re: Creating Registry Profile on login

Tech-Archive recommends: Fix windows errors by optimizing your registry



Use VBScript to make the registry entry and then you can use variables.

Jeff Pitsch
Microsoft MVP - Terminal Server

Forums not enough?
Get support from the experts at your business
http://jeffpitschconsulting.com

"Michael" <Michael@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:55D6BA03-3E7A-4647-8F3C-04CDC6095A65@xxxxxxxxxxxxxxxx
I have a need to create a registry entry on first login, that points to a
local profile path.

The registry setting is for an installed application.

I would like to be able to have %username% applied at the first login; I
do
not know how to apply the user's login name to a registry entry. At
present,
I am using a default name which I have to change after each user logs on
to
the server.

[HKEY_CURRENT_USER\Software\Application\Configuration]
"Local Directory"="F:\\Profiles\\%username%"

Thank you for any assistance


.



Relevant Pages