Jump to content

quantumriff

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About quantumriff

quantumriff's Achievements

0

Reputation

  1. I actually have the WIM sitting on a network share. (I have about 20 different folders). I moved it to C, to make sure it wasn't a network or permission error. I am running the command prompt as administrator. I have also tried forcing the permissions, and taking ownership of both the WIM and the MountDir. Also, these are "custom" wim files. I am trying to mount them under Windows 7 X64, with the Windows 7 AIK. These Wim's were taken after Sysprep was applied, and before it rebooted into sysprep, if it makes a difference. (correction) it also fails to mount install.wim from my Deployment share. (from the Windows 7 DVD)
  2. Dism Error 1920 I am trying to mount a WIM file using the windows 7 WAIK, installed on 64-Bit Windows 7. Every time, no matter the WIM, it gets to 6% done, and then gives me an "error: 1920 The file cannot be accessed by the system" C:\Program Files\Windows AIK\Tools\PETools>dism /mount-wim /mountdir:c:\mount /w imfile:c:\1004T400-win7.wim /index:2 Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Mounting image [=== 6.0% ] Error: 1920 The file cannot be accessed by the system. The DISM log file can be found at C:\windows\Logs\DISM\dism.log I have uninstalled MDT2010, and the WAIK, and Microsoft Forefront. I then Re-installed the WAIK. I get the same error. It kind of sits there for 20 seconds or so, then slowly creeps up to 6%, then gives me that error above. It happens both when the WimFile is on the LocalC drive, and the Network drive. I have tried several WIM's. I am not seeing much on google for this error message. Also, in the log file below, I don't have the folder d:\w7rtm\base\ntsetup referenced below in some of the errors on my computer. Not sure where that came from. dism.log 2010-08-06 15:19:32, Info DISM PID=5156 Scratch directory set to 'D:\Users\us30337\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir 2010-08-06 15:19:32, Info DISM PID=5156 Successfully loaded the ImageSession at "C:\Program Files\Windows AIK\Tools\AMD64\Servicing" - CDISMManager::LoadImageSession 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM Manager: PID=5156 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM.EXE: 2010-08-06 15:19:32, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2010-08-06 15:19:32, Info DISM DISM.EXE: 2010-08-06 15:19:32, Info DISM DISM.EXE: Host machine information: OS Version=6.1.7600, Running architecture=amd64, Number of processors=2 2010-08-06 15:19:32, Info DISM DISM.EXE: Executing command line: dism /mount-wim /mountdir:c:\mount /wimfile:c:\1004T400-win7.wim /index:2 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\WimProvider.dll - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2010-08-06 15:19:32, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table. 2010-08-06 15:19:32, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager 2010-08-06 15:19:32, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager. 2010-08-06 15:19:32, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager 2010-08-06 15:19:32, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider 2010-08-06 15:19:32, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager 2010-08-06 15:19:32, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager. 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Getting Provider WimManager - CDISMProviderStore::GetProvider 2010-08-06 15:19:32, Info DISM DISM Provider Store: PID=5156 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2010-08-06 15:22:57, Error DISM DISM WIM Provider: PID=5156 Failed to mount the image. - CWimImageInfo::Mount(hr:0x80070780) 2010-08-06 15:22:57, Error DISM DISM WIM Provider: PID=5156 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:999 - CWimManager::InternalOpMount(hr:0x80070780) 2010-08-06 15:22:57, Error DISM DISM WIM Provider: PID=5156 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2247 - CWimManager::InternalCmdMount(hr:0x80070780) 2010-08-06 15:22:57, Error DISM DISM WIM Provider: PID=5156 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070780) 2010-08-06 15:22:57, Error DISM DISM WIM Provider: PID=5156 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0x80070780) 2010-08-06 15:22:57, Info DISM DISM.EXE: Image session has been closed. Reboot required=no. 2010-08-06 15:22:57, Info DISM DISM.EXE: 2010-08-06 15:22:57, Info DISM DISM.EXE: <----- Ending Dism.exe session -----> 2010-08-06 15:22:57, Info DISM DISM.EXE: 2010-08-06 15:22:57, Info DISM DISM Image Session: PID=5156 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect 2010-08-06 15:22:57, Info DISM DISM Provider Store: PID=5156 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider 2010-08-06 15:22:57, Info DISM DISM Provider Store: PID=5156 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider 2010-08-06 15:22:57, Info DISM DISM Provider Store: PID=5156 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2010-08-06 15:22:57, Info DISM DISM Provider Store: PID=5156 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider 2010-08-06 15:22:57, Info DISM DISM Provider Store: PID=5156 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
  3. have you tried: "wpeutil DisableFirewall" I had several problems in WinPE 3.0, until I found that the firewall is enabled by default. I put that line in my startnet.cmd
  4. After a bit of reading, and lots and lots of tinkering, came up with this solution, in case anyone is interested. Instead of another wim file, which wasn't wanting to work well anyways, I am just re-using the current files for the USB drive, so its not using any more space on the drive. Now, I'm looking to see if I can somehow, inside WinPE, open the c:\sources\boot.wim file that I copy to the C drive, and remove some Company Specific stuff From My batch file.. ( I have left out some stuff, like menu's and company stuff, etc...) REM Figure out which "drive" the USB drive or CD is assigned. set CustFileName=bootmgr if exist c:\%CustFileName% set driveLtr=c:\ if exist d:\%CustFileName% set driveLtr=d:\ if exist e:\%CustFileName% set driveLtr=e:\ if exist f:\%CustFileName% set driveLtr=f:\ if exist g:\%CustFileName% set driveLtr=g:\ if exist h:\%CustFileName% set driveLtr=h:\ if exist x:\%CustFileName% set driveLtr=x:\ REM Wipe and format the drive echo This can take quite some time. echo started at: Time /t %SystemRoot%\System32\diskpart.exe /s erasescript.txt echo Ended at: Time /t REM Copy files and directories from the USB drive REM I have lots of other crap on my USB drive (portatech, etc), so I don't just copy the whole drive.. xcopy %driveLtr%boot\*.* c:\Boot\ /e/h/f xcopy %driveLtr%EFI\*.* c:\EFI\ /e/h/f xcopy %driveLtr%Servicing\*.* c:\Servicing\ /e/h/f xcopy %driveLtr%sources\*.* c:\sources\ /e/h/f copy /y %driveLtr%bootmgr c:\ REM Reboot %SystemRoot%\System32\wpeutil reboot [/font] *************** EraseScript.txt has: select disk 0 clean all create partition primary SIZE=2048 select partition 1 active format quick fs=Fat32 assign letter=C exit ***************
  5. As part of our lease agreement, all machines returned to the manufacturer need to "boot". they don't specify what they have to boot, just that they can boot up, to make sure we're not shipping back dead systems. I am trying to build some automated steps using WinPE 3.0, to prepare the machines to be returned. 1. Diskpart, with a Clean ALL to wipe drive 2. Create a partition 3. Drop Dos, FreeDos, or WinPE onto the system so it boots. Step 3 is giving me some trouble, I can't seem to use Imagex to lay down DOS on a partition. I am now looking for the smallest possible WIM file I can load onto a USB drive, to load onto a system. For Simplicity sake, i need to basically embed this wim, inside the boot.wim that I would be using on the boot devices. That makes it difficult to use smaller USB drives. Does anyone have a link to a very small WIM file that is free to use, or can tell me how to cut a WinPE 3 file WAY down (under 50MB would be preferred.) so that I can fit my entire setup onto a 256MB drive? (we have some other tools we run in WinPE as well that take up space)
  6. Is there a way to tell where WinPE was launched from? We currently use a Batch file to do our imaging inside WinPe, and boot from either a USB flash drive, or a CD. However, we have a customization file that sits at the root of the drive (in the case of the USB flash drive) that allows you to set certain configuration settings, such as your default server, and stuff.. However, to find the file currently, in our batch file, we do somthing like this: :LoadCustSettings if exist c:\%CustFileName% set CustLoc=c:\%CustFileName% if exist d:\%CustFileName% set CustLoc=d:\%CustFileName% if exist e:\%CustFileName% set CustLoc=e:\%CustFileName% if exist f:\%CustFileName% set CustLoc=f:\%CustFileName% if exist g:\%CustFileName% set CustLoc=g:\%CustFileName% if exist h:\%CustFileName% set CustLoc=h:\%CustFileName% if exist x:\%CustFileName% set CustLoc=x:\%CustFileName% That is rather in-efficient. Is there a way for Windows PE to know which drive it was booted from, such as an evironment variable? %SystemDrive% will point to the X: drive, but we don't want to inject this config file into the WIM file. We want to be able update it when needed, from inside Windows PE.
×
×
  • Create New...