You were applying Windows updates to a Windows server and got an error with code 80070570. You tried restarting your server several times but it seemed that the problem still persisted.
1. Restart your server.
2. Open Command Prompt (Admin).
3. Execute the commands below.
net stop wuauserv
net stop bits
:: Removes all files from the directory
del /q C:\Windows\SoftwareDistribution\*
:: Recursively removes all nested directories
for /d %x in (C:\Windows\SoftwareDistribution\*) do @rd /s /q "%x"
net start bits
net start wuauserv
4. Close the Command Prompt (Admin).
5. Click Check for updates link on the left.
6. Install updates.
7. Click Retry button if you encounter an error.
After you download a file, you open its Properties and find that it is automatically marked with “This file came from another computer and might be blocked to help protect this computer.” warning and you have to unblock the file manually by selecting the “Unblock” check box.
1. Open Group Policy Editor (gpedit.msc) as Administrator.
2. Go to User Configuration > Administrative Templates > Windows Components > Attachments Manager.
3. Enable Do not preserve zone information in file attachments option.
What is zone information?
Zone information is the information about the zone of origin (such as restricted, Internet, intranet, local) of downloaded files.
By default Windows marks downloaded files with information about their zone of origin (such as restricted, Internet, intranet, local) to make risk assessments in order to warn users when they open or execute files which are marked as being from the Internet or Restricted Sites zone, unless the file’s zone information has been removed.
You have a child and do not want him to be able to install games from Microsoft Store or play online games on certain websites or run a specific program.
I. Prevent your child from installing games Microsoft Store.
This method only applies to Windows 10 Enterprise and Windows 10 Education.
- Type gpedit in the search bar to find and start Group Policy Editor.
- In the console tree of the snap-in, click Computer Configuration, click Administrative Templates, click Windows Components, and then click Store.
- In the Setting pane, click Turn off the Store application, and then click Edit policy setting.
- On the Turn off the Store application setting page, click Enabled, and then click OK.
Note: Enabling Turn off the Store application policy turns off app updates from Microsoft Store.
II. Block all websites except some websites using one of the software below.
III. Block certain websites in your modem settings in order to prevent your child from playing online games on these websites.
If you are using FTP GPON Modem then you can
- Click on the Access tab on the top,
- Click on the Filter tab on the left,
- Select URL Filter as Filter Type Selection,
- Select 1 as URL Index,
- Enter URL (host) (e.g. bluestacks.com or roblox.com),
- Select Enabled as Individual active,
- Click on the Save button.
- Repeat the procedure for other hosts with other URL Indexes (i.e. 2, 3, 4, etc.).
IV. Block all Windows users from running certain programs.
- Type gpedit.msc in search box, then press Enter.
- Expand User Configuration > Administrative Templates, then select System.
- Double click the policy Don’t run specified Windows applications.
- Set the policy to Enabled, then select Show.
- Add the programs you would like to prevent the user from running to the List of disallowed applications. Use the name of the application launching file such as chrome.exe.
- Restart your computer.
You have a laptop.
You want to install Windows 11 on the laptop.
However you got an unexpected error saying that you should visit https://aka.ms/WindowsSysReq for detail.
You visited the page but you are unsure what actually happened.
- The first common reason is that you do not have TPM 2.0 hardware.
Open Settings > Update & Security > Windows Security > Device Security
– If you do not see a Security processor section on this screen your PC may have a TPM that is disabled.
– If you do see a Security processor section on this screen then click Security processor details, and verify that your TPM Specification sub-version is 2.0.
If it is less than 2.0, your device does not meet the Windows 11 requirements.
Trusted Platform Module (TPM) is an international standard for a secure cryptoprocessor, a dedicated microcontroller designed to secure hardware through integrated cryptographic keys. The term can also refer to a chip conforming to the standard.
Trusted Platform Module provides
– A hardware random number generator,
– Facilities for the secure generation of cryptographic keys for limited uses.
Usually you can enable or disable TPM in the BIOS of your laptop.
If you have TPM 1.2, you can often update it to 2.0 by following the guide of your laptop providers. For example if you have a Dell laptop then you can check the guide here.
If you get “The TPM is Owned.” issue when updating TPM 1.2 to 2.0 then you can check a guide here. (Press F12 after your laptop is reboot.)
- The second common reason is that your laptop processor has not been supported by Windows 11.
Open Settings > System > (scroll down if needed) > About.
Search for processor name, e.g. i7-10610U.
You should find your processor name here if it is supported. For example the Xeon E3-1505M processor has not been supported.
- You can also download PC Health Check app to verify these 2 issues or identify other potential issues.
- If you plan to install a fresh Windows 11 from an USB then you can ignore the processor support requirement.
You log in a computer remotely as an administrator.
However you cannot read or write any removable storage devices such as CD/DVD or USB flash memory drives.
gpedit.msc in the Search box, press Enter.
- Go to Local Computer Policy > Computer Configuration > Administrative Templates > System > Removable Storage Access.
- Double-click All Removable Storage: Allow direct access in remote sessions.
- Click Enabled.
- Click OK.
Any changes related to an operating system or an application in an EC2 instance may break its connection. You may try to stop, start, or reboot the instance many times but the problem may still persist. In this case, you may need to restore the instance to a previous stable version.
Viruses, malwares or accidental deletion of data may also require a restore of an instance to a previous stable version.
In order to restore an EC2 instance to a previous version you first need to create its backups either manually or automatically.
Manually backup an EC2 instance:
- Click Volumes on the left menu.
- Click a volume, click Actions, click Create Snapshot.
Manually restore an EC2 instance:
- Click Snapshots on the left menu, click a snapshot of an instance.
- Click Actions, click Create Volume.
- Let all default settings intact, click Create Volume.
- Repeat the first 3 steps for all the snapshots of the instance.
- Stop the instance.
- Click the instance, click Storage, scroll down and click on the link of /dev/sda1 device.
- Click Actions, click Detach Volume (or Force Detach Volume if the Detach Volume function does not work).
- Click Volumes on the left menu.
- Click on the volume created from the snapshot.
- Click Actions, click Attach Volume.
- Select the instance, set Device = /dev/sda1, click Attach.
12. Detach and attach the remaining volume to the instance.
13. Start the instance.
Automate backup process for an EC2 instance:
- Go to AWS Backup service.
- Click Backup plans on the left menu.
- Click the Create Backup plan button, select a template (e.g. Daily-35day-Retention), enter a backup plan name (e.g. HuyBien_Backup_Plan).
4. Click Backup plans on the left menu, click on a backup plan name.
5. Scroll down to the Resource assignments section, click the Assign resources button.
6. Enter a resource assignment name (e.g. HuyBien_Instances or HuyBien_Volumes), the scroll down to the Assign resources section.
7. Select Resource ID for Assign by.
8. Select appropriate resources. When you select an EC2 instance, AWS Backup will create backup for all EBS volumes attached to the instance, and then will attach them to an AMI that stores all parameters from the original EC2 instance.
9. Click the Assign resources button.
10. Wait for 1 day, then click on the Backup vaults link on the left menu, click a Backup vault name, scroll down to the Backup section to check for backups of the resources created by the backup plan execution.
Configure backup process time:
- Go to https://www.thetimezoneconverter.com/, and convert your time to UTC, for example 1:00 AM Saint Petersburg = 10:00 PM UTC.
- Go to AWS Backup, click Backup plans, click on a plan name.
- Scroll down to Backup rules, select a rule, click the Edit button.
- Scroll down to Backup window, click Customize backup window and enter your times.
You are want to install Ubuntu 18.04 and Windows 10 as dual boot for completing some machine learning tasks.
You need to have a 8Gb USB stick.
Step 1: Go to BIOS, select the UEFI option in Boot List Option, disable the Enable Legacy option ROMS option, disable Secure Boot.
Step 2: Install Windows 10 and create a free partition for Ubuntu.
Step 3: Download the Ubuntu desktop 18.04 image.
Note: The Ubuntu server 18.04 image may NOT contain driver for your wireless adapter network card.
Download and use Rufus to create a bootable USB with Ubuntu.
Step 4: Install Ubuntu. Select Something else in Installation type screen. Select the free partition. Click the + sign.
Create an EFI partition and set its size to be 552MB if it does not exist.
Create a Swap partition. Set its size to be twice as your RAM size.
Create a Root partition. Set its size to be all the remaining free space to optimize your space.
You may want to remove caches to update an application status or fix some issues.
You may need to remove temporary files to get some more free disk space.
Try clearing files and folders in the directories below.
- C:\Users\All Users\Package Cache
- C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
Sometimes you may get permission error when deleting files or folders. If this is true then try the following command before deleting these files and folders.
takeown /f C:\Users\All Users\Package Cache /r /d y
icacls C:\Users\All Users\Package Cache /grant administrators:F /t
You have VPN credentials and want to hide your IP location for a specific purpose.
- Setup a VPN connection using your VPN credentials.
- Type and click View network connections in Search box to open the Network Connections window.
- Right-click the VPN connection and select Properties in the menu.
- Select the Networking tab.
- Click the Internet Protocol Version 4 (TCP/IPv4) row, then click the Properties button.
- Click the Advanced… button.
- Select Use default gateway on remote network option.
The Sync Host OneSyncSvc service was not started correctly and caused error in the Server Manager.
You wanted to disable this service. However you got the “The parameter is incorrect” error message when disabling it.
- Click on the Search icon, type regedit, press Enter.
- Locate the key below
3. Change the Start value from 2 to 4 (Disabled).
4. Restart the server.