Jump to content

Major

Member
  • Posts

    322
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Spain

Everything posted by Major

  1. hi, i am wondering if when i select the version x86 or x64 which i want to install, windows will select the boot.wim suitable for the version i have selected, because i inject drivers x64 or x86 depending on the version i wanted to install. For that reason, i need to have the two boot.wim (x86,x64). So my questions: Can i combine the two boot.wim (x86,x64) in one file boot.wim ? If I can, windows will select the suitable index from the boot.wim to install drivers? If i can combine them, i have to combine the two index of each boot.wim or only the index 2 where i inject the drivers? Or i have to inject the two versions of drivers x64 and x86 in the boot.wim (x86)? as in the first post, they say that x86 and x64 have the same boot.wim Thanks
  2. you have written "reboot.exe.exe" two .exe, i don´t know if it is an error or you have put this name yourself?
  3. Thanks very much @ilko_t , It has worked well. I have only one question: I have seen during the unattended installation, it prompts with the dialog: open file - security warning when it executes some .exe files, then i press ok to continue with the installation of the program. That dialog has never appeared during other installations i have done via cd/dvd do you have any suggest please? thanks
  4. @ricktendo64 can you please provide the links for spanish versions x86-x64? or that msu is multi Thanks
  5. Ok here is the file attached. The computer where i want to install windows 7 is a netbook packard bell dot se bios version 3.05 sata: ahci Thanks menu.rar
  6. I have made an usb for installing windows 7 unattended. but i have 2 problems which in fact is one problem. the first problem: when i start the computer it does not ask me to press any key which it has began automatically to load the files to do the installation. (while when i do it from a cd it asks me to press any key) the second problem: when the installation has finished the first phase, after the system reboots, it loads again the files to redo the installation from the beginning, so it will not never finish the installation. any suggest on how can i fix this problem? Thanks
  7. Hi, i am wondering is there any way to install a new unattended windows 7 only to the partition where an old windows is installed ( i am referring that it detects automatically the partition where an old system windows is installed, then format only that partition and install a new windows 7 in that partition and left intact the others partitons on the same disk) Thanks
  8. Hi, i have a few questions please in order to understand what is happened because is really very strange. I managed to install windows unattended 7 with sysprep successfully. Then i wanted to try the copyprofile, i have installed some programs and importing the registry tweaks during audit user. when the installation ends, i have found the programs installed but no one registry tweaks. Then i decided to install the registry tweaks manually (Regedit whithout /S) during the audit user, when it reaches the command of regedit it tells to click ok but the surprise was it tells me it can not add the tweaks due to an error of archive or disc. I don´t understand why the programs i have installed add their registry but when i wanted to import my tweaks it does not let me. Here are my autounattend.xml <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <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>es-ES</UILanguage> </SetupUILanguage> <InputLocale>0c0a:0000040a</InputLocale> <SystemLocale>es-ES</SystemLocale> <UILanguage>es-ES</UILanguage> <UserLocale>es-ES</UserLocale> </component> <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"> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> <Key>*************</Key> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>TeAm</FullName> <Organization>Software</Organization> </UserData> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value> Windows 7 ULTIMATE</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>1</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> </Display> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Security-SPP-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </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"> <ComputerName>MiEQUIPO</ComputerName> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <TimeZone>Romance Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> <CopyProfile>true</CopyProfile> </component> <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"> <SearchScopes> <Scope wcm:action="add"> <ScopeDefault>true</ScopeDefault> <ScopeDisplayName>Google</ScopeDisplayName> <ShowSearchSuggestions>false</ShowSearchSuggestions> <ScopeUrl>http://www.google.com/search?sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8&q={searchTerms}</ScopeUrl> <ScopeKey>SearchProvider1</ScopeKey> </Scope> </SearchScopes> <DisableOOBAccelerators>true</DisableOOBAccelerators> <DisableFirstRunWizard>true</DisableFirstRunWizard> <EnableLinksBar>false</EnableLinksBar> <FilterLevel>High</FilterLevel> <Home_Page>www.google.es</Home_Page> <BlockPopups>yes</BlockPopups> <SuggestedSitesEnabled>false</SuggestedSitesEnabled> <PlaySound>false</PlaySound> <ShowInformationBar>true</ShowInformationBar> <UserAgent>UATEST</UserAgent> <ShowMenuBar>true</ShowMenuBar> <FavoritesDelete>true</FavoritesDelete> </component> <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"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path> <Description>SET %AppsRoot</Description> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>0c0a:0000040a</InputLocale> <SystemLocale>es-ES</SystemLocale> <UserLocale>es-ES</UserLocale> <UILanguage>es-ES</UILanguage> </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"> <TimeZone>Romance Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> </Display> <OOBE> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>bwByAGQAZQBuAGEAZABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <DisplayName>Usuario</DisplayName> <Name>Usuario</Name> <Group>Administrators</Group> </LocalAccount> </LocalAccounts> </UserAccounts> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> </component> <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"> <Reseal> <Mode>Audit</Mode> <ForceShutdownNow>false</ForceShutdownNow> </Reseal> </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> <settings pass="auditSystem"> <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> <Username>Administrator</Username> <Enabled>true</Enabled> <LogonCount>5</LogonCount> </AutoLogon> <TimeZone>Romance Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> </component> </settings> <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"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>4</Order> <Path>CMD /C %AppsRoot%\install\Adobe.Reader.9.3.3\Adobe.Reader.9.3.msi TRANSFORMS=%AppsRoot%\install\Adobe.Reader.9.3.3\Adobe.Reader.9.3.mst /qr /norestart</Path> <Description>Adobe Reader 9.3.3</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>20</Order> <Path>CMD /C %WINDIR%\system32\sysprep\sysprep.exe /generalize /oobe /reboot /Unattend:%AppsRoot%\Oobe.xml</Path> <Description>Reboot to Oobe</Description> <WillReboot>OnRequest</WillReboot> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>9</Order> <Path>CMD /C REGEDIT %AppsRoot%\Install\HKLM.re</Path> <Description>RegTweaks</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>12</Order> <Path>CMD /C REGEDIT %SystemDrive%\HKCU.reg"</Path> <Description>REgTweaks User</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>15</Order> <Path>CMD /C %AppsRoot%\Install\UltraIso.9.3.6.2750\Setup.exe /Silent</Path> <Description>UltraISO</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>CMD /C COPY /Y "%AppsRoot%\Install\HKCU.reg" "%SystemDrive%"</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <cpi:offlineImage cpi:source="wim:d:/windows%207/windows.sysprep/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Amd here is my Oobe.xml <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-Security-SPP-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </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"> <ComputerName>MiEQUIPO</ComputerName> <CopyProfile>true</CopyProfile> <TimeZone>Romance Standard Time</TimeZone> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>0c0a:0000040a</InputLocale> <SystemLocale>es-ES</SystemLocale> <UserLocale>es-ES</UserLocale> <UILanguage>es-ES</UILanguage> </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"> <TimeZone>Romance Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> </Display> <OOBE> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>bwByAGQAZQBuAGEAZABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <DisplayName>TeAm</DisplayName> <Name>TeAm</Name> <Group>Administrators</Group> </LocalAccount> </LocalAccounts> </UserAccounts> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> </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:d:/windows%207/windows.sysprep/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> And here are the regsitry tweaks i want to import Windows Registry Editor Version 5.00 ;---------------------------------------------------[ To Disable First Screen setup on windows 12 ]----------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences] "AcceptedEULA"=dword:00000001 "FirstTime"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer] "GroupPrivacyAcceptance"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\BrowserChoice] "Enable"=dword:00000000 "Shortcut"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update] "AUOptions"=dword:00000002 "ElevateNonAdmins"=dword:00000001 "NoAutoRebootWithLoggedOnUsers"=dword:00000001 ;----------------------------------[ Show Hidden Files and Extensions and Empty Drives ]--------------------------------------------------------------------------------------- [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000001 "HideFileExt"=dword:00000000 "HideDrivesWithNoMedia"=dword:00000000 ;----------------------------------[ Don't Group Similar Taskbar Buttons ]----------------------------------------------------------------------------------- [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "TaskbarGlomLevel"=dword:00000002 ;----------------------------------[ Don't Show Recent Elements For StartUp and Taskbar ]------------------------------------------------------------------------- [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Start_TrackDocs"=dword:00000000 ;-------------------------------[ Disable highlighting of new applications in start menu ]----------------------------------------------------------------- [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Start_NotifyNewApps"=dword:00000000
  9. I have been reading that injecting the drivers via dism increases the size of the image (it is no very important), the problem i have seen, after the system is installed, all the drivers are stored in the folder "C:\Windows\System32\DriverStore\FileRepository" regardless if they are needed or not, so it increases the size of the windows installed. Also i have been reading that installing drivers from dvd or usb flash media (any folder), do the same as it copies all the drivers founded in the path of drivers. I think the only method to add only the necessary drivers is via DPinst, so only the drivers needed are copied to the folder DriverStore.
  10. are you sure you have saved those tweaks in a file .reg and them execute them as administrator in a running windows, tehy work well. in an unattended windows, you can add a command (regedit /s %path%\file.reg) in the file setupcomplete.cmd, they will work well as those regsistry tweaks are for HKLM. anyway i attach you the .reg file AutoUpdate.reg
  11. You can´t use at the same the time the size and extend (true), use only one.
  12. There are the registry tweaks to apply the configuration you want. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update] "AUOptions"=dword:00000004 "IncludeRecommendedUpdates"=dword:00000001 "ElevateNonAdmins"=dword:00000001 "ScheduledInstallDay"=dword:00000000 "ScheduledInstallTime"=dword:00000006 "NoAutoUpdate"=dword:00000000 "AutoInstallMinorUpdates"=dword:00000000 "NoAutoRebootWithLoggedOnUsers"=dword:00000001 "AutoInstallMinorUpdates"=dword:00000000 "RebootRelaunchTimeout"=dword:00000030 "RebootRelaunchTimeoutEnabled"=dword:00000001
  13. I referred when you sysprep the image, it picks up one file for multiple computers. But if are you talking about network share i don´t know how to do it.
  14. The Sysprep pick up the file you put in the command /unattended:%path% and it must contain the copyprofile (True) in the pass specialized. if you want to pick up other file, you must change the path of the file.
  15. Sorry I don´t know if i am explaining well. I want to set some registry tweaks HKCU to all users. I have found some methods, but i decided to use the method described above: Run a script RunOnce per each user (the script contains the regedit of the tweaks). the method was successfull, but the only problem consist in the script it needs a permsission for the user to continue. i am wondering if is there a script to execute .reg file avoiding to click ok to continue? i have read for HKCU, normally don´t need any permission to continue but in my case, it needs the permission to all users i have tried. please if i can´t do what i want to do, is there another method to do the trick? Thanks, really i have read a lot of sites and i am very confusing to choose the suitable method. (i don´t know if the method i have chosen is the suitable) http://support.microsoft.com/kb/284193/ http://blogs.technet.com/b/deploymentguys/archive/2009/10/29/configuring-default-user-settings-full-update-for-windows-7-and-windows-server-2008-r2.aspx
  16. I have been reading in various sites but at this moment i have not found any script to do the trick: bypass UAC (without disabling UAC) when the file RegTweaks.cmd is executed. Please, is there someone who can help me? i am very confusing at this step
  17. After reading various posts, the way i have founded to apply the tweaks described above to all users, is to call a file via setupcomplete.cmd Here is my setupcomplete.cmd cmdow @ /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Instalando Aplicaciones" /f .......... REG ADD %KEY%\060 /VE /D "RegTweaks" /f REG ADD %KEY%\060 /V 1 /D "%AppsRoot%\Tweaks.cmd" /f Rundll32.exe iernonce.dll,RunOnceExProcess Exit Tweaks.cmd: @echo off cd\ Start /wait REG LOAD "HKU\Test" "C:\Users\Default\NTUSER.DAT" Start /wait REG ADD HKU\Test\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v Regtweak /t REG_EXPAND_SZ /d "%Windir%\Setup\Scripts\RegTweaks.cmd" Start /wait REG UNLOAD "HKU\Test" exit Regtweaks.cmd @echo off cd\ start /wait Regedit /S "%windir%\Setup\Scripts\RegTweaks.reg" exit The method was successfull, then i created a new account to try it in the new account and was well. The only problem i have found, the UAC prompt me "The registry editor needs your permission to continue", then i had to click ok in order to execute it. please is there a method to automate the executing of the file Regtweaks.cmd without user intervention? Or is there a batch file to run it as administrator? Thanks
  18. I have used the method described in the article: http://support.microsoft.com/?id=284193. but without successfull because when i create a new user, the tweaks are not applied to that new user, is there anyone who can help me please? Thanks
  19. Hi, i have made my unattended windows 7, now i want to try importing the registry tweaks and installing applications. As i have read in the forum: I have used setupcomplete.cmd to install the applications (2 app for testing) and the installation was ok. for importing the tweaks for hkcu i have used firstlogoncommands and also was ok, but the problem when i have created a new account those tweaks were not applied even if i have used copyprofile (true). Please is there a method to apply those tweaks HKCU to all users newly created? an example of the tweaks: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000000 ;----------------------------------[ Show Hidden Files and Extensions and Empty Drives ]----------------------------------- [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000001 "HideFileExt"=dword:00000000 "HideDrivesWithNoMedia"=dword:00000000 ;----------------------------------[ Don't Group Similar Taskbar Buttons ]------------------------------------------------- [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "TaskbarGlomLevel"=dword:00000002
  20. I have found the solution, the problem was i didn´t know how the script works. Then i see the script works as a right click on the item, i changed the words to spanish and it worked well. Thanks you very much @maxXPsoft for your help.
  21. I have used the command /generalize to copy all the setting to the default user, and the pass audit to install the applications, but viewing there are a lot of problems, i think i will install the applications via setupcomplete.cmd and i will read the manuals how to apply all the setting and the tweaks to the deaut user. do you think is best this idea? i will drop the pass audit and then drop also sysprep /generalize THanks for your help
  22. Is there anyone could help me please, I have repacked another unattended file with the same result (frustrating), the unique data does not ask for it is the name of the computer which is in the pass specialize, i think it seems when the installation arrives to the pass oobesystem it skip it because after the installation, always it asks me for all data which i have written in the pass oobesystem.
  23. I think i am missing installing some libraries or some programs of windows to execute it because i have tried it in a running windows in vmware (only windows 7 is installed). i have seen that no file .vbs of adding or unpin item is executed, or i am wrong? Thanks
  24. Hi i have read the manuals to make an unattended windows and all is well, but usually it appears the windows welcome although i have automating that oobe with the autounattend. i will explain you what i am doing, i have made the file autounattend.xml, inside this file i have put the component reseal in the pass oobesystem to boot to audit mode in order to install applications and to apply some tweaks. <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"> <Reseal> <Mode>Audit</Mode> </Reseal> </component> In the final of the RunSynchronousCommand, i have added this command to reboot to the oobe <RunSynchronousCommand wcm:action="add"> <Order>60</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /Unattend:%AppsRoot%\Answer.xml</Path> <Description>Reboot to Oobe</Description> </RunSynchronousCommand> the surprise for me was, usually it appears the windows welcome asking to enter all the data (inputlanguage...., useraccount,eula,..), although i have automated them in my answer.xml, here are both unattended xml files: Autounattend.xml: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <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>es-ES</UILanguage> </SetupUILanguage> <InputLocale>040a:0000040a</InputLocale> <SystemLocale>es-ES</SystemLocale> <UILanguage>es-ES</UILanguage> <UserLocale>es-ES</UserLocale> </component> <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"> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> </Display> <UserData> <ProductKey> <Key>xxxx-xxxx-xxxx-xxxx-xxxx</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>BBBBBBBB</FullName> <Organization>AAAAAAAA</Organization> </UserData> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows 7 ULTIMATE</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </OSImage> </ImageInstall> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Size>20000</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>2</Order> <Type>Extended</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Type>Logical</Type> <Order>3</Order> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Active>false</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>DATA</Label> <Letter>D</Letter> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> </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="b4e3a930" wcm:action="add"> <Path>%DriversRoot%\drivers</Path> </PathAndCredentials> </DriverPaths> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Security-SPP-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </component> <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"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>CMD /C "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path> <Description>Set %AppsRoot%</Description> </RunSynchronousCommand> </RunSynchronous> </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"> <ComputerName>MiEQUIPO</ComputerName> <CopyProfile>true</CopyProfile> <TimeZone>Romance Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <RegisteredOrganization>cccccccc</RegisteredOrganization> <RegisteredOwner>ccccccc</RegisteredOwner> </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> <Enabled>true</Enabled> <LogonCount>2</LogonCount> <Username>Administrator</Username> </AutoLogon> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> </Display> <OOBE> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <TimeZone>Romance Standard Time</TimeZone> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>bwByAGQAZQBuAGEAZABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Description></Description> <DisplayName>usuario</DisplayName> <Name>usuario</Name> <Group>Administrators</Group> </LocalAccount> </LocalAccounts> </UserAccounts> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <ShowWindowsLive>false</ShowWindowsLive> <RegisteredOrganization>cccccc</RegisteredOrganization> <RegisteredOwner>cccccc</RegisteredOwner> </component> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>040a:0000040a</InputLocale> <SystemLocale>es-ES</SystemLocale> <UILanguage>es-ES</UILanguage> <UserLocale>es-ES</UserLocale> </component> <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"> <Reseal> <Mode>Audit</Mode> </Reseal> </component> </settings> <settings pass="auditSystem"> <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> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> </component> </settings> <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"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>10</Order> <Path>CMD /C %AppsRoot%\install\Adobe.Reader.9.3.2\Adobe.Reader.9.3.msi TRANSFORMS=%AppsRoot%\install\Adobe.Reader.9.3.2\Adobe.Reader.9.3.mst /qr</Path> <Description>Adobe Reader 9.3.2</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>11</Order> <Path>CMD /C REGEDIT /S %AppsRoot%\install\Adobe.Reader.9.3.2\Reader.9.reg</Path> <Description>Registry Adobe Reader</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>60</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /Unattend:%AppsRoot%\Answer.xml</Path> <Description>Reboot to Oobe</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>5</Order> <Path>CMD /C %AppsRoot%\Install\Internet.Explorer.8.0\KB890830.exe /Q</Path> <Description>Internet 8 Security Patch</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>3</Order> <Path>CMD /C %AppsRoot%\Install\DPInstall\dpinst.exe /q /path %AppsRoot%\drivers</Path> <Description>Install Drivers</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>CMD /C DEL /Q /F "%Public%\Desktop\Selecci¢n del Explorador.lnk"</Path> <Description>Delete Browser Choice</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>2</Order> <Description>Registry Browser Choice</Description> <Path>CMD /C REGEDIT /S %AppsRoot%\install\Internet.Explorer.8.0\IE8.reg</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>43</Order> <Description>Import Registry Tweaks</Description> <Path>CMD /C REGEDIT /S %AppsRoot%\install\RegTweaks.reg</Path> </RunSynchronousCommand> </RunSynchronous> </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="catalog:d:/windows 7/windows 7 32 bits/sources/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Here is the answer.xml, i have created this other unattended file to use with sysprep, because in the manual, they tell the key and other setting are deleted after using /generalize <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <UserLocale>es-ES</UserLocale> <UILanguage>es-ES</UILanguage> <SystemLocale>es-ES</SystemLocale> <InputLocale>040a:0000040a</InputLocale> </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"> <OOBE> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <ShowWindowsLive>false</ShowWindowsLive> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>bwByAGQAZQBuAGEAZABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Name>usuario</Name> <Group>Administrators</Group> <DisplayName>usuario</DisplayName> </LocalAccount> </LocalAccounts> </UserAccounts> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> </Display> <TimeZone>Romance Standard Time</TimeZone> <AutoLogon> <Username>Administrator</Username> <LogonCount>2</LogonCount> <Enabled>true</Enabled> </AutoLogon> <RegisteredOrganization>ccccccc</RegisteredOrganization> <RegisteredOwner>ccccccc</RegisteredOwner> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> </component> </settings> <settings pass="specialize"> <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"> <ComputerName>MiEQUIPO</ComputerName> <CopyProfile>true</CopyProfile> <TimeZone>Romance Standard Time</TimeZone> <ProductKey>xxxxxxxxxxxxxxxxxxxxxxx</ProductKey> <RegisteredOrganization>ccccccccccccccccc</RegisteredOrganization> <RegisteredOwner>cccccccccccccc</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> </component> <component name="Microsoft-Windows-Security-SPP-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/windows 7/windows 7 32 bits/sources/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> The other surprise for me, i decided to enter manually the data in the windows welcome, to see in the system running if the tweaks i have applied are present or not, resulting all my tweaks have disappeared although i have applied copyprofile to true. Thanks. P.D: I have tried to enter manually the command via cmd resulting successfull. no windows welcome %WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /Unattend:%AppsRoot%\Answer.xml
  25. I'll go crazy, i have done what you told me but without success, i don´t see no notepad neither no explorer on the taskbar.
×
×
  • Create New...