Jump to content

nintulus

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

About nintulus

nintulus's Achievements

0

Reputation

  1. Add your reg tweak file to the "$OEM$\$$\SCRIPTS" folder and add the following line to the setup.cmd : regedit /s %systemroot%\scripts\sample.reg also better to add an if not exist line to tell what to do if regedit can't find it... This is the way normal OEM logos and information reg tweaks are normally executed... Check also your autounattend.xml has any overriding commands for this script... Another tideous method will be to open your autounattend.xml in WSIM and edit it directly...
  2. Actually; I also wanted to know a simpler way to add regtweak... I think it is best to add it to the $OEM$ folder and put a script like : <settings pass="auditUser"> <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronousCommand wcm:action="add"> <Order>10</Order> <Path>cmd /c REGEDIT /S C:\Applications\Regtweaks.reg</Path> <Description>Registry Tweaks</Description> </RunSynchronousCommand> Or add a RunSynchronous item for each reg tweak we are applying : <RunSynchronousCommand wcm:action="add"> <Credentials> <Domain>mydomain</Domain> <Password>any</Password> <Username>User</Username> </Credentials> <Description>Drive-Letter-First</Description> <Order>1</Order> <Path>reg add ;HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer ; /v ShowDriveLettersFirst /t REG_DWORD /d 00000001 /f</Path> </RunSynchronousCommand> Easier way than Creating an Answer file with WSIM... ??? Anyway; I think like in XP, "$OEM$" path is the best option for copying files without using any other commands; and the reg tweaks are already on target system nicely placed for us to execute them whiever way we want... Same thing for application installers... Just place them in OEM folder and execute command and after installation keep or delete... Would like some feedback...
×
×
  • Create New...