- MS Photos Legacy ( https://apps.microsoft.com/store/detail/microsoft-photos-legacy/9NV2L4XVMCXM )
- MS PowerToys ( https://apps.microsoft.com/store/detail/microsoft-powertoys/XP89DCGQ3K6VLD )
Sunday, September 24, 2023
How To Install Photos Legacy, and Microsoft Windows App Store
Monday, July 17, 2023
File History in Microsoft Windows
To set up File History, begin by ensuring you have access to the network share. In File Explorer, open the network share. If prompted for login, enter the login information and check the box for "Remember my credentials".
Choose the Backup application.
In case the PC is destroyed physically or by malware, it will be useful to have File History backups stored on a network drive away from the primary machine. In general, File History configuration is the same, though networking must be properly configured. Occasionally an issue is encountered with the network share.
- Ensure the necessary networking components are installed and are running. Open "features" from the Start button to open "Optional features".
- Clear out any old credentials for the resource. Press Start button and "credential manager". Click on Windows Credentials and remove any out-dated credentials.
- Ensure the SMB client is installed. Open "services.msc" from the Start button and ensure the "Network Connections" is started.
- Open the old control panel app from the Start button, type "control panel", choose "Network and Internet", "View network computers and devices".
- Also in the old control panel app, search for "sharing" and choose "Manage advanced sharing settings" then confirm network discovery and file sharing are turned on. Double-check all of the discovery and sharing options.
Saturday, April 15, 2023
One-liner: Python webserver to display files
Go into linux directory that has the files you want to serve.
Start the webserver in the directory of the files you want to expose:
$ python3 -m http.server 8321
Test it from another machine by using a web browser and going to the hostname:port:
http://some-host-name.duckdns.org:8321
To persist the webserver after you log out of the shell, use nohup:
$ nohup python3 -m http.server 8321 &
Sunday, March 19, 2023
Who Needs the Optional Features in Microsoft Windows
Minimizing the applications and services on your computer can help to reduce the hacker attack service. If an app or service does not exist and can not be started, then it can not be exploited. The consumer desktop version of Microsoft Windows is good at keeping backward compatibility. This unfortunately leads to increasing hacker attack service and bloated installations.
Microsoft Windows 10 can remove some of the unneeded software. In this example, we will remove the .Net Framework.
The command prompt command "systeminfo" shows the following:
OS Name: Microsoft Windows 10 Home
OS Version: 10.0.19045 N/A Build 19045
Before starting, please create a restoration point in case you want to undo the changes. Press Start button, type "restore", choose Create A Restore Point.
On the desktop, press the Start button then press the Settings icon (the gear).
In the Windows Settings, choose Apps and click Optional Features. This may request the administrator prompt, which is required to continue.
Click on Optional Features.
Scroll down and click More Windows Features.
This will display the Windows Features box.
Deselect .NET Framework.
Press OK and apply the changes.
Reboot to finish the changes.
Saturday, February 04, 2023
Hide Icons On Microsoft Windows Desktop
Anyone updating applications may notice that links to start the app often appear on the desktop. While these can often be easily deleted, if they are instead hidden then the next time the app is updated the link is likely to remain and stay hidden.
Microsoft has been pushing icons and shortcuts to the desktop. A recent Windows 10 patch rollup put a Microsoft Edge icon on the desktop, and it requires administrator privilege to remove it.
Regular users can hide the icon with a quick command window. Bring up the command prompt by pressing Start button, type cmd, and press the Command Prompt app.
In the command prompt window, go to the desktop folder by typing:
cd desktop
Look for the file with the directory command and a flag:
dir /A
If the file does not exist, it may be in the Windows public profile. On the desktop, right-click on the icon, choose Properties, press the Details tab, and look where the actual link is located. If it is in the public profile you will need an administrator to help you.
If the file exists in your profile, you may set the hidden attribute on the filename for the icon to make it disappear:
attrib +h Microsoft*.lnk
The desktop should now be less cluttered with the icon hidden.
If the lnk file is in the Windows public profile and you can become adminstrator, then start the command prompt as administrator. Go to the directory and set the hidden flag:
C:\Users\Public\Desktop> attrib +h Microsoft*.lnk
Wednesday, October 26, 2022
DNS For Malware Blocking
The Domain Name System protocol maps a human-readable hostname to an IP number. The DNS protocol can be leveraged to filter these lookups. While an application can use a hard-coded IP number, hostname lookups can have any logic or filtering applied by the DNS resolver.
People have effectively self-hosted the Pi-hole solution at home. Typically it is configured to reduce ads which can improve website performance and reduce tracking. For those with some desire to configure a small device, pi-hole is a straightforward and lightweight method to take some control of your network.
There are also hosted DNS solutions which can provide varying levels of filtering and blocking.
Using a phone over a mobile network or public wifi, you may want to have some DNS filtering while not using the Pi-hole solution at home. For an Android phone, there is a setting to allow use of "Private DNS". Go to settings, Network & Internet, Private DNS. If you want to use the Cloudflare DNS offering of 1.1.1.1, Android will require an actual hostname instead of the 1.1.1.1 number scheme. In the settings prompt for Private DNS, enter the hostname 1dot1dot1dot1.cloudflare-dns.com and press save. Your Android phone should then use the Cloudflare DNS filtering. Using one.one.one.one as the hostname seems to have unreliable effects as it does not always properly resolve that name.
Android Private DNS setting:
Look up 1dot1dot1dot1.cloudflare-dns.com which resolves to 1.1.1.1:
Cloudflare's 1.1.1.1 is fast and convenient. For additional levels of filtering, look into using their family filtering at 1.1.1.3. For family filtering, also consider using OpenDNS.
Sunday, January 02, 2022
Tar and Curl in MS Windows 10
Tuesday, December 14, 2021
Remove Apps From MS Windows 10
Microsoft is push-installing many more applications in Windows 10. A user may remove some applications by clicking the Start button then right-click on an app and choose uninstall. The uninstall option is not available for many apps installed by Microsoft.
This list of MS Windows 10 PowerShell application removal lines can work on some versions of Windows, and may depend on the current naming and the build number of Windows. The following were tested on several versions of Windows 10, including Microsoft Windows 10 Pro version 10.0.19043 N/A Build 19043.
Right-click on the Start button and choose: Windows PowerShell
If you are not able to run PowerShell as administrator in order to remove the application packages for all users, you will receive an error:
Get-AppxPackage : Access is denied.
Access is denied.
You may instead run the following commands without this option: -Allusers
If the following commands are not working with "-Allusers", try do remove that and run the command again.
Get-AppxPackage Microsoft.YourPhone -AllUsers | Remove-AppxPackage
# or
Get-AppxPackage *windowsphone* -AllUsers | Remove-AppxPackage
Get-AppxPackage *xbox* -AllUsers | Remove-AppxPackage
Get-AppxPackage *3dbuilder* -AllUsers | Remove-AppxPackage
Get-AppxPackage Microsoft.Microsoft3DViewer -AllUsers | Remove-AppxPackage
Get-AppxPackage *people* -AllUsers | Remove-AppxPackage
# or
Get-AppxPackage Microsoft.Windows.PeopleExperienceHost -AllUsers | Remove-AppxPackage
# or
Get-AppxPackage Microsoft.people -AllUsers | Remove-AppxPackage
Get-AppxPackage Microsoft.549981C3F5F10 -AllUsers | Remove-AppxPackage
Get-AppxPackage *windowsalarms* -AllUsers | Remove-AppxPackage
Get-AppxPackage *windowscommunicationsapps* -AllUsers | Remove-AppxPackage
Get-AppxPackage *skypeapp* -AllUsers | Remove-AppxPackage
Get-AppxPackage *officehub* -AllUsers | Remove-AppxPackage
Get-AppxPackage *getstarted* -AllUsers | Remove-AppxPackage
Get-AppxPackage *onenote* -AllUsers | Remove-AppxPackage
Get-AppxPackage *bingweather* -AllUsers | Remove-AppxPackage
Get-AppxPackage *windowscamera* -AllUsers | Remove-AppxPackage
Get-AppxPackage *windowsmaps* -AllUsers | Remove-AppxPackage
Get-AppxPackage Microsoft.WindowsFeedbackHub -AllUsers | Remove-AppxPackage
Get-AppxPackage *music* -AllUsers | Remove-AppxPackage
Get-AppxPackage *solitaire* -AllUsers | Remove-AppxPackage
Get-AppxPackage *portal* -AllUsers | Remove-AppxPackage
# Movies & TV
Get-AppxPackage *zunevideo* -AllUsers | Remove-AppxPackage
# Snip & SketchGet-AppxPackage *screensketch* -AllUsers | Remove-AppxPackage
Get-AppxPackage *soundrecorder* -AllUsers | Remove-AppxPackage