从UFD启动仍然表示为“可移动”UFD。 [英] A booted-from UFD is still indicated as "removable"

查看:90
本文介绍了从UFD启动仍然表示为“可移动”UFD。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

 

我们正在使用UFD启动WES7。 在使用带有imagex.exe的WIM后,有时(并非总是),UFD在启动后将被检测为可移动。

We are using a UFD to boot WES7.  Sometimes (not always) after applying a WIM with imagex.exe, the UFD will be detected as removable after it is booted from.

我看到一些帖子表明USB Boot会标记磁盘已修复(特定于WES7:http://social.msdn.microsoft.com/Forums/en/quebeceefs/thread/269a0773-f8d5-4668-bf69-0ef16ebb3c08和WinXPe http://social.msdn.microsoft.com / forums / zh-cn / embeddedwindowsmisc / thread / 879A9ADB-0262-4F3F-83A7-1B5711048938)。

I have seen a couple posts indicating that USB Boot will mark the disk as fixed (WES7 specific: http://social.msdn.microsoft.com/Forums/en/quebeceefs/thread/269a0773-f8d5-4668-bf69-0ef16ebb3c08 and WinXPe http://social.msdn.microsoft.com/forums/en-us/embeddedwindowsmisc/thread/879A9ADB-0262-4F3F-83A7-1B5711048938).

在此"可移动位"的几个实例中,重新启动一秒后时间,UFD被标记为固定类型。 那就是:

In a couple of instances of this "removable bit", after rebooting a second time, the UFD gets marked as fixed-type.  That is:

1-启动WinPE(UFD是可移动的 - 这是可以理解的)

1- Boot WinPE (UFD is removable - this is understood)

2- Imagex到应用WIM的UFD。

2- Imagex to the UFD applying a WIM.

3-重新启动系统,使其从UFD启动。

3- Reboot the system, so it boots off of the UFD.

4- UFD有时标记为可移动(尽管操作系统始终加载)

4- UFD is sometimes marked removable (though the OS always loads)

5-第二次重启。 有时,UFD会被标记为已修复但有时可移除位仍然存在。

5- Reboot a 2nd time.  Sometimes, UFD will get marked fixed but other times the removable-bit persists.

 

在我们的情况下,首选行为是一直将其标记为已固定,同时被"启动"。

In our case, the preferred behavior would be to consistently have it marked Fixed while being "booted off of".

 

感谢您的帮助,

mike

推荐答案

嗨Mike,

您遇到的情况是USB驱动程序可以告诉Windows它已修复的时间与能够确定是否应该修复的时间之间的竞争条件。 不幸的是,当告诉操作系统驱动器是系统驱动器时,它仍然无法确定它是否是系统驱动器。 安装意识到这个问题并且可以处理它,但不能在磁盘成像时进行处理。 这将在第二次重新启动时自行修正,因为它会缓存状态。

What you're experiencing is a race condition between when the USB driver can tell Windows it's fixed versus when it's able to find out if it should be fixed.  Unfortunately, when it's time to tell the OS that the drive is the system drive, it is still unable to determine whether it is the system drive.  Installation is aware of this problem and can deal with it, but not when the disk is imaged.  This will correct itself on the second reboot as it caches the state.

好消息是您可以预先缓存此状态。 对驱动器进行映像后,但在启动之前,请更新注册表项。 我这样做的方法是删除驱动器并将其放入开发计算机。 使用RegEdit,将
挂载到系统配置单元(\ windows \ system32 \\\ system)并浏览到HKLM \ _Sys \ControlSet001 \Control \Class \ {36FC ..... ..0000}。

The good news is that you can pre-cache this state.  Once you've imaged the drive but before you boot from it, update a Registry key.  The way I do this is by removing the drive and putting it into a development computer.  Using RegEdit, mount the System hive (\windows\system32\config\system) and browse to HKLM\_sys\ControlSet001\Control\Class\{36FC.......0000}.

可能有许多子键,您只需要在其中一个子键中添加一个条目。 寻找包含InfPath = usbstor.inf的那个。 在该键中添加NonRemovable(REG_DWORD)= 1.

There may be many sub keys and you need to add an entry into only one of them.  Look for the one that contains InfPath=usbstor.inf.  In that key add NonRemovable (REG_DWORD) = 1.

从那里,卸载配置单元并从该驱动器重新启动。 这应该解决它,但不管怎样,请告诉我们。

From there, unmount the hive and reboot from that drive.  That should fix it, but either way, please let us know.

Brendan


这篇关于从UFD启动仍然表示为“可移动”UFD。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆