• Home
  • Linux
  • Docker
  • Windows
    • PS
    • C#
    • Exchange Server
  • Other
    • Perl
    • IPV6
    • MacOS
  • DB
    • MSSQL
    • MariaDB
    • PG

Home

Fix heavy memory usage in ReFS

Details
Written by: po3dno
Category: Windows
Created: 28 October 2022
Hits: 651

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -PropertyType DWord -Name RefsEnableLargeWorkingSetTrim -Value 1 

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -PropertyType DWord -Name RefsNumberOfChunksToTrim -Value 32 

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -PropertyType DWord -Name RefsEnableInlineTrim -Value 1

https://learn.microsoft.com/en-us/troubleshoot/windows-server/backup-and-storage/fix-heavy-memory-usage-refs

 

fsutil behavior set disableDeleteNotify refs 1

Networking does not work

Details
Written by: po3dno
Category: Windows
Created: 10 August 2022
Hits: 660

If Windows 11 setup is stuck due to lack of network connection:

  1. Press Shift + F10 to launch Command Prompt.
  2. Type in OOBE\BYPASSNRO and press Enter.
  3. Your VM should reboot and at the setup screen you should see an option for “I don’t have internet.”
  4. Once Windows setup is completed, make sure to install the SPICE guest tools for network drivers.

This PC can’t run Windows 11

Details
Written by: po3dno
Category: Windows
Created: 10 August 2022
Hits: 674

If you get this message trying to install Windows 11, you can bypass it with the following steps:

  1. Press Shift+F10 to open Command Prompt and type in regedit.exe to launch Registry Editor.
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\Setup
  3. Right click on the Setup key on the left size and choose New -> Key.
  4. Create a key (Раздел) named LabConfig
  5. Select the LabConfig key.
  6. Create two new values: Choose New -> DWORD (32-bit) and create BypassTPMCheck and BypassSecureBootCheck. Set both values to 1.
  7. Close out of Registry Editor and Command Prompt.
  8. In setup, press the back button and then Next to continue installation.

Pending Reboot Flags are in the Registry

Details
Written by: po3dno
Category: Windows
Created: 09 August 2022
Hits: 709

A pending reboot is defined in many places. Scroll right to see the values and conditions. A Windows computer is pending a reboot if any of the conditions in this table are true.

Key Value Condition
HKLM:\SOFTWARE\Microsoft\Updates UpdateExeVolatile Value is anything other than 0
HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager PendingFileRenameOperations value exists
HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager PendingFileRenameOperations2 value exists
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired NA key exists
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\Pending NA Any GUID subkeys exist
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\PostRebootReporting NA key exists
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce DVDRebootSignal value exists
HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending NA key exists
HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootInProgress NA key exists
HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackagesPending NA key exists
HKLM:\SOFTWARE\Microsoft\ServerManager\CurrentRebootAttempts NA key exists
HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon JoinDomain value exists
HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon AvoidSpnSet value exists
HKLM:\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName ComputerName Value ComputerName in HKLM:\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName is different

Resetting the Windows Search per-user index

Details
Written by: po3dno
Category: Windows
Created: 12 May 2022
Hits: 791

Single-user and multi-users OSs:

 

  • In the latest Windows code, set the following location in the registry to 0

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Search\SetupCompletedSuccessfully(DWord)

    Doing so will trigger Windows Search Indexer to cleanup obsolete artifacts and rebuild a new user catalog for the particular user. On the latest Windows releases (expected on 1809 and above, but subject to change) that has this feature, the registry key above is set to 1 after a catalog is successfully created. An absence of this registry key may indicate that the Windows version is older and lacks this newer feature.

  • If this key is missing, then it may still be possible to trigger a rebuild by deleting the following folder: C:\Users\<Username>\AppData\Roaming\Microsoft\Search\Data\Applications

     

NOTE: It is intended, but not yet validated, to keep the SetupCompletedSuccessfully registry key value change (as noted above) to serve this particular purpose for future versions. However, please note that the steps above are for troubleshooting/debugging purposes only (especially the second option for legacy behavior). We reserve the right to change this behavior at any time as necessary.

 

Note: for database size the following as values to use for estimates. Significant deviation from these values will typically be something to investigate.

  • Usually, 10-20K per indexed item would be estimated for database size.
  • For Outlook only data, use the higher side (20k) since they are pure text rich content

https://techcommunity.microsoft.com/t5/fslogix-blog/resetting-the-windows-search-per-user-index/ba-p/3354386

 

  1. Manually Clearing the ConflictAndDeleted Folder in DFSR
  2. Poor Network Performance on Hyper-V VMs
  3. The Dock will stop moving
  4. Windows 11, taskbar corner overflow, show all tray icons

Subcategories

Power Shell Article Count:  53

C# Article Count:  10

Perl Article Count:  1

Exchange Server Article Count:  15

Other Article Count:  24

MSSQL Article Count:  17

Windows Article Count:  26

MariaDB Article Count:  3

Linux Article Count:  9

Docker Article Count:  3

pg Article Count:  2

Page 9 of 32

  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13

Login Form

  • Forgot your password?
  • Forgot your username?

Statistics

  • Users 2
  • Articles 178
  • Articles View Hits 176237