Jump to content

esgaroth

Member
  • Posts

    18
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by esgaroth

  1. I don't intend to be booting up these machines after running sysprep. I'm only doing so now to test the end user out of box experience. As it is now the customer would have to enter the product key. I don't expect that any of them would see that screen and have any idea what to do. I figured that most documentation would be here or on technet but I may contact our Microsoft rep as well if need be.
  2. Well that sounds like what I would like to happen. Although every time I try windows asks me for the product key after running sysprep /oobe /shutdown What type of licenses are you deploying? Just normal oem home/pro? I assume you are entering the activation product code during the final audit mode just before the last sysprep?
  3. Hmm, from my testing, I install windows 7 from the dvd or our deployment server and then enter audit mode and activate. Then reseal with sysprep.exe /oobe /shutdown. Upon starting up windows will ask me for a product key. Do you have nothing in your unattend.xml to retain the product key? Do you use /generalize with sysprep before sending to the customer?
  4. We are a small oem installing windows 7 and windows 8 on our desktop systems for our customers. We are using WDS and/or MDT to deploy our images to the system. After deployment to the target system I would like to be able to enter audit mode for final customization and software installations and then activate windows before resealing for the customer. Now the question of how to preserve activation while resealing with sysprep has come up many times. I should be able to enter the key into the unattend.xml file and set SkipRearm to 1 in the appropriate sections. Although I haven't gotten this to work yet I am left with another concern. This is a very manual step in an otherwise rather automatic solution. The unattend.xml file would have to be manually edited to enter the key. Manual steps are easily forgotten. Also most of our techs who are doing the actual deployment know little about sysprep. I need to keep this process as automated as possible. Does any one have another method that does not involve manually editing the unattend.xml file for each deployment?
  5. I just found this in microsofts documentation: "An x64-based Unified Extensible Firmware Interface (UEFI) computer can boot only by using x64 Windows PE boot files. This differs from BIOS. In BIOS, an x64-based computer can boot by using x86 Windows PE boot files. " So I guess this really does only work on atom cpu's, an x64 WinPE is still required for UEFI boot on x64 cpu's.
  6. I say some computers in the sense that they fail differently, but they all fail to boot. These are brand new computers so I wouldn't expect the UEFI to be that old. I have already read through each of those threads, I have yet to find anyone indicate that it has actually worked for them. My x64 PE boots in UEFI mode just fine. Only the x86 PE fails.
  7. I was under the impression that WinPE 4.0 x86 was capable of UEFI boot. I have so far been unable to get it to work. I have a x64 WinPE that boots fine with UEFI but the x86 version does not. Some computers will not recognize the usb drive or a cd as a bootable device if it has the x86 version on it. Some will attempt to boot but then fail with a message about winload.efi being corrupt. I know there is a minimum version of UEFI that will boot to x86 WinPE but these are all new computers and should meet that requirement. Updating the bios has not helped. I have secure boot turned off for now. Has anyone else successfully booted a x86 WinPE 4.0 with UEFI turned on? Is there any documentation somewhere that indicates this does not work?
  8. ah, that was it. I thought I had already overwritten taskmgr.exe. I am now thinking that the problem with the taskbar probably has nothing to do with running services under either user account. We can run explorer.exe as system using psexec while logged into the current users account in under a normal windows 8 install. This should mean there is no change in running services or processes. Here are procmon logs both taken in a windows 8 rtm install showing what explorer does when started by a regular user and as system user. The second is considerably shorter. https://dl.dropbox.com/u/10327232/ExplorerAsNormalUser.PML https://dl.dropbox.com/u/10327232/explorerAsSystemUser.PML
  9. I tried copying all of the files you suggested but it didn't make a difference. What about registry? There are many more services running in pe but they would not show in the task manager at first. I am not sure which files I copied to get it to show the full list.
  10. Hello Meyer, How did you get taskmanager to use the new windows 8 layout? As you can see from my screen shots it will only run with the old layout. Do you have a list of files and or registry keys that you have copied so far? And for the taskbar problem, maybe a comparison of running services and processes when explorer is run from the system user account as opposed to a normal user account would give us a clue.
  11. I started working on this again recently and was able to make a small bit of progress. I can get dwm to run in pe. Only required the direct3d/directdraw registry keys from HKLM/Software/Microsoft. Taskbar still does not work though. With dwm running windows now have the windows 8 theme to them. The folder view and task manager don't have the new windows 8 skins though so something still isnt loading.
  12. Thats what I thought about dwm.exe not working in PE. I thought that maybe dwm.exe would have to be loaded with the windows 8 theme working in order for explorer to work since there is no other theme to fall back on. But in the last screenshot the theme is working so dwm.exe must be running yet explorer still does not work correctly. If I try to run task manager or any other exe I get "The device is not ready." So I can't check to see what is running and what is not.
  13. Yes, like I explained in the first post. The taskbar is visible but open applications do not show up there. The desktop is also blank, no icons are shown. Here is a screenshot of what happens to a normal windows 8 rtm install if SystemSetupInProgress is set to 1. Very similar to how the taskbar behaves in winpe 4.0.
  14. Looks like the problem definitely has to do with the HKLM\System\Setup\SystemSetupInProgress registry key. Setting it to 1 in a normal windows environment reproduces the problems with explorer. Looks like both dwm.exe and explorer.exe check the value of SystemSetupInProgress when starting up. I tried patching the string in the exe but it looks like both dwm.exe and explorer.exe get that value from some other loaded dll or exe. So its starting to look like Microsoft may have deliberately prevented explorer from running in winpe this time around.
  15. Since most of the classic theme and shell code has been removed from windows 8; I wonder if this is just a matter of getting themes and the desktop window manager running in PE. I have gotten the theme service to run, but the desktop window manager is no longer a service as it was in windows 7. dwm.exe is spawned by winlogon.exe during startup. If I add dwm.exe to my wim file with no other changes then it boots to a black screen with no command prompt. So winlogon.exe must be automatically starting dwm.exe if it exists. I don't know if the black screen is the system locking up or if it just isn't able to display anything properly. I tried copying dwm.exe after booting the PE and running it manually, but it just exits after a couple of seconds. I have found that the taskbar and desktop are at least somewhat usable. If you right click the desktop and select refresh then the icons will show up. I can also right click on the task bar and add toolbars. The toolbar shortcuts function properly. Running applications still do not show on the taskbar,
  16. Windows 7 explorer in pe4 looks interesting, I might try that. Kullenen, I have read through your winpe 3.0 thread and it has been very helpfull, do you have any suspicion of what might be missing? I'm sure I will probably have to wait for someone more knowledgeable than I to figure this out, but I may try a bit more nonetheless. I have noticed that comparing logs from procmon that explorer behaves differently. Under PE explorer starts loading registry settings first then starts loading files. In windows explorer checks a bunch of files first before checking the same registry settings. Also under PE explorer keeps looking in X:\Windows for dll files before it finds them in System32. In windows explorer always looks in System32 first. I doubt this matters as the files are eventually loaded in either case.
  17. I have been experimenting with making a WinPE 4 and I am trying to get explorer.exe to run. I know windows 8 has not been finalized and things might change in the final version but I just wanted to experiment with it a bit and see if I can get it to work. So far I can run explorer from the command window and it starts but the desktop and taskbar are not working correctly. Both the desktop and taskbar are blank. I can right click on the taskbar and start task manager but no icons are created on the task bar to show running programs. I can right click on the desktop and select create new folder but nothing appears on the desktop. A new folder is created at X:\windows\system32\config\systemprofile\desktop, its just not visible on the desktop. I can also right click and select personalize and the control panel will open. Here is what I have done so far to get explorer working: After mounting the winpe.wim, I used dependancy walker to get a list of all files needed by explorer.exe. Copied all of these files into the mounted wim without overwriting any existing files. Copied folders: Windows\en-us System32\en-us System32\migration Windows\Branding WinSxS\common-controls WinSxS\gdiplus All .cpl, .exe, and .msc files from system32. I have exported from the install.wim registry hives: Software\Classes Software\Microsoft\Windows\CurrentVersion\Explorer Software\Microsoft\Windows NT\CurrentVersion\Winlogon Software\Microsoft\Internet Explorer Default\Software\Microsoft\Windows\CurrentVersion\Explorer Set System\ControlSet001\Control\ProductOptions\ProductSuite=Terminal Server I have also tried importing the entire Software key from install.wim. I have replaced all “C:\” with “X:\” and all “43,00,3a,00,5c,00” with “58,00,3a,00,5c,00” Removed all references to "RunAs"="Interactive User" I also tried copying all dll files from install.wim system32 without overwriting anything. These are about the steps that have worked for passed versions of windows so I don't know yet what might be different for windows 8. Any other files I should add? Services maybe? Any registry changes I should make?
  18. I have a script using subinacl and robocopy to take ownership of files and copy them to another location. This usually works fine except when the current owner of the file is not known. Should subinacl have any problems setting ownership in this case? Here is the script I am using: subinacl /errorlog=error.log /subdirectories "%SOURCE%/*.*" setowner="Administrators" grant=Administrators=F robocopy "%SOURCE%" "%DEST%" /copyall /zb /w:0 /r:10 /a-:sh /s /xd "temporary internet files" /xf *.dll *.sys *.ocx
×
×
  • Create New...