Jump to content

rferrariwd

Member
  • Posts

    5
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Brazil

About rferrariwd

rferrariwd's Achievements

0

Reputation

  1. I used this script to set a recovery partition at the disk i discovery that the script have admin status, and to solve it, i executed it using cmd.exe /k scriptname.cmd and it didn't asked for permission tks
  2. This worked for me: enter at audit mode, remove folowing registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId generalize, exit windows, enter with winpe and capture the image next time you enter at oobe the product key will be request
  3. it's locate at "c:\windows\". The script is the setautofailover.cmd -> run the bcdedit.exe and the diskpart.exe
  4. I put a script at autounattend file (FirstLogonCommands or LogonCommands of oobeSystem step) but when the script is executed, i got access denied message. There is someway to run a command at oobe step with admin permissions?! Thanks
  5. Hi! -I instaled the Windows Vista using the AutoUnattend.xml File. see above! -Than I runned the sysprep /generalize /oobe /shutdown. -Captured the generalized image for d:\generalized.wim -Apply back the generalized image. -When it start for the first time, at the oobe the Product Key isn't been asked for the user. It ask for Local Settigns, EULA, User Name, Computer Name, Protection Type, Time and Date and Finish, skipping the Product Key Page. -------- AutoUnattend.xml -------- <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-IE-InternetExplorer" 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"> <FavoritesList> <FavoriteItem wcm:action="add"> <FavTitle>Google</FavTitle> <FavURL>http://www.google.com</FavURL> <FavID>Favorite1</FavID> </FavoriteItem> </FavoritesList> </component> <component name="Microsoft-Windows-Shell-Setup" 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"> <OEMInformation> <Manufacturer>Manufacturer</Manufacturer> <SupportURL>http://www.Manufacturer.com.br</SupportURL> <Logo>c:\Windows\oemlogo\oemlogo.bmp</Logo> <SupportPhone>5555-5555</SupportPhone> <SupportHours>08:00h ~ 18:00h</SupportHours> </OEMInformation> <TimeZone>E. South America Standard Time</TimeZone> <Display> <ColorDepth>32</ColorDepth> <DPI>120</DPI> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> </component> </settings> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" 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"> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Extend>false</Extend> <Order>1</Order> <Type>Primary</Type> <Size>5500</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>2</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>false</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>Recovery</Label> <Letter>D</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>Sistema</Label> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <WillShowUI>OnError</WillShowUI> <InstallToAvailablePartition>false</InstallToAvailablePartition> </OSImage> </ImageInstall> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <UseConfigurationSet>true</UseConfigurationSet> </component> <component name="Microsoft-Windows-International-Core-WinPE" 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"> <SetupUILanguage> <UILanguage>pt-br</UILanguage> </SetupUILanguage> <InputLocale>0416:00010416</InputLocale> <SystemLocale>pt-BR</SystemLocale> <UserLocale>pt-Br</UserLocale> <UILanguage>pt-Br</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> </component> <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:keyValue="4b2103c7" wcm:action="add"> <Path>%configsetroot%\AutoUnattend_Files\Microsoft\Vista\STARTER\Out-of-Box Drivers\Modem</Path> </PathAndCredentials> <PathAndCredentials wcm:keyValue="cc3b7d73" wcm:action="add"> <Path>%configsetroot%\AutoUnattend_Files\Microsoft\Vista\STARTER\Out-of-Box Drivers\SVGA</Path> </PathAndCredentials> </DriverPaths> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" 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"> <AutoLogon> <LogonCount>9999</LogonCount> <Username>Administrator</Username> <Enabled>true</Enabled> </AutoLogon> <OOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>1</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <Themes> <CustomDefaultThemeFile>c:\Windows\theme.Theme</CustomDefaultThemeFile> </Themes> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" 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"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/microsoft/vista/opk/home.wim/install.wim#Windows Vista STARTER" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
×
×
  • Create New...