PDA

View Full Version : How to change profile path specified in AD user properties on the


Raimundas Janusis
December 4th 07, 03:21 PM
hi,
is it possible to change profile path specified in AD user properties on the
fly?
I have many users who logon on public computers with their mandatory
profile, but in some locations computers have different software installed,
MS Office in this case version 2000 in one place and 2003 in another.
I want that user profile will be changed by computer name on which user is
logging on.
I wrote a script which changes "CentralProfile" value in ProfileList key in
registry and placed in users GPO startup script, but it seems that user
profile specified in properties loads first than the script who changes path.

Thanks in advance

Lanwench [MVP - Exchange]
December 4th 07, 04:19 PM
Raimundas Janusis > wrote:
> hi,
> is it possible to change profile path specified in AD user properties
> on the fly?
> I have many users who logon on public computers with their mandatory
> profile, but in some locations computers have different software
> installed, MS Office in this case version 2000 in one place and 2003
> in another.
> I want that user profile will be changed by computer name on which
> user is logging on.
> I wrote a script which changes "CentralProfile" value in ProfileList
> key in registry and placed in users GPO startup script, but it seems
> that user profile specified in properties loads first than the script
> who changes path.
>
> Thanks in advance

I'm not sure this is possible. I don't recommend that anyone use roaming
profiles in an environment that doesn't have fairly identical workstation
builds (and I don't generally recommend mandatory profiles at all). Perhaps
roaming profiles aren't for you. If you use Folder Redirection for My
Documents, Application Data, and Desktop (and perhaps also redirect some of
the shell folders such as Favorites, to a subfolder of the user's home
directory) you may not need roaming profiles at all.

I'm not sure exactly what your script does, but since a computer startup
script has nothing to do with user properties, I doubt it's going to work as
you expect. You could try posting in m.p.windows.server.scripting for more
help with that, tho.

Google