Alpha_95 Posted December 4, 2016 Share Posted December 4, 2016 Hello, i have added in oobeSystem but it's doesn't work...: <FolderLocations> <ProfilesDirectory>D:\Users</ProfilesDirectory> <ProgramData>D:\ProgramData</ProgramData> </FolderLocations> how to use it please? Hard drive D:\ exist Cheers, Quote Link to comment Share on other sites More sharing options...
clarkg888 Posted December 7, 2016 Share Posted December 7, 2016 Hi Alpha_95: I've done this successfully. I test with VMWare Player with a pair of 30GB.hard disks configured. I have both hard drives formatted NTFS before install. I've attached my Autounattend.xml file for reference. The last time I tested this was about 6 months ago with the prior version of WinToolkit 1.5.4.4. Hope this helps, Clark. Autounattend.xml Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 8, 2016 Author Share Posted December 8, 2016 (edited) Hello clarkg888, hard drive formatted NETFS before install => yeah sure! your .xml file is similar, i use: <cpi:offlineImage cpi:source="wim:E:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> or .clg is required for that? edit: try with you .xml file and doesn't work, i need to enter in audit mode or what? <cpi:offlineImage cpi:source="catalog:dvd_pro/sources/install_Windows 7 Revolution.clg" path to DVD or? can you explain please Edited December 8, 2016 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
clarkg888 Posted December 9, 2016 Share Posted December 9, 2016 I don't think that <cpi:.. line matters. I got that line after editing with Windows System Image Manger (SIM). According to this post , you can delete that line. Does the install proceed ok, but just doesn't put \Users on the D: drive? Or do you get some error message? Are you installing in a VM? I've never used audit mode for this. I just add the AutoUnattend.xml to the root of the ISO created with WinToolKit using an ISO editing tool. I use UltraISO. Also, if you are adding a OOBE.CMD script to your ISO in path "\sources\$oem$\$$\Setup\scripts", the script gets run TWICE when you have the FolderLocations specified in the AutoUnattend.xml. It runs once before the \Users folder is moved, then the system reboots and it runs again with the \Users in the new location. I've attached my OOBE.CMD for your reference. It creates a log file on the first run, so it can detect whether this is the first or second run. It runs an OEM activation script on the first pass. On the second pass, it fixes the junctions "Documents and Settings" and ProgramData on the boot (C:) drive so they point to the new location on the D: drive. And it creates a junction "Users" on the C: drive to point to the D: drive so brain-dead software that assumes Users is on the C: drive goes to the right location. This is just a refinement once you've got \Users being created correctly on your D: drive when you install. Clark. OOBE.CMD mooms 1 Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 10, 2016 Author Share Posted December 10, 2016 (edited) No error and yes i test in a VM. For OOBE.cmd script, i need to put in C:\MYDVD\sources\$OEM$\$$\Setup\scripts? edit: OOBE.cmd in "C:\DISMTOOL\DVD_PRO\sources\$OEM$\$$\Setup\scripts" doesn't work. OOBE1.log: C:\Windows\System32>IF EXIST "C:\Windows\Setup\scripts\OEMACT.CMD" CALL "C:\Windows\Setup\script\OEMACT.CMD" 1>C:\Windows\Setup\scripts\OEMACT.log 2>&1 C:\Windows\System32>GOTO :EOF Edited December 10, 2016 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
clarkg888 Posted December 10, 2016 Share Posted December 10, 2016 (edited) Yes, assuming you are burning the contents of C:\MYDVD to DVD or creating the ISO for install in the VM from the contents. But the OOBE.CMD isn't required to get the Users folder on the D: drive. Maybe try putting your Autounattend.xml on the root of a virgin untouched Windows 7 SP1 Ultimate DVD or ISO ? Clark. Edit: yes, your result with OOBE1.log is expected, since you don't have the OEMACT.CMD file. I'm assuming you are getting no OOBE2.log, so the second pass isn't running. Edited December 10, 2016 by clarkg888 Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 10, 2016 Author Share Posted December 10, 2016 (edited) ISO Ultimate is virgin, no integration. edit: and now, i get a error on oobeSystem (Microsoft-windows-shell-setup lmao)... Autounattend - Copie.xml Edited December 10, 2016 by Alpha_95 added .xml because error Quote Link to comment Share on other sites More sharing options...
clarkg888 Posted December 21, 2016 Share Posted December 21, 2016 Sorry I haven't replied earlier. I'm going to try using your Autounattend.xml sometime after Christmas and see what happens. Clark. Quote Link to comment Share on other sites More sharing options...
clarkg888 Posted February 23, 2017 Share Posted February 23, 2017 OK, I finally got the time to try this. I used your autounattend.xml with the image name changed from "Windows 7 Revolution" to "Windows 7 Ultimate" and the Product key section removed: <ProductKey> <WillShowUI>OnError</WillShowUI> <Key>XXXX-XXXX-XXXX-XXXX-XXXX</Key> </ProductKey> I used the US English iso X17-59465.iso Windows 7 Ultimate SP1. I think you must use the French one. I installed in a VMWare VM with 1.5GB RAM and two formatted 30GB drives C: and D: The Users and ProgramData folders ended up on D: as expected. I don't know what is going wrong for you. Clark. Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted March 11, 2017 Author Share Posted March 11, 2017 Hello, I have retry and work now no change on .xml file, strange... thanks for help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.