Hi, I'm having problems importing my reg file... I have 2 kind: one for all user, and one just for me. So I have one called @ the T-12 stage, imported by XPinstall called by cmdline.txt. This seems ok. I then put in the RunOnceEx key some other information concerning some hotfixes and my personnal registry entries that should be imported in the RunOnceEx time... Everything runs, no errors, but my config isnt imported corectly... I need to import the reg file in windows, reboot, and now my config is back... What could prevent the same reg file from making changes at the RunOnceEx? I reboot the computer just after its been imported so maybe the changes arent saved? What do you think? thanks guys XPinstall.xml (ran @ T-12) ... <item name="Configuration"> <file name="Programs configuration" command='execute' program='wscript' arguments='"#SOURCEPATH#\PROGRAMMES\scripts\config.js"'></file> <file name="Accounts onfiguration" command='execute' program='regedit' arguments='/s "#SOURCEPATH#\PROGRAMMES\reg\hkcu.reg"'></file> </item> ... config.js Shell.RegWrite(RunOnceEx + "\\Title", "Application de deux correctifs de sécurité", "REG_SZ"); Shell.RegWrite(RunOnceEx + "\\a04\\", "Account configuration", "REG_SZ"); Shell.RegWrite(RunOnceEx + "\\a04\\1", "wscript " + SourcePath + "PROGRAMMES\\scripts\\nettoyage.js", "REG_SZ"); Shell.RegWrite(RunOnceEx + "\\z01\\", "Reboot", "REG_SZ"); Shell.RegWrite(RunOnceEx + "\\z01\\1", "shutdown -r -f -t 1 -c \"Redémarage final de l'ordinateur\"", "REG_SZ"); nettoyage.js Shell.Run("regedit /s" + SourcePath + "PROGRAMMES\\reg\\perso.reg", 0, true);