diff --git a/dll/win32/shell32/dialogs/drvdefext.cpp b/dll/win32/shell32/dialogs/drvdefext.cpp index ef4c2c6b7cf..09e17965830 100644 --- a/dll/win32/shell32/dialogs/drvdefext.cpp +++ b/dll/win32/shell32/dialogs/drvdefext.cpp @@ -648,12 +648,15 @@ CDrvDefExt::AddPages(LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam) pfnAddPage(hPage, lParam); } - hPage = SH_CreatePropertySheetPage(IDD_DRIVE_HARDWARE, - HardwarePageProc, - (LPARAM)this, - NULL); - if (hPage) - pfnAddPage(hPage, lParam); + if (GetDriveTypeW(m_wszDrive) != DRIVE_REMOTE) + { + hPage = SH_CreatePropertySheetPage(IDD_DRIVE_HARDWARE, + HardwarePageProc, + (LPARAM)this, + NULL); + if (hPage) + pfnAddPage(hPage, lParam); + } return S_OK; }