Thursday, September 14, 2017
Accessing Windows shares
I've come across problems accessing Windows shares, specifically, where \\server\share doesn't work but \\ip\share does. I resolved this through SFC (see previous blog post), but deleting the CSC cache is also often suggested, as per:
Tuesday, August 29, 2017
Run SFC on external (or other) drive
Useful info on running SFC on an external (or second installed) drive:
https://www.ghacks.net/2017/05/21/run-sfc-scannow-on-external-drives/
sfc /scannow /offwindir=d:\windows /offbootdir=d:\
Wednesday, August 23, 2017
Logs in Linux
Most logs are in /var/log/, including /var/log/apt/history.log (log for apt). Use zless for reading .gz files (zless /var/log/apt/history.1.gz).
Wednesday, June 21, 2017
Windows 10 apps not launching
I recently came across a problem with a new Windows 10 install where included apps (Calculator, Photos, etc) would not launch - at times even the Start Menu wasn't working. There are many possible solutions to this, though based on comments, many of them either don't work or even make the situation worse.
What worked for me was to check and fix permissions for the following:
In regedit.exe:
Right click on HKEY_Users and select Permissions...
Make sure that "All Application Packages" exists and has Read Permission.
Repeat for HKEY_CLASSES_ROOT
Expand HKEY_LOCAL_MACHINE. Check the subkeys HARDWARE, SAM,SOFTWARE,SYSTEM. Make sure that All Application Packages has the Read permission.
Other possible solutions are offered in this MS post.
What worked for me was to check and fix permissions for the following:
In regedit.exe:
Right click on HKEY_Users and select Permissions...
Make sure that "All Application Packages" exists and has Read Permission.
Repeat for HKEY_CLASSES_ROOT
Expand HKEY_LOCAL_MACHINE. Check the subkeys HARDWARE, SAM,SOFTWARE,SYSTEM. Make sure that All Application Packages has the Read permission.
Other possible solutions are offered in this MS post.
Friday, December 23, 2016
Proxy script for blocking websites
This proxy script can be used in Windows to either block individual websites (blacklisting) or allow only specific websites (whitelisting), this example is for whitelisting:
This is saved as a .pac file. In Control Panel, in the Internet Options, find the Connections tab, LAN settings. Uncheck “Automatically Detect Settings”. Click to check the box named “Use automatic configuration script”.
In the address field, type the location of .pac file as the following:
function FindProxyForURL(url, host) { // Bypass the proxy for *.blogger.com if (dnsDomainIs(host, ".blogger.com")) { return "DIRECT"; } return "PROXY http://127.0.0.1:18080"; } // End of function
This is saved as a .pac file. In Control Panel, in the Internet Options, find the Connections tab, LAN settings. Uncheck “Automatically Detect Settings”. Click to check the box named “Use automatic configuration script”.
In the address field, type the location of .pac file as the following:
File://C:/Path/script.pac
More here.
Thursday, December 1, 2016
Partly unnecessary Win7 services
A nice rundown of possibly unnecessary Win7 services, useful for slightly speeding up older computers.
Monday, November 28, 2016
Power shell script for Windows Server Backup status
Windows Server Backup does not include any notification possibilities - this script from Jocha.se is an easy way to add email notification via a custom task in Task Scheduler.
Subscribe to:
Posts (Atom)