Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Sell your Land, House on idamata.lk for FREE
sajith.xp.pk
Updated:
Thursday at 9:03 AM
Handmade Character Soft Toys
anil1961
Updated:
Tuesday at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Problems and Troubleshooting
Windows show no history items
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="SAN_APIIT" data-source="post: 366568" data-attributes="member: 22533"><p><strong>Solution</strong></p><p></p><p>Open notepad and copy paste the following text in to it... (don't copy the "==" lines ok, just the text between them)</p><p></p><p>=======================================</p><p></p><p>' Disables/Enables Recent Docs History</p><p></p><p></p><p>Option Explicit</p><p></p><p></p><p>Dim WSHShell, n, MyBox, p, p1, p2, t, mustboot, errnum, vers</p><p>Dim enab, disab, jobfunc, itemtype</p><p></p><p>Set WSHShell = WScript.CreateObject("WScript.Shell")</p><p>p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\"</p><p>p = p & "NoRecentDocsHistory"</p><p>itemtype = "REG_DWORD"</p><p>mustboot = "Log off and back on, or restart your pc to" & vbCR & "effect the changes"</p><p>enab = "ENABLED"</p><p>disab = "DISABLED"</p><p>jobfunc = "Recent Docs History is now "</p><p></p><p></p><p>t = "Confirmation"</p><p>Err.Clear</p><p>On Error Resume Next</p><p>n = WSHShell.RegRead (p)</p><p>On Error Goto 0</p><p>errnum = Err.Number</p><p></p><p>if errnum <> 0 then</p><p> WSHShell.RegWrite p, 0, itemtype</p><p>End If</p><p></p><p></p><p>If n = 0 Then</p><p> n = 1</p><p>WSHShell.RegWrite p, n, itemtype</p><p>Mybox = MsgBox(jobfunc & disab & vbCR & mustboot, 4096, t)</p><p>ElseIf n = 1 then</p><p> n = 0</p><p>WSHShell.RegWrite p, n, itemtype</p><p>Mybox = MsgBox(jobfunc & enab & vbCR & mustboot, 4096, t)</p><p>End If</p><p></p><p>==============================</p><p></p><p>Save as any name.vbs</p><p>and run it, i think it will do the job. <img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /> </p><p></p><p>--Good luck--</p></blockquote><p></p>
[QUOTE="SAN_APIIT, post: 366568, member: 22533"] [b]Solution[/b] Open notepad and copy paste the following text in to it... (don't copy the "==" lines ok, just the text between them) ======================================= ' Disables/Enables Recent Docs History Option Explicit Dim WSHShell, n, MyBox, p, p1, p2, t, mustboot, errnum, vers Dim enab, disab, jobfunc, itemtype Set WSHShell = WScript.CreateObject("WScript.Shell") p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\" p = p & "NoRecentDocsHistory" itemtype = "REG_DWORD" mustboot = "Log off and back on, or restart your pc to" & vbCR & "effect the changes" enab = "ENABLED" disab = "DISABLED" jobfunc = "Recent Docs History is now " t = "Confirmation" Err.Clear On Error Resume Next n = WSHShell.RegRead (p) On Error Goto 0 errnum = Err.Number if errnum <> 0 then WSHShell.RegWrite p, 0, itemtype End If If n = 0 Then n = 1 WSHShell.RegWrite p, n, itemtype Mybox = MsgBox(jobfunc & disab & vbCR & mustboot, 4096, t) ElseIf n = 1 then n = 0 WSHShell.RegWrite p, n, itemtype Mybox = MsgBox(jobfunc & enab & vbCR & mustboot, 4096, t) End If ============================== Save as any name.vbs and run it, i think it will do the job. :lol: --Good luck-- [/QUOTE]
Insert quotes…
Verification
Asuwa dahayen wadi kalama keeyada?
Post reply
Top
Bottom