Bonjour,
je planche en ce moment sur un problème :
je dois migrer un bon nombre de profils itinérants d'un domaine à un autre.
En raison du changement du SID de chaque utilisateurs, les permissions ne se font plus sur la ruche utilisateur (ntuser.dat), ce qui me donne des profils corrompus.
Je cherche le moyen donc de changer à la chaine les permissions de mes fichiers ntuser.dat.
Regini à priori pourrait me le faire, mais je ne comprends pas sa syntaxe.
J'essaye ça :
Citation :
regini -h "T:\chemin\user\NTUSER.DAT" USER: C:\fichier.ini
|
avec le contenu du fichier.ini :
malheuresement, j'obtiens ça :
REGINI: Failed to load from file 'fichier.ini' (32)
et pas moyen d'avoir une info sur cette sortie ...
si quelqu'un a déjà été confronté au problème, je serais ravi de bénéficier de son expérience
edit :
essayé avec
Citation :
regini -h NTUSER.DAT "T:\chemin\user\" USER: C:\fichier.ini
|
ça change rien
info supp
Citation :
usage: REGINI [-m \\machinename | -h hivefile hiveroot | -w Win95 Directory]
[-i n] [-o outputWidth]
[-b] textFiles...
where: -m specifies a remote Windows NT machine whose registry is to be manipulated.
-h specifies a specify local hive to manipulate.
Whenever specifying a registry path, either on the command line
or in an input file, the following prefix strings can be used:
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CURRENT_USER
USER:
Each of these strings can stand alone as the key name or be followed
a backslash and a subkey path.
|
Message édité par footeur81 le 29-02-2008 à 18:37:54