AirV's Blog

Just another blog

Variable USERPROFILE sous XP

From http://windowsxp.mvps.org

Rename the User Profile folder using Windows Explorer

  • Logon to an admin account that is not the account being renamed.
  • Open the Documents and Settings folder, by typing this in Start, Run dialog:
    %systemdrive%\Documents and Settings
  • Select the corresponding folder of the user account that you want to rename.

Notify the system that the user profile path has changed.

  • Changing the ProfileImagePath value in the registry :
    HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ ProfileList
  • Changer dans la base de registre le répertoire par défaut de l’ensemble des profils (valeur ProfilesDirectory de la clé HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList)
  • Changer individuellement dans la base de registre le répertoire de chaque profil (valeur ProfileImagePath de la clé HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\[SID de l'utilisateur])

dimanche 8 juillet 2012 Posté par à 10:09 | Windows, XP | pas de commentaire