ugo73
10-11-2014, 19:34
Ciao,
nel week-end sono riuscito a crearmi un file autounttend per l'installazione automatica. Tale file risiede su pendrive usb. Sempre nella root ho messo un file batch che mi imposta windows in cofigurazione "prestazioni elevate" e mi cancella i due file unattend che risiedono nelle sotto directory di windows. Il problema e che non riesco a far eseguire tale script. questa è la parte del file autounattend per lanciare lo script finale
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Description>Turn off all power saving and timeouts</Description>
<Order>1</Order>
<CommandLine>FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\script_finale.bat %%i:\script_finale.bat</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
dove sbaglio?
Ugo
nel week-end sono riuscito a crearmi un file autounttend per l'installazione automatica. Tale file risiede su pendrive usb. Sempre nella root ho messo un file batch che mi imposta windows in cofigurazione "prestazioni elevate" e mi cancella i due file unattend che risiedono nelle sotto directory di windows. Il problema e che non riesco a far eseguire tale script. questa è la parte del file autounattend per lanciare lo script finale
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Description>Turn off all power saving and timeouts</Description>
<Order>1</Order>
<CommandLine>FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\script_finale.bat %%i:\script_finale.bat</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
dove sbaglio?
Ugo