DNS lookup issues

So you’re using the internet and sites are loading, speed tests are reporting the normal speed but still there’s something amiss; pages seem sluggish to respond.
Try

nslookup www.google.com

from the command line and see what happens.
If you get some timeouts then maybe your DNS servers are slow to respond. Try the same command but use different DNS values, for example Google’s:

nslookup www.google.com 8.8.8.8

is that slower or faster?
Just had the same issue and had to revert back to using the ISP’s DNS’s then I could change back to openDNS and all was fine, once again? Why? No idea, I’d already rebooted the router and PC before then.

A tale of two drives

So just happened to spot, when running HWiNFO64 to check motherboard version, that my 250GB Crucial MX500 is down to 8% life remaining! What? Couple of months of go when I was checking that value it had 28% life remaining, so all good and plenty of time to plan my next upgrade. Now I’m in panic mode and ordering a new 500GB Crucial MX500 for £43, which is a good price as the 250GB cost me £63 just over four years ago.

HWiNFO64 SMART status
SMART Status from HWiNFO64 v7.26

So what happened? Seems that the Crucial drives have a potential with many small packet writes, this may just be on the model made all those years ago and not on the current models, Crucial have always had a good reputation from reviews. So in the SMART details we can see it has written a lot of data, compared to the other MX500. The failing drive is my boot disk so has the pagefile, core programs (Anit-virus, VirtualBox, Browsers) and applications (Office, VLC, Notepad++) on it.while the other SSD, only a couple of months newer and running the same firmware version, has all the games, documents, photographs and BOINC application.

So the failure drive presumably has all the small packet writes (temporary files, browser cache & cookies, pagefile) while the still okay SSD has the larger writes (photographs, documents).

So just about to install the new 500GB Crucial MX500 replacement drive, and we’ll see how that goes over the coming month. After that the PC will probably be passed on as I should have my new one built and moved into the world of NVMe drives.

10-Sep-22:
Quick update to this. The machine, Treacle, has now been retired and relegated to a hardware test role, admittedly old hardware. The new Crucial MX500 drive is at 100% life remaining while the old 1TB MX500 has only 64% life remaining, so still pretty good.

So is it aceptable to sell an SSD that has only 8% life remaining? It will need a secure erase, which presumably will reduce that further, cue another addition to this post.

18-Nov-22:
The secure erase, three passes using “British HMG IS5” via Eraser an overnight job, didn’t reduce the disk life any. So I put the drive on eBay with full disclosure of the remaining drive life, including screen grabs from HWInfo SMART data, and a starting price of £3 + £3 p&p. One week later it sold for £26 inc p&p, when you can buy a brand new one for £38.08 inc p&p! The buyer, one of two bidding, was happy with the drive and condition. So why pay, what I consider, over the odds? Did they expect to be able to retrieve data from the drive? I have had a close friend, computer illiterate it now seems, sell a computer after physically destroying the drive only to be contacted by the buyer to say they have his personal data now (The buyer did send the drive back).

So is there a market in second hand drives purely for what data you can retrieve from them? I know it’s possible to get data from incorrectly erased drives, I’ve had to recover said data for friends in the past, so is that data of use to someone? You’d need some serious time and software to be able to make use of any account/password data on the drive.

Logging “Audit Success” in Windows Logs

I noticed, while reviewing my logs, that I still get masses of “Audit Success” entries in the Security logs. What I mean is 30+ entries every second, seems an insane number to me, even more so as they were all the 4799 event. I mean so a membership was successfully enumerated? Okay move on, but these entries were now in the tens of thousands.

Much hunting round and I found that since Windows 7, I think, logging of successful events is now on by default. So unless you find the process/Service ID GUID of the services triggering the event and turning them off individually or setting them to “Failure”, which would take weeks trying to remove them you’re stuck, well unless your knowledge of audit policy commands is very good.

So welcome to this Superuser.com article, or rather question and answer, to help you out.

https://superuser.com/questions/1516725/how-to-disable-windows-10-system-log

Sneak peak is to run this command: auditpol /set /subcategory:"Filtering Platform Connection" /success:disable /failure:enable
To disable successful Credential Manager reads, another frequently logged event, use:
auditpol /set /subcategory:"Credential Validation" /success:disable /failure:enable

The longer version is to read the article and find out how to remove other event types. Either way I’m now down to four or six “Audit Success” events being logged every couple of minutes, and those 4799 events that hid a load of other information are gone now. Woohoo

Remote Desktop – Custom screen size

Sometimes you don’t want to run an RDP session full screen but you do want to want to make use of the real estate more than the default RDP settings allow you to choose. Using the RDP panel you can only select set values from the slider control, there isn’t the ability to be fully flexible.

So you have to customise your RDP session but this time using notepad instead. Generally your RDP session will load its default values from the Default.rdp file, held in your “My Documents” folder. So edit this and change the following two lines to whatever value you want, from the 1920×1080 defaults, in my case.

desktopwidth:i:1600
desktopheight:i:1100

Cannot move Outlook items to offline folders?

Rules failing to run? No message other than cannot move to folder displayed?
Then, if it’s not a corrupt PST file, it could be down to a registry setting. After scanning and fixing up the PST files, using PSTSCAN, I still could move items to the offline folders. But the following allowed me to get back to working:

Open the Run window by clicking ‘Windows+R’ keys together, and then type regedit.
The Registry Editor window gets displayed.
Locate the ‘PSTDisableGrow’ registry key by browsing to the following location:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\PST
Right-click ‘PSTDisableGrow’, and click Edit.
In the Edit DWORD (32-bit) Value box, replace the Value data 1 to 0, and then click OK.

Display not keeping up with the keyboard in MS Word?

So you’re typing away in Word, when you notice that the display hasn’t refreshed! But now you’ve stopped typing and you can see the sentence unfold infront of your eyes! What gives?

I’m not sure what causes the issue to occur in the first place at all, I’ve now had it happen twice. But the fix is relatively straight forward, if time consuming, especially if you have a slow internet connection I’m afraid.

Fire up the Windows Control Panel App and go the Programs section. From there click on the Programs and Features link and it should now display all the software installed on your PC. Scroll down to the office program, “Microsoft Office Professional Plus 2019”, in my case, and click on it. The menu should now show the three options: Organise, Uninstall and Change, it’s this last we want. Click on that and go for the “Online Repair” option and then click the “Repair” button, eventually it will come back and say it’s finished. And so far, well two out of two times, it’s fixed the lagging display issue.

Running a command as Admin

Or how to run a command with elevated privileges on Windows.

Tried to run a chkdsk this morning via a Windows account that wasn’t in the Administrators group and found out that I couldn’t do so. This was when I chanced, by searching t’internet, upon the Control (Ctrl), Shift and Enter magic key combination, never heard of this! Using these keys, instead of just Enter, runs the selected command with Admin privileges, fab!

Windows 10 restarts after shutdown

Currently have an issue where most of the time shutting down the PC just performs a restart, annoying to say the least, been going on since late 2018.
I’m currently trying out this solution to see if it can be resolved.

6-Dec-19: A couple of test shutdowns later and it seems to be working, one to monitor.

Remote Desktop: Map a local drive on the remote host

If you repeatedly use a Remote Desktop session and that session needs access to files on the machine you’re connecting from then you’d normally set up a network drive, possibly mapped as follows:

net use z: \\yourmachine\c$ /persistent:Yes

But, depending on how Draconian your network security is then mapping folders on user machines may actually be blocked. Strange one as this ability is mostly essential when working on a remote machine, especially if a developer. Fortunately you can map using the built in sharing of RDP. Same format as earlier just the machine name changes and effectively becomes a constant, so the mapping is now:

net use z: \\tsclient\c /persistent:Yes

And job done, until the next group policy is introduced blocking that…