It shows how to clear Document history automatically on Logoff using registry
Keywords: regedit, registry, Logon.
Steps to display a text notice before logon
Step 1: Click Start button and type regedit in RUN option and continue.
Step 2: Then locate: HKEY_Current_User \ SOFTWARE \ \ Windows \ CurrentVersion \Policies\Explorer
Step 3: Right click on the right side panel and create a new DWORD Value with the name ClearRecentDocsOnExit and then set its value to 1
Step 4: Now restart your system for the changes to take place.