in reply to Re: How to flush Windows registry cachein thread How to flush Windows registry cache
$Environment->Flush; [download]