Jump to content

maxXPsoft

Developer
  • Posts

    3,080
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by maxXPsoft

  1. CDROM variable used same way Post 102 Course can change to whatever like %USBkey%
  2. SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "RunOnceEx - Testing Applications" /f REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f REM Extract WindowsXPMode_en-us.exe" and run msiexec /i REG ADD %KEY%\1001 /VE /D "Windows XP Mode" /f REG ADD %KEY%\1001 /V 101 /D "CMD /C Start /Wait msiexec /I D:\APPS\MS_Windows_XP_Mode\xpminstl64.msi /qn /norestart" /f REG ADD %KEY%\1001 /V 102 /D "CMD /C Start /Wait D:\APPS\MS_Windows_XP_Mode\Windows6.1-KB958559-x64-RefreshPkg.msu /quiet /norestart" /f You will still have to start it and set it up. Mine is on another drive so it is easier to just point there cause it is setup. Just logon yes XP was easier but this is nothing once you play with it awhile
  3. I just taskkill /IM sysprep when entering Audit because I found sometimes it would just come up and be just a window sitting there. Then my sysprep command line wouldn't work is that in your xml? Then just place taskkill in a command right before
  4. If ComputerName is set to an asterisk (*) or is an empty string, a random computer name will be generated. This random name has at most eight characters from the RegisteredOwner and/or RegisteredOrganization strings plus random characters. <ComputerName>*</ComputerName> otherwise you would have to run a script during specialize to name it Something like this IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" SET CompName=*_amd64 ECHO "%CompName%" WMIC ComputerSystem where Name="COMPUTER-NAME" call Rename Name="%CompName%"
  5. Index : 3 Name : Windows 7 PROFESSIONAL Index : 4 Name : Windows 7 ULTIMATE Yes you can use Index. Far as naming the computers you could just add both the processorArchitecture="x86" and processorArchitecture="amd64" stuff also in xml and name it that way. <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>32bitPC</ComputerName> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" 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>64bitPC</ComputerName>
  6. ; 6/28/12 Fix minor issue with Shell\.Wim\command found by myselfidem Download .wimrightclick - Install.zip here
  7. Updated today After reading the MS webpage again I just added the command key because of this. Add the Command subkey, and a value: HKEY_CLASSES_ROOT txtile shell test.verb Command
  8. by just adding .Wim\command even if blank it don't remove? Strange I'll look at this
  9. Mine are also 996kb and that is not big these day's yep we all test different things to gain knowledge. You can mount the wim and replace those files with ones from system on non OEM or even OEM and proper key and it will auto activate. I have experimented and done that. Remember with XP you couldn't call in but like 7 times I think it was. I buy OEM for that reason, Auto activation.
  10. With OEM and a later model PC with Slic 2.1 bios then all is needed is the correct product key from installed OS NOT the one on the bottom or back Compare them and see if they are different add to a file called DigitalProductId.vbs. Set WshShell = CreateObject("WScript.Shell") MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) Function ConvertToKey(Key) Const KeyOffset = 52 i = 28 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 x = 14 Do Cur = Cur * 256 Cur = Key(x + KeyOffset) + Cur Key(x + KeyOffset) = (Cur \ 24) And 255 Cur = Cur Mod 24 x = x -1 Loop While x >= 0 i = i -1 KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput If (((29 - i) Mod 6) = 0) And (i <> -1) Then i = i -1 KeyOutput = "-" & KeyOutput End If Loop While i >= 0 ConvertToKey = KeyOutput End Function
  11. @SmokingRope Usually when I go into audit I shutdown sysprep first off CMD /C taskkill /IM sysprep.exe and call it later with command like yours Are you running something prior to set your %DVDRoot% variable? @TheWalrus You mean these? I apply at Firstlogoncommands so that after generalizing registry removed. use the autoit script below
  12. from the website http://rufus.akeo.ie/
  13. yes In XP it was easy parse all the inf's in the inf folder and you can see what it added to reg and files. Win 7 is totally different. To see all the features/packages/drivers might be easier to take a look at this here. You have to mount the install.wim of your OS choice and then use the features/packages/drivers to desktop ? about that reply there then it will inform me
  14. Thats exactly what it is but to complete it and remove the junk Files folder from the wim using imagex then you do this at the end imagex.exe /export D:\uaDVD\sources\install.wim * D:\uaDVD\sources\installnew.wim /check /compress maximum Then delete install.wim and rename installnew.wim
  15. Might be last version here Update - v2.00 RC1.01 but there was 1 after
  16. you don't have <UserAccounts> in xml Are you using the built in Admin or create a user. Example here
  17. Try this @Echo Off Title Installing Windows Updates For %%F In (MSU\*.msu) Do Call :msin %%F For %%A In (CAB\*.cab) Do Call :kbin %%A REM Shutdown.exe -r -t 1 Exit :msin Start /Wait %1 /quiet /norestart :kbin Start /Wait pkgmgr /ip /m:%1 /quiet /norestart GoTo :EOF Exit
  18. FirstLogonCommands run right before GUI loads so it would be a good place to do things you was asking like If you have a password set and it stops on that screen setupcomplete.cmd run's right before that, FirstLogonCommands run after you type password. It works without password also only telling you where they fire off <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Password Expires False</Description> <CommandLine>cmd /C wmic useraccount where "name='MYUSERNAME'" set PasswordExpires=FALSE</CommandLine> </SynchronousCommand> </FirstLogonCommands> Theres also $OEM$\$$\setup\scripts\oobe.cmd which if prersent executes auto @echo off start /w regedit /s %systemroot%\setup\scripts\OEMInformation.reg del /F /Q %systemroot%\setup\scripts\OEMInformation.reg call %systemroot%\setup\scripts\slp.cmd del /F /Q %systemroot%\setup\scripts\slp.cmd :Cleanup del /F /Q %systemroot%\setup\scripts\oobe.cmd How to create $OEM$
  19. Win 8 looks to be a I'll pass like Vista turned out to be. none of my money invested there and certainly won't be buying this junk either. Oh where oh where are thee Sir Bill G, come back, you left idiots in charge
  20. You feelin bad or something Yzöwl cause I didn't see none of that in his things. He just repairs and builds PC's as I only do part time and they are generally XP or Win 7 He just trying to automate things a little. People get their selves in trouble and if I have to I format and reinstall and generally I will install a free MSE cause it simply works on both and I know what to tell them if they call. They want to change it they more than welcome and I'll help them best I can with what they prefer but most PC user's don't understand Anykey. 40% of them will ask me to tell them how to change their startup to Facebook since it's going thing or either they know how. The rest don't care I used to install Firefox on them and recommend they use that over IE because it's safer but 90% won't. They want to use what they know here in the US (IE) and feel ok with I guess. I use Maxthon now Installing Flash is a no brainer, most the short movies are flash like on youtube and instead of waisting time walking some of these people through that I install it also for each browser i put in. I'll also put on Adobe Reader so they can read the pdf's and I don't waste my time telling them what to do if they have to install it. IMHO: These forums are bare these day's and sending people off is not a good thing And only IE I save this whole page to .mht, such a good thing. Only browser will @wazer I finally worked out my SetACL where I can change the settings in the protected registry key's so now I can install silent and run it and set the key's back to where they should be. SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "RunOnceEx - Testing Applications" /f REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f REG ADD %KEY%\1001 /VE /D "Microsoft Security Essentials x64" /f REG ADD %KEY%\1001 /V 101 /D "CMD /C Start /Wait D:\APPS\MS_SecurityEssentials_x64\mseinstall.exe /s /runwgacheck" /f REG ADD %KEY%\1001 /V 102 /D "CMD /C Start /Wait D:\APPS\MS_SecurityEssentials_x64\SecurityEssentials64.cmd" /f
  21. yep forgot about the /s /runwgacheck. I generally run through it to set my settings like scan daily and time since reg key has permissions on it
  22. Yzöwl good grief nothing wrong with that every dang OEM on this earth plants a bunch of garbage pointing to their websites. I've been in all of them. Adding MSE is better than all the other garbage OEM do, 60 day trial's XP is a little old and uses stuff unlike Win 7. With 7 you can add an xml and even add your webpage to it. You would want to call the bat in OOBEsystem most likely since mse can't install silently you must have it up and running and click through the dialogues. Examples here Read this earlier but was working on something else and would have to think of best way in XP
  23. then you're not gonna like that they added the imagex functions into dism for win 8
  24. No need for WAIK. f you are running Win 7 then this is all that is needed to mount boot.wim
×
×
  • Create New...