This is how to delete the #Microsoft #Windows 10 Paging File on every shut down

Introduction:- A simple tweak of the Windows 10 Registry file can eliminate one often overlooked security concern.

Survey after survey tells us that IT professionals and decision-making executives all over the world who work in enterprises of all sizes are most often concerned about security and protecting data. Whether it is enacting draconian access authentication procedures, deploying extraordinary efforts to close security vulnerabilities, or implementing unproven artificial intelligence (AI) systems, those IT pros say something must be done to protect the huge amount of data generated by modern businesses.

One often overlooked potential security vulnerability, albeit a small one, is the existence of the Microsoft Windows 10 paging file on just about every PC in an enterprise. Typically, the paging file (pagefile.sys) takes up space on your primary hard drive and acts as a form of virtual memory for the operating system, freeing up the physical RAM for higher priority applications, drivers, files, etc. Unless you change it, the Windows 10 paging file remains on your hard drive even after shutting down.

This how-to tutorial shows you how to tweak the Windows 10 Registry file to force the deletion of pagefile.sys every time you shut down your computer, thereby removing any potential security vulnerabilities. With this method, the next time you start your Windows 10 computer, the paging file will be recreated with new data.

Disclaimer: Editing the Windows Registry file is a serious undertaking. A corrupted Windows Registry file could render your computer inoperable, requiring a reinstallation of the Windows 10 operating system and potential loss of data. Back up the Windows 10 Registry file and create a valid restore point before you proceed.

Edit Registry file to delete Windows 10 paging file on shut down

To see what your current paging file settings are, open File Explorer and right-click Computer. Select Properties and then click on Advanced system settings, as shown in Figure A.

Click the Settings button under the Performance section and then click the Advanced tab. You should see a screen similar to Figure B. Your current settings for the Windows 10 paging file will be displayed under the Virtual Memory section. In the example, the paging file is currently set to be about 16GB. Click OK a couple of times to close those screens.

Start the Registry file tweaking process by typing "regedit" into the Cortana search box on the Windows 10 desktop. Click the entry in the search results that refer to the Registry Editor program (regedit.exe). With the app open, navigate to this specific key (Figure C):

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

In the right-hand window, double-click the ClearPageFileAtShutdown key and change the current default value from zero ("0") to "1", as shown in Figure D.

From this point on, until you change it back to zero ("0"), the paging file will be completely deleted on shut down and then restarted fresh each time you start Windows 10.

For more, please follow me here or on Twitter @johnniefellix

要查看或添加评论,请登录

John Felix Odhiambo的更多文章

社区洞察

其他会员也浏览了