Paging file and disk errors on Windows 10 Enterprise for Virtual Desktops

Boozer, Brad 1 Reputation point
2021-01-24T00:30:50.073+00:00

I have 2 different Azure WVD servers. Currently, every time a user logs in, they receive a warning "Windows created a temporary paging file on your computer...". I have not been able to resolve, and have let it go for a few months, until one of the disks failed and I had to restore the machine from backup. So I have declared a CC for maintenance and tried running a basic repair on the disk (Window error checking tool). It says there are error, and says it will need to reboot to resolve (of course). However, every time I run it, it come back up in about 5 minutes an still give the paging file errors. Run error checking again and it still says there are errors.

I am a little gun shy as the disk is so large it took 6+ hours to restore from backup last time.

For background, when it failed, it was unresponsive to RDP, and I couldn't access it via share or psexec. I rebooted it and it came back. I investigated and it appeared to be a driver update failure. I manually ran updates and decided to increase the paging file in an attempt to get rid of the error. After reboot, it never came back. Screenshot showed it stuck waiting for manual input for keyboard type. While I did restore it from backup, I also took a snapshot and attached it to another machine to boot it in Hyper-V. There were errors and after several hours it did repair that disk, but I did not use it as the restore came up before it was finished and production had already started for the day.

Any thoughts would be appreciated.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,992 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,573 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Andrew Eckrich 16 Reputation points
    2021-01-24T00:37:22.2+00:00

    That is a easy fix,simply R.click on my computer/properties/advance/virtual memory tab/advanced/change button.With C: highlited,set to: Let system manage,click set 2X,exit,restart pc.This works for any storage drive,once enabled in: diskmgmt.msc
    https://learn.microsoft.com/en-us/windows-server/administration/performance-tuning/subsystem/cache-memory-management/troubleshoot

    https://learn.microsoft.com/en-us/windows-server/storage/disk-management/troubleshooting-disk-management

    check out the Microsoft links above for more help...


  2. Boozer, Brad 1 Reputation point
    2021-01-24T19:51:21.117+00:00

    OK, so thought I replied once, here I go again.

    So not that easy. As I stated this is an Azure VM. The disk has 2 partitions with the secondary (d:) set as temp space. Primary (c:) has no pagefile, it is set to system managed on the secondary. This is default for all Azure VMs. My disk errors occur on the primary partition, yet never actually get resolved (according to the OS). The page file error is an annoyance and may or may not be part of the issue, but I wanted to include everything occurring with the VM.

    0 comments No comments

  3. TravisCragg-MSFT 5,681 Reputation points Microsoft Employee
    2021-01-28T01:51:12.003+00:00

    Typically this error occurs when the paging file is set to a different drive than the D:/ drive (the temp drive in Azure). Make sure that your paging file is system managed, and that you are not mapping the temp drive to a different drive than the D:/ drive.

    If your settings are system managed and you can see and use the temp drive without issue, your next best bet is to open a support request for someone to look further into the issue. A misconfiguration should not cause the boot failure / OS crash.

    Because this was happening for both VMs, a misconfiguration is likely.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.