# Prepare Guest VM for Application-Consistent Backup

This article is intended for the cases:

* Guest virtual machine with external security (e.g., Windows Home Edition 7/10)
* Reduced security management tools

#### Check If Guest Network is Reachable From Machine With Installed Backup for Windows

To do this, proceed as follows:

1. Start cmd and run the following command:

```bash
ping "guest_ip" -4
```

2. Connect to guest \guest\_ip\C$ share from hyper-v / wmware agent host with guest admin credentials"
3. Make sure if remote WMIis working. To do this, proceed as follows:

Start **PowerShell.exe** on the computer Backup for Windows is installed and run the next commands:

```bash
$Computer = "172.24.158.136"
```

```bash
$cred = Get-Credential
```

```bash
Get-WmiObject -Namespace "root\cimv2" -Class Win32_Process -Impersonation 3 -Credential $cred -ComputerName $Computer |select OSName, ClassPath  -First 1
```

If everything is correct, no action needed, the following layout is displayed

![](https://help.msp360.com/content/images/prepare_vm_79.png)

If there are issues, the folloiwng layout is displayed and issues are subject to remove.

![](https://help.msp360.com/content/images/prepare_vm_2_79.png)

#### Detect the Guest Machine Network IP Address

On the guest machine console, start Explorer, navigate to a Network node, right-click and select **Properties**.

![](https://help.msp360.com/content/images/prepare_vm_3_79.png)

In the **Network and Sharing Center**, click **Change adapter settings**, select the network adapter points to the internal Hyper-V host network (or external network if applicable), right-click and select **Status**, then select **Details** in the status window, then write down/remember IPv4 address of the guest machine, you will need it later.

![](https://help.msp360.com/content/images/prepare_vm_4_79.png)

#### Create User With Admin Role for App-aware Related Tasks

1. Click **Start** and start typing "users" in the search field, then select **Add, edit or remove other users** option in system settings.

![](https://help.msp360.com/content/images/prepare_vm_5_79.png)

2. In the **Accounts -> Other users**, select **Add someone else to this PC** section.

![](https://help.msp360.com/content/images/prepare_vm_6_79.png)

3. Proceed with the wizard, select **I don't have this person's sign-in information**.

![](https://help.msp360.com/content/images/prepare_vm_7_79.png)

4. Select **Add a user without a Microsoft account**.

![](https://help.msp360.com/content/images/prepare_vm_8_79.png)

5. Fill out the **Create a user for for this PC** form. Complete user creation.

![](https://help.msp360.com/content/images/prepare_vm_9_79.png)

Note that an absolute path to a script is required, i.e. if you specify the path to a script, it must be as follows:

c:\scripts\prebackup-script.bat In case the absolute path to a script file is not specified, the default directory for the script is "C:\Windows\System32"
