Jump to content

7Customizer - a Windows 7 Customization and Deployment tool


Recommended Posts

I tested on my compter Windows 7 64-bit, like this:

Start | Run

inside the command prompt writing:

Microsoft Windows [version 6.1.7601]

Copyright © 2009 Microsoft Corporation. Tous droits réservés.

C:\Users\Antoine>cd..

C:\Users>cd..

C:\>cd Windows\System32

C:\Windows\System32>slui.exe (Hit Enter)

Some help here:

http://windows7themes.net/cant-activate-windows-7-properly-sluiexe.html

Link to comment
Share on other sites


Many TNX myselfidem but I solved the activation as here bellow..

In fact, the problem was with the certificate. So, I had to reinstall the certificate, then the key and finally reactivate... it works :thumbup

Istall certificate

slmgr.vbs -ilc C:\Your_CertFile.xrm-ms

Install key

slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Activate windows after changing the key

slmgr.vbs -ato

Cheers

Edited by coucou
Link to comment
Share on other sites

Nice! :)

As promised coucou, here are some batch files I made: Cleanup.cmd (remove temp folder), Export.cmd, Export_Boot.cmd, SetProductKey.cmd

http://www.mediafire.com/?kns27djwvkrj2

Folder: BATCH.zip (en-US/fr-FR)

Let me know if you find errors!

Available for ALL Windows 7 Edition and architecture!

Enjoy.

*Edit: NEW batch files works now fine! :thumbup

Restarting the PC and using cleanup.cmd save time: ONLY 20 min. to remove all the files!

Edited by myselfidem
Link to comment
Share on other sites

Well done myselfidem :P

Right now I'm finishing my softwares_x64 silent install. As soon as I use the new batchs I let you know ;)

BTW, I've downloaded some .pdf documentations, and roughly red them.

"Editer le registre dans une image WIM_2.pdf" could be interesting for this Mouse Pointer tweak. Although it is implemented on line, it never implemented in an unattended install.

Hope yr doc helps. Isn't it???

Amicalement

Edited by coucou
Link to comment
Share on other sites

BTW, I've downloaded some .pdf documentations, and roughly red them.

"Editer le registre dans une image WIM_2.pdf" could be interesting for this Mouse Pointer tweak. Although it is implemented on line, it never implemented in an unattended install.

Hope yr doc helps. Isn't it???

Amicalement

I will update the French guide about add registry keys inside a mounted image wim using SetACL on an image Offline!

About the reg file (following the French guide): Mouse Pointer

You need to adapt the reg keys to your needs and write the correct path inside the batch file.

Example (Windows 7 x86):

Add_Reg.cmd (adapt the paths and folders name to your needs! Using Administrators for English Windows version!)


@echo off & color 1F
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /Wimfile:"C:\7elite32\source\sources\install.wim" /index:1 /MountDir:"C:\work"
>nul timeout /t 3
reg.exe load HKLM\WIM_Default "C:\work\Users\Default\NTUSER.DAT"
reg.exe load HKLM\WIM_Software "C:\work\Windows\System32\config\SOFTWARE"
reg.exe load HKLM\WIM_System "C:\work\Windows\System32\config\SYSTEM"
>nul timeout /t 3
rem SetACL.exe must be installed inside C:\Windows\System32
setacl.exe -on "HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}" -ot reg -rec yes -actn setowner -ownr "n:Administrateurs"
setacl.exe -on "HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}" -ot reg -rec yes -actn ace -ace "n:Administrateurs;p:full"
echo.
setacl.exe -on "HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}" -ot reg -rec yes -actn setowner -ownr "n:Administrateurs"
setacl.exe -on "HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}" -ot reg -rec yes -actn ace -ace "n:Administrateurs;p:full"
echo.
reg.exe import "C:\DISM_Temp\Pointer.reg"
reg.exe import "C:\DISM_Temp\Control.reg"
>nul timeout /t 3
echo.
reg.exe unload HKLM\WIM_Default
reg.exe unload HKLM\WIM_Software
reg.exe unload HKLM\WIM_System
echo.
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\work" /Commit
echo.
echo ==Press any key to exit==&pause>nul

Pointer.reg (must be adapted like this: inside C:\DISM_Temp)

Pointer.reg


Windows Registry Editor Version 5.00

; Pointeur (Cursor) Inversé trés grand

[HKEY_LOCAL_MACHINE\WIM_Default\Control Panel\Cursors]

[HKEY_LOCAL_MACHINE\WIM_Default\Control Panel\Cursors]
"Arrow"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,61,00,72,00,\
72,00,6f,00,77,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"Help"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,68,00,65,00,\
6c,00,70,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"Hand"=hex(2):00,00
"AppStarting"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,77,00,\
61,00,69,00,74,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"Wait"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,62,00,75,00,\
73,00,79,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"NWPen"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,70,00,65,00,\
6e,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"No"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,6e,00,6f,00,5f,\
00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"SizeNS"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,73,00,69,00,\
7a,00,65,00,34,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"SizeWE"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,73,00,69,00,\
7a,00,65,00,33,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"SizeNWSE"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,73,00,69,\
00,7a,00,65,00,32,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"SizeNESW"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,73,00,69,\
00,7a,00,65,00,31,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"SizeAll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,6d,00,6f,\
00,76,00,65,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"UpArrow"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,75,00,70,\
00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
@="Windows Inverted (extra large)"
"Scheme Source"=dword:00000002
"Crosshair"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,63,00,72,\
00,6f,00,73,00,73,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00
"IBeam"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,62,00,65,00,\
61,00,6d,00,5f,00,69,00,6c,00,2e,00,63,00,75,00,72,00,00,00

Control.reg


Windows Registry Editor Version 5.00

; Supprimer la Panneau de configuration dans l'Explorateur Windows
[HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder]
"Attributes"=dword:a0900004

; Supprimer les Favoris dans l'Explorateur Windows
[HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder]
"Attributes"=dword:a9400100

Output command window (example with SetACL)

L'opération a réussi.

L'opération a réussi.

L'opération a réussi.

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\DefaultIcon>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\InProcServer32>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder>

SetACL finished successfully.

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\DefaultIcon>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\InProcServer32>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder>

SetACL finished successfully.

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\DefaultIcon>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\Implemented Categories>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\Implemented Categories\{00021490-0000-0000-C000-000000000046}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\InProcServer32>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell\restorefavoritelinks>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell\restorefavoritelinks\command>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder>

SetACL finished successfully.

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\DefaultIcon>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\Implemented Categories>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\Implemented Categories\{00021490-0000-0000-C000-000000000046}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\InProcServer32>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell\restorefavoritelinks>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell\restorefavoritelinks\command>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder>

SetACL finished successfully.

L'opération a réussi.

Appuyez sur une touche pour continuer...

Edited by myselfidem
Link to comment
Share on other sites

Too much myselfidem ;)

You do use SetAcl. As far I remember, there is no permission need to modify online the mouse pointer :rolleyes:

I'll give a try later

Regards

Edited by coucou
Link to comment
Share on other sites

Yes! :)

With the reg file Mouse Pointer we don't need permissions but with some registry keys is useful to use SetACL on an Offline image

to have permissions to change, remove... keys inside the mounted registry hives!

Your example on the computer:

http://www.msfn.org/board/topic/151626-applying-a-reg-tweaks/

Regards

Edited by myselfidem
Link to comment
Share on other sites

TNX mat :P

Thanks! :rolleyes:

I forgot to write the reg file inside the layout like my example above! Done now, sorry! Guide updated!

Test made successfully with this reg file with an image Offline (mounted)!


Windows Registry Editor Version 5.00


; Supprimer la Panneau de configuration dans l'Explorateur Windows
[HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder]
"Attributes"=dword:a0900004

; Supprimer les Favoris dans l'Explorateur Windows
[HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder]
"Attributes"=dword:a9400100

Output command window

Outil Gestion et maintenance des images de déploiement

Version : 6.1.7600.16385

Montage de l'image

[==========================100.0%==========================]

L'opération a réussi.

L'opération a réussi.

L'opération a réussi.

L'opération a réussi.

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\DefaultIcon>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\InProcServer32>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder>

SetACL finished successfully.

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\DefaultIcon>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\InProcServer32>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder>

SetACL finished successfully.

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\DefaultIcon>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\Implemented Categories>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\Implemented Categories\{00021490-0000-0000-C000-000000000046}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\InProcServer32>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell\restorefavoritelinks>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell\restorefavoritelinks\command>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder>

SetACL finished successfully.

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\DefaultIcon>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\Implemented Categories>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\Implemented Categories\{00021490-0000-0000-C000-000000000046}>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\InProcServer32>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell\restorefavoritelinks>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\shell\restorefavoritelinks\command>

INFORMATION: Processing ACL of: <machine\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder>

SetACL finished successfully.

L'opération a réussi.

L'opération a réussi.

L'opération a réussi.

L'opération a réussi.

Outil Gestion et maintenance des images de déploiement

Version : 6.1.7600.16385

Fichier image : C:\7elite32\source\sources\install.wim

Index de l'image : 5

Enregistrement de l'image

[==========================100.0%==========================]

Démontage de l'image

[==========================100.0%==========================]

L'opération a réussi.

==Appuyez sur n'importe qu'elle touche pour quitter==

Edited by myselfidem
Link to comment
Share on other sites

Hi! :rolleyes:

New batch files - BATCH.zip - (fr-FR/en-US) for Export_X86_X64.cmd for images Windows 7 Ultimate x86 or amd64 to save space!

Cheers

*Edit: SOLVED ! Export_X86_X64.cmd works really fine now for x86 or amd64 Arch! :thumbup

*Edit 2: Updated SP1integration.cmd and folders (fr-FR/en-US)

Download SP1 Original: http://www.msfn.org/...post__p__972789

Edited by myselfidem
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...