Monday, October 17, 2016

java.net.SocketException: Connection reset

This exception can have many causes and tracking them down is not easy but the one I experienced was that I was trying to connect to an HTTPS port with a HTTP connection (HttpURLConnection).

Wednesday, June 01, 2016

Access Denied on Windows File on External Drive

Windows 10.

This is no recipe but you can try this:
  1. Open: Properties -> Security -> Advanced
  2. Change Owner to Everyone. How to do that depends on the type of user you are.
  3. Now in the security tab, select Everyone on Group or User Names.
  4. The Edit button on change permissions should be enabled.
  5. Select Full Control and save.

Friday, May 13, 2016

Using Google as the Default Search Engine for Thunderbird

Since v13, Thunderbird uses Bing as its default search engine and Google is not even a choice.
If you want to use Google you can do it installing an add-on:
  1. Open "Add-ons" from the "tools" menu;
  2. Search for "google"
  3. Install "Google Search for Thunderbird"and restart.
  4. Google should have been automatically selected as the default search engine now!

Thunderbird 45 Create New Message: default style is Paragraph instead of Body Text

For some unknown reason we got this change in v45.
If you want to go back to "Body Text":
Open the Options window, go to Composition -> General and uncheck: "When using paragraph format, the Enter key creates a new paragraph".
Which is kind of obscure since no one told Thunderbird to start using paragraph format in the first place.
But that does it, so...

Tuesday, May 10, 2016

Persist Custom putty Settings

  1. Change your settings.
  2. Click once on "Default Settings" under "Load, save or delete a stored session" (in the "Session" category) to select it. 
  3. Click "Save."

Thanks to Chad P

Tuesday, May 03, 2016

putty: Access Denied

IP/host name, username and password are correct but you get Access Denied when tyring to log in.
Try disabling this setting:

Putty has GSSAPI enabled by default.
Putty GSSAPI Configuration
Turn it off if you are not using Kerberos (and chances are, you are not in your environment).
Explanation:
I dealt with a few weeks back with when a new administrator could not login to any ssh host with putty - even the one that I know should be working for him. It seems that with GSSAPI Auth enabled, Putty will attempt to login with non-existent kerberos credentials, which resulted in an immediate Access Denied message.
[...]

Source: http://serverfault.com/questions/317781/putty-access-denied

Monday, February 15, 2016

Removing $Windows.~BT & $Windows.~WS Folders

$Windows.~BT & $Windows.~WS folders are created after an update to Windows 10 and are temporary directories taking a lot of space. They can safely be deleted.
  1. Run a DOS (cmd) console as administrator.
  2. Execute:
    1. takeown /F C:\$Windows.~BT\* /R /A
    2. icacls C:\$Windows.~BT\*.* /T /grant administrators:F 
    3. rmdir /S /Q C:\$Windows.~BT\
Remove anything left manually from the file explorer.
Thanks to TheWindowsClub.