AirV's Blog

Just another blog

A12S27

Dernière semaine tranquille avant la Loire Intégrale. Tous les voyants sont au vert, yapluka 🙂

Rendez-vous à la fin du mois…

 

semaine du 2 au 8 juillet 2012

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])