They are good tips and tricks, I found which may work for you. They did for me first time and the majority of other computer users.
Steps you can take; to try mitigate or avoid this issue from happening for many and in my eyes would be a clean installation of windows 10. This requires formatted hard drive preferably a NTFS file partition and key for install. Although if you’re a system administrator and know your product keys you can skip this requirement.
Based on original article that can be found here: http://powershell.com/cs/blogs/ebookv2/archive/2012/03/18/chapter-11-error-handling.aspx
When you design a PowerShell script, there may be situations where you cannot eliminate all possible runtime errors. If your script maps network drives, there could be a situation where no more drive letters are available, and when your script performs a remote WMI query, the remote machine may not be available.
Start here for a Lenovo G470/G570 Moddded Bios without whitelist: http://www.bios-mods.com/forum/Thread-Removed-Lenovo-G570-Whitelist-Removal?page=3