当前位置:网站首页>Error 0xc0000013, 0xc000007b, etc. due to the conflict between the CD-ROM drive letter and the drive letter in the business program path
Error 0xc0000013, 0xc000007b, etc. due to the conflict between the CD-ROM drive letter and the drive letter in the business program path
2022-06-24 05:17:00 【shawyang】
problem : Use the custom image to change the drive letter to F 了 , But creating cvm The CD-ROM drive letter will appear F Turn into D The situation of , And report an error exception processing message 0xc0000013
Report errors exception processing message oxc0000013 The cause of has been found out , Do not occupy the CD-ROM drive D and E, If you occupy it, you will report the above mistakes , Because my system disk has a program pointing to D Plate and E Disk some paths , Even if the drive letter is D or E, But the path pointed to by the program does not exist in the CD-ROM drive , If the path cannot be found, an error will be reported
How to explain the CD-ROM drive letter from F become D?
The original machine for creating custom images is the model A, The model is used when creating a new machine with a custom image B, After model change , The hardware identification will be like the public image , The CD-ROM drive will start from D Drive letter reassignment loading , This is a cloudbase-init An implicit logic of
To ensure the uniformity of the CD-ROM drive letter , It is recommended to explicitly specify the CD-ROM drive letter through the code in the user-defined data part when creating the machine , For example, in the following code Z:
<powershell>
get-date -format HH:mm:ss:fffffff >> C:\aaa.txt;
Set-ExecutionPolicy Unrestricted -force
Get-WmiObject -Class Win32_volume -Filter 'DriveType=5' |Set-WmiInstance -Arguments @{DriveLetter='Z:'} 2>&1 >> C:\aaa.txt;
get-date -format HH:mm:ss:fffffff >> C:\aaa.txt;
exit
</powershell>
How to make the CD-ROM drive of the machine bought by the user-defined image not occupy the drive letter ( That is, the CD-ROM drive cannot be seen by the resource manager 、 But the disk manager can see an optical drive device without a drive letter )?
Open disk manager , Delete the CD-ROM drive letter as shown in the figure below
notes : Deleting the CD-ROM drive letter affects the console's ability to reset the password
About cloudbase-init Other instructions for :
1、 Make sure cloudbase-init The operating mode of is local system account
If the arrow points to .\cloudbase-init May trigger some bug
2、 If you do not need an optical drive letter , Do not disable the optical drive from the device manager , Delete the drive letter from the disk manager , After deleting the drive letter, the CD-ROM drive will not be visible in the resource manager , But deleting the CD-ROM drive letter will affect the console's ability to reset the password , If deleted , Remember your password , The reset password can only be set inside the system
3、 It is not recommended to uninstall cloudbase-init, Because network initialization 、hostname initialization 、UserData Custom data, etc. need it
4、cloudbase-init By default the hostname Change to Intranet IP Underline form , If not hostname By cloudbase-init change , Want to keep hostname, The following configurations shall be made in advance
C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf
Delete section of this document 11 In the line cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin
Or unload cloudbase-init, But there is no cloudbase-init Words , Console reset password function 、 When creating the machine UserData The function will not work
边栏推荐
- Leetcode question brushing (question 3) - the longest substring without repeated characters
- Analysis on the subjective enthusiasm of post-90s makers' Education
- CTF learning notes 18:iwesec file upload vulnerability-03-content-type filtering bypass
- TDP members have made their debut!
- Open source and SaaS, how to choose software?
- Intensive learning and application of "glory of the king" to complete the application of 7 real worlds other than human players
- PHP key() function
- [Tencent cloud] buy a cloud server, participate in a gift lottery, and give you an iPad worth 8000 yuan, Bose earphones, and a thousand yuan JD card!
- What is the implementation of domain name to IP address conversion? What are the benefits of switching to a website?
- Svg quick start small white article
猜你喜欢

Analyzing the superiority of humanoid robot in the post human era

CTF learning notes 17:iwesec file upload vulnerability-02 file name filtering bypass

014_ TimePicker time selector

Analysis on the subjective enthusiasm of post-90s makers' Education
![[leetcode daily question] push domino](/img/81/1c31e97d9a245816514bcf47c92107.jpg)
[leetcode daily question] push domino

Hard core observation 553 AI needs to identify almost everyone in the world with hundreds of billions of photos

Leetcode question brushing (question 3) - the longest substring without repeated characters

CTF learning notes 18:iwesec file upload vulnerability-03-content-type filtering bypass

How does win10 turn off f1~f12 shortcut keys?

011_ Cascader cascade selector
随机推荐
How to apply for domain name space? Will it be difficult to apply for domain name space?
Oceanus practice - use of the Nepal graph connector in the graph database
Elfk service setup
What is the difference between a traditional data center and a cloud computing data center?
Intensive learning and application of "glory of the king" to complete the application of 7 real worlds other than human players
Tencent conference rest API x-tc-registered parameter policy update notification
Before creating an image, it is recommended to execute the following code to purify the image as an administrator
Medical industry EDI overview
The principle of defer keyword in go
Why do hybrid clouds exist?
Shuttle global levitation button
How novices choose ECs and how to judge the quality of ECS
Automatically convert local pictures to network pictures when writing articles
Many regulations come into effect today! The main responsibility of network security will be further implemented
Svg quick start small white article
Tencent cloud installs Kedao cloud - build an exclusive private cloud disk
What are the disadvantages of the free IP address replacement tool?
Build personal leanote cloud notebook with Tencent cloud lightweight application server
What are the functions and advantages of the Internet of things cloud platform?
SUSE system cannot install cosfs solution