CN105389495A - Method for externally resetting password of windows virtual machine - Google Patents
Method for externally resetting password of windows virtual machine Download PDFInfo
- Publication number
- CN105389495A CN105389495A CN201510745582.0A CN201510745582A CN105389495A CN 105389495 A CN105389495 A CN 105389495A CN 201510745582 A CN201510745582 A CN 201510745582A CN 105389495 A CN105389495 A CN 105389495A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- windows
- password
- resets
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2131—Lost password, e.g. recovery of lost or forgotten passwords
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Storage Device Security (AREA)
Abstract
The present invention relates to the technical field of cloud computing, and particularly relates to a method for externally resetting a password of a windows virtual machine. The method comprises: firstly, entering a background directory of a host machine where the Windows virtual machine is positioned; then mounting files of a C disk of the virtual machine to a mnt directory; next, entering a mounting directory, replacing a sam file in a WINDOWS/repair file with a WINDOWS/system32/config/SAM file; and finally, rebooting the virtual machine, and completing resetting the password of the virtual machine. According to the method, a third party tool does not need to be installed and the method is simple and fast; the method has universality and can be used for a Windows operating system; personal data of users in an original operating system cannot be damaged; and the method can be used for resetting the password of the windows virtual machine.
Description
Technical field
The present invention relates to field of cloud computer technology, refer to that a kind of outside resets the method for windows virtual machine password especially.
Background technology
Under cloud computing environment, virtual machine is widely used, and the maintenance requirement for virtual machine is more and more higher, owing to forgetting Password for client, needing to reset Windows virtual machine password is the difficult problem that O&M often runs into, and generally runs into this situation, has following solution:
1, third party's instrument is adopted to crack virtual machine password, as carry WinPE.
2, refitting VME operating system.
There is following drawback in said method:
1, adopt third party's instrument to crack virtual machine password, operate cumbersome, the time is relatively more of a specified duration, there is not versatility;
2, VME operating system of resetting can cause user data loss, inadvisable.
Summary of the invention
The technical matters that the present invention solves is to provide a kind of outside to reset the method for windows virtual machine password, solve the deficiency that classic method exists, without the need to installing third party's instrument, simple and fast, there is versatility, can use for Windows operating system, not damage original operating system users personal data, for cloud platform O&M provides a kind of practicable solution.
The present invention solves the problem, and comprises the following steps:
Described method comprises the steps:
Step 1: enter Windows virtual machine place host catalogue;
Step 2: by virtual machine C dish file mount to mnt catalogue;
Step 3: enter mount directory, replaces WINDOWS/system32/config/SAM file by sam file under WINDOWS/repair/ file;
Step 4: restart virtual machine, completes virtual machine password and resets.
Described host, refers to the physical node creating virtual machine place.
Described sam file, be the account database of windows, the relevant informations such as the login name of all users and password are all preserved in this document.
Described mnt is the abbreviation of mount, the catalogue of mounting CD-ROM drive, USB device, block device, after loading, can have more the catalogue of relevant device in mnt.
Described replacement, refers to and Windows virtual machine password is become empty.
Method of the present invention is without the need to installing third party's instrument, simple and fast; There is versatility, can use for Windows operating system; Do not damage original operating system users personal data.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is process flow diagram of the present invention.
Embodiment
Embodiments of the present invention have multiple, and will be that example illustrates wherein a kind of implementation method based on KVM virtualization implementation here, as shown in Figure 1, specific implementation process be as follows for process flow diagram
1, Windows virtual machine place host catalogue is entered
#cd/instances/work/admin/i-A1D93C99/
2, by virtual machine C dish file mount to mnt catalogue
#/opt/qemu1.2/bin/qemu-nbd-c/dev/nbd0emi-507A3AF8_snap.qcow2
#ntfs-3g/dev/nbd0p1/mnt/i-A1D93C99/ // attention, if windows2008 and win7 operating system, nbd0p1 will make nbd0p2 into
#cd/mnt/i-A1D93C99/|ll
3, enter mount directory, sam file under WINDOWS/repair/ file is replaced WINDOWS/system32/config/SAM file
#cpWINDOWS/repair/samcp/mnt/WINDOWS/system32/config/SAM//attention copy past is capitalization
4, restart virtual machine, complete virtual machine password and reset
#virshcreatelibvirt.xml。
Claims (7)
1. the outside method resetting windows virtual machine password, is characterized in that: described method comprises the steps:
Step 1: enter Windows virtual machine place host catalogue;
Step 2: by virtual machine C dish file mount to mnt catalogue;
Step 3: enter mount directory, replaces WINDOWS/system32/config/SAM file by sam file under WINDOWS/repair/ file;
Step 4: restart virtual machine, completes virtual machine password and resets.
2. a kind of outside according to claim 1 resets the method for windows virtual machine password, it is characterized in that: described host, refers to the physical node creating virtual machine place.
3. a kind of outside according to claim 1 resets the method for windows virtual machine password, it is characterized in that: described sam file, be the account database of windows, the relevant informations such as the login name of all users and password are all preserved in this document.
4. a kind of outside according to claim 2 resets the method for windows virtual machine password, it is characterized in that: described sam file, be the account database of windows, the relevant informations such as the login name of all users and password are all preserved in this document.
5. a kind of outside according to any one of Claims 1-4 resets the method for windows virtual machine password, it is characterized in that: described mnt is the abbreviation of mount, the catalogue of mounting CD-ROM drive, USB device, block device, after loading, can have more the catalogue of relevant device in mnt.
6. a kind of outside according to any one of Claims 1-4 resets the method for windows virtual machine password, it is characterized in that: described replacement, refers to and Windows virtual machine password is become empty.
7. a kind of outside according to claim 5 resets the method for windows virtual machine password, it is characterized in that: described replacement, refers to and Windows virtual machine password is become empty.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510745582.0A CN105389495A (en) | 2015-11-03 | 2015-11-03 | Method for externally resetting password of windows virtual machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510745582.0A CN105389495A (en) | 2015-11-03 | 2015-11-03 | Method for externally resetting password of windows virtual machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105389495A true CN105389495A (en) | 2016-03-09 |
Family
ID=55421772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510745582.0A Pending CN105389495A (en) | 2015-11-03 | 2015-11-03 | Method for externally resetting password of windows virtual machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105389495A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829490A (en) * | 2018-04-13 | 2018-11-16 | 广东睿江云计算股份有限公司 | A kind of method of cloud platform resetting KVM virtualization platform Linux virtual machine password |
CN110471744A (en) * | 2019-08-20 | 2019-11-19 | 北京首都在线科技股份有限公司 | Password amending method, device, equipment and computer readable storage medium |
CN114553462A (en) * | 2021-12-28 | 2022-05-27 | 中国电信股份有限公司 | Cloud host password resetting method, platform system, equipment system and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7841000B2 (en) * | 2006-10-16 | 2010-11-23 | Lenovo (Singapore) Pte. Ltd. | Authentication password storage method and generation method, user authentication method, and computer |
CN102289513A (en) * | 2011-09-05 | 2011-12-21 | 盛乐信息技术(上海)有限公司 | Method and system for obtaining internal files of virtual machine |
CN102662783A (en) * | 2012-03-20 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for repairing virtual machine under desktop cloud environment |
-
2015
- 2015-11-03 CN CN201510745582.0A patent/CN105389495A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7841000B2 (en) * | 2006-10-16 | 2010-11-23 | Lenovo (Singapore) Pte. Ltd. | Authentication password storage method and generation method, user authentication method, and computer |
CN102289513A (en) * | 2011-09-05 | 2011-12-21 | 盛乐信息技术(上海)有限公司 | Method and system for obtaining internal files of virtual machine |
CN102662783A (en) * | 2012-03-20 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for repairing virtual machine under desktop cloud environment |
Non-Patent Citations (2)
Title |
---|
MASTER: "如何挂载QCOW2格式的镜像文件", 《笑遍世界 HTTP://SMILEJAY.COM/2012/11/HOW-TO-MOUNT-A-QCOW2-IMAGE/》 * |
龙城孤客: "虚拟机Windows 2003忘记密码怎么办", 《挑灯看剑 HTTP://TECNOLOGY.BLOG.51CTO.COM/347573/1193725》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829490A (en) * | 2018-04-13 | 2018-11-16 | 广东睿江云计算股份有限公司 | A kind of method of cloud platform resetting KVM virtualization platform Linux virtual machine password |
CN110471744A (en) * | 2019-08-20 | 2019-11-19 | 北京首都在线科技股份有限公司 | Password amending method, device, equipment and computer readable storage medium |
CN110471744B (en) * | 2019-08-20 | 2021-11-30 | 北京首都在线科技股份有限公司 | Password modification method, device, equipment and computer readable storage medium |
CN114553462A (en) * | 2021-12-28 | 2022-05-27 | 中国电信股份有限公司 | Cloud host password resetting method, platform system, equipment system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9304752B2 (en) | Software deployment in a distributed virtual machine environment | |
US9542406B1 (en) | Verifying data consistency | |
US10146556B2 (en) | System and method to perform an OS boot using service location protocol and launching OS using a dynamic update of network boot order without a reboot | |
JP6516730B2 (en) | Method and apparatus for backing up and restoring applications | |
US10061665B2 (en) | Preserving management services with self-contained metadata through the disaster recovery life cycle | |
US10394588B2 (en) | Self-terminating or self-shelving virtual machines and workloads | |
US11797313B2 (en) | Method for securely configuring an information system | |
CN105260217A (en) | Method of password external reset of linux virtual machine | |
CN110244963B (en) | Data updating method and device and terminal equipment | |
CN103747095A (en) | Virtual desktop system and method | |
US10169027B2 (en) | Upgrade of an operating system of a virtual machine | |
CN105389495A (en) | Method for externally resetting password of windows virtual machine | |
CN110752968B (en) | Performance benchmark test method and device, electronic equipment and storage medium | |
US10536407B1 (en) | Converting shared files to message attachments | |
WO2017020460A1 (en) | Method and apparatus for integrating plugin | |
US10268466B2 (en) | Software installer with built-in hypervisor | |
US20170185444A1 (en) | System for batch processing of workflows for virtualized infrastructure | |
CN104778048A (en) | Method and device for installing and setting up server web environment on the basis of Linux system | |
US20180189088A1 (en) | Attaching a pluggable agent to a virtual machine (vm) in a networked computing environment | |
US11314555B2 (en) | Synchronous re-execution of a data transformation operation to obtain further details regarding an exception | |
US9515879B2 (en) | Establishing an action list for reconfiguration of a remote hardware system | |
US9800647B1 (en) | Systems and methods for provisioning computing systems with applications | |
US20160020963A1 (en) | Consolidating Cross Product Contextual Help | |
US9916148B2 (en) | System for managing software package configuration | |
US11340682B1 (en) | System and method of configuring power settings of an information handling system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160309 |