techwiki:winsys

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
techwiki:winsys [2021/08/18 03:11] – [MSVCPxxx.dll not Found] yingtechwiki:winsys [2022/01/08 08:56] – [MSVCPxxx.dll not Found] ying
Line 1: Line 1:
 +
 +====== Best Security Practise======
 +
 +> If you have an administrator account—even if you’re the only person who will be using your computer—it’s a good idea to create and use a standard user account for your day-to-day computing. There is a much higher risk of serious damage to a computer system if malware infiltrates your computer (or a malicious person gains control of it) when you’re signed in as an administrator than there is when you’re signed in as a standard user. Through an administrator account, the person or app has access to all system files and settings, whereas a standard user account doesn’t have access to certain functions that can permanently damage the system.
 +
 +ref: https://www.microsoftpressstore.com/articles/article.aspx?p=2453566
  
 ====== Windows install ====== ====== Windows install ======
Line 399: Line 405:
 **Problem** **Problem**
   * MSVC is microsoft visual c++ library, and most Microsoft windows based software are designed based on core function of a series of Visual C++ library, and as years goes, there are yearly based dll libraries like MSVCP100, MSVCP140 and so on. The dll name and corresponding year is following   * MSVC is microsoft visual c++ library, and most Microsoft windows based software are designed based on core function of a series of Visual C++ library, and as years goes, there are yearly based dll libraries like MSVCP100, MSVCP140 and so on. The dll name and corresponding year is following
-    * Note: x86 and x64 library are separate libraries, and your software may depends on either of it, so sometimes you need to install both to insure the one it wants is there.+    * Note: x86 and x64 library are separate libraries, and your software may depends on either of it (x86 app use x86 dll), so sometimes you need to install both to insure the one it wants is there.
 **Solution** **Solution**
     * redistribution library installer download list page: https://support.microsoft.com/en-sg/help/2977003/the-latest-supported-visual-c-downloads     * redistribution library installer download list page: https://support.microsoft.com/en-sg/help/2977003/the-latest-supported-visual-c-downloads
 +    * a portable solution is: install vc library first, use listdlls binary tool to find which vc library it uses, and copy the vc dll next to the exe, then after you pack the app with dll into zip file, you can pass to others without worry about dll error.
 +      * listdlls: https://docs.microsoft.com/en-us/sysinternals/downloads/listdlls
 +      * in cmds: cd to listdlls.exe path, type listdlls appname to list all dll used, most are system default dll, so just scan through to find the vc dlls.
  
 | MSVCR | C runtime library (CRL) | | MSVCR | C runtime library (CRL) |
Line 407: Line 416:
 | MFC | standard foundation class library | | MFC | standard foundation class library |
 ^ VC version ^ file name example ^ ^ VC version ^ file name example ^
 +| Visual Studio 2005 | ~80.dll |
 | Visual Studio 2008 | ~90.dll | | Visual Studio 2008 | ~90.dll |
 | Visual Studio 2010 | ~100.dll | | Visual Studio 2010 | ~100.dll |
Line 417: Line 427:
   * ref: https://www.itechtics.com/fix-microsoft-visual-c-dll-files-missing/   * ref: https://www.itechtics.com/fix-microsoft-visual-c-dll-files-missing/
  
 +===== MSVCPxxx.dll not Found =====
 ===== Data Recovery ===== ===== Data Recovery =====
  
Line 422: Line 433:
   - FreeUndelete - http://www.officerecovery.com/index.htm#freeundelete   - FreeUndelete - http://www.officerecovery.com/index.htm#freeundelete
   - iCare unDelete Free - http://www.icare-recovery.com/undelete-free.html   - iCare unDelete Free - http://www.icare-recovery.com/undelete-free.html
 +
 +
 +===== User profile load fail =====
 +
 +  - Start the computer and press F8 key immediately.
 +  - In the "Advanced Boot Options" window, select "Safe Mode" and then press "Enter"
 +  - Login to your account.
 +  - Click Start
 +  - In Start Search box, type "regedit", and press "Enter".
 +  - In Registry Editor window, navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
 +  - In the left pane, look for the folder name starting with S-1-5 (SID key) followed by a long number, then click the folder and locate ProfileImagePath from the right pane to verify that this is the user account profile that has the error.
 +  - If you have two folders starting with S-1-5 followed by same long numbers and one of them ends in .bak
 +  - Change the .bak folder to normal one. To do this:
 +  - Right click the folder without .bak and choose "Rename". Then add .ba at the end of the folder name.
 +  - Right click the folder with .bak and choose "Rename". Then remove ".bak" at the end of the folder name.
 +  - Right click the folder with .ba and choose "Rename". Then change the .ba to .bak at the end of the folder name.
 +  - Choose the folder without .bak
 +  - In the right pane, right click on RefCount and then select "Modify"
 +  - Under "Value Data", type 0 and then click OK.
 +  - Right click on State and then select "Modify"
 +  - Under "Value Data", type 0 and then click OK.
 +  - Close Registry Editor window.
 +  - Restart the computer in normal mode.
 +  - Log on to your account again.
  
  
  • techwiki/winsys.txt
  • Last modified: 2022/11/30 12:46
  • by ying