Sunday, April 1, 2018

Potential solution to issue with error 0x80070bc2 with Windows 10

With a few different Windows 10 machines, an error was found when installing a cumulative update with the code of 0x80070bc2:

image

To solve this issue, use the following commands within an elevated command prompt and reboot the computer in question.  Attempt to install the update again.

SC config wuauserv start=auto
SC config bits start=auto
SC config cryptsvc start=auto
SC config trustedinstaller start=auto

https://ugetfix.com/ask/how-to-fix-windows-update-error-0x80070bc2/

Microsoft’s malware demo site

The site below is intended as offering tests for Windows Defender.  This site can be used to generate alerts.

https://demo.wd.microsoft.com/?ocid=cx-wddocs-testground

How to offload an app within iOS

iOS version 11 includes an option to off-load an app to save space but allows to retain parameters.  This feature deletes the app but not the data created by the app.

To offload an app, go to Settings > General > iPhone Storage (or iPad Storage).  Enable next to Offload Unused Apps.

image

image

To offload an individual app, tap the app on the list lower on the same page. On the app’s page, tap the “Offload App” option.

image

To disable the Offload App feature, disable the option under iTunes & App Store.

image

InSpectre

InSpectre is a freeware application for Windows to determine the local patch status for Meltdown and Spectre security issues.

https://www.grc.com/inspectre.htm

image

image

Windows Subsystem for Linux

Starting with the Fall Creator’s edition, a new method is available to install the Windows Subsystem for Linux within Windows 10.  Launch an elevated PowerShell session and enter the following command:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Linux subsystem for Windows 1

After rebooting your computer, access the Microsoft Store and search for a distribution such as Ubuntu.

Linux subsystem for Windows 2

After the installation has completed, an user name and password will be requested.

Linux subsystem for Windows 3

Linux commands such as apt-get and ls should function as normal.

Linux subsystem for Windows 4

Linux subsystem for Windows 5

The Windows file system can be viewed by using the following command:

cd /mnt/c

Linux subsystem for Windows 6

Multiple versions of Linux can be installed.  The command “wslconfig /l” should display the current default Linux distribution.

image

https://docs.microsoft.com/en-us/windows/wsl/install-win10

https://www.howtogeek.com/344688/how-to-set-your-default-linux-distribution-on-windows-10/

Windows Defender Off-Line Scan

Within Windows 10, Windows Defender has an off-line scan option.  Launch Windows Defender and click on the virus icon.

image

Click on the Advanced Scan link.

image

Select the Windows Defender Offline scan option, and then click on the Scan Now button.

image

Click on the Scan Now button within the new dialog box that appears.

image

After the computer reboots, a dialog box will be displayed showing the status of the scan.

image

After the scan has completed, the computer should reboot again.

GalliumOS

GalliumOS is a Linux distro for original ChromeOS devices.

https://galliumos.org/

Extensity

Extensity is an extension manager for Google Chrome.

https://chrome.google.com/webstore/detail/extensity/jjmflmamggggndanpgfnpelongoepncg

https://www.bleepingcomputer.com/review/gaming/using-extensity-to-manage-your-extensions-and-optimize-chrome/

Saturday, March 3, 2018

PowerShell Constrained Language

PowerShell Constrained Language is a language mode of PowerShell designed to restrict access to sensitive language elements that can be used to invoke arbitrary Windows APIs.

To view current parameter level, use the command:

$ExecutionContext.SessionState.LanguageMode

image

To set Constrained Language, use the command:

$ExecutionContext.SessionState.LanguageMode = "ConstrainedLanguage"

image

To set the parameter for future sessions, use the following command within an elevated prompt:

[Environment]::SetEnvironmentVariable('__PSLockdownPolicy', '4', 'Machine')

image

https://blogs.msdn.microsoft.com/powershell/2017/11/02/powershell-constrained-language-mode/

https://itfordummies.net/2015/06/01/powershell-constrained-mode/

https://adsecurity.org/?p=2921

Pi-hole

Pi-hole is an application for Linux that is a DNS black hole.  It can be used to block Internet advertisements on a network level.

https://pi-hole.net/

https://github.com/pi-hole/pi-hole/