Cant initialize plugins directory windows 7

Windows 10 is generally a stable operating system that most people like. However, the operating system does have its fair share of glitches which can crop up from time to time. In this blog article, I’ll go over how to fix the Plugins Directory error in Windows 10.

What is the Plugins Directory?

The Plugins Directory is a folder in your Windows installation that stores all of the files that are used by your web browser. These files include the plugins that you install from the Internet.

If you are getting the Windows Can’t Initialize Plugins Directory Error message, then one of the files in your plugins directory is missing or corrupted. You can try to fix this problem by reinstalling your web browser, but if that doesn’t work, you can also try to fix the problem yourself.

How to Fix Can’t Initialize Plugins Directory Windows 10

Windows 10 can sometimes encounter an error when trying to initialize plugins. This can prevent some programs from working properly.

To fix this problem, you will need to follow these steps:

1. Open the Start menu and search for “Regedit”.
2. Double-click on the Regedit icon to open it.
3. On the left side of the window, click on “New”.
4. In the “Name” field, type “Initialize Windows Plugins”.
5. In the “Type” field, select ” REG_SZ “.
6. In the “Value” field, type d:\Program Files (x86)\Microsoft Visual C++\VC\include.
7. Click on the “OK” button to save your changes.
8. Close the Regedit window and restart your computer.

How to Enable Plugins in Windows 10

If you are experiencing a Windows 10 Can’t Initialize Plugins Directory Error, then this guide will help you to enable plugins in Windows 10.

First, open the Start menu and enter “settings”.

From the settings screen, click on “System”.

Next, under “System and Security” click on “Plug-ins”.

On the Plug-ins screen, you will see a list of all the plugins that are installed on your computer. If you have any problems with any of the plugins, then you can try to disable them by clicking on the “Disable” button next to their name.

If disabling the plugin does not solve the problem, then you can try to install the plugin from scratch.

Conclusion

If you’re experiencing problems with Windows can’t initialize plugins directory error, there are a few things that you can try. The first step is to make sure that all of your plugin files are up-to-date and installed correctly. You can also try restarting your computer, clearing the browser cache and cookies, and disabling any add-ons that you don’t use regularly. If none of these solutions work, it may be time to call in a specialist to help fix your problem.

Cant initialize plugins directory windows 7
19th June 2019, 07:10
  #1

Member

 

Join Date: Feb 2009

Posts: 69

Can't initialize plugins directory windows 10/1903


Hi
After updating my system to Windows 10 1903 I got this message on installers created with NISIS:

Can't initialize plugins directory.Please try again later

also could be a problem generated by Avast antivirus
thanks


Last edited by mrjohn; 19th June 2019 at 08:39.

Cant initialize plugins directory windows 7
 
Cant initialize plugins directory windows 7

Cant initialize plugins directory windows 7
19th June 2019, 09:10
  #2

Moderator

 

 

Join Date: Jun 2002

Location: ${NSISDIR}

Posts: 5,518

What is the exact message? Press Ctrl+C in the dialog...


IntOp $PostCount $PostCount + 1

Cant initialize plugins directory windows 7
 
Cant initialize plugins directory windows 7

Cant initialize plugins directory windows 7
19th June 2019, 14:55
  #3

Member

 

Join Date: Feb 2009

Posts: 69

Hi,exact message:

---------------------------
Install NET SFE
---------------------------
Error! Can't initialize plug-ins directory. Please try again later.
---------------------------
OK
---------------------------

seems to me the Avast is the problem,disabling it seems to work

Cant initialize plugins directory windows 7
 
Cant initialize plugins directory windows 7

Cant initialize plugins directory windows 7
19th June 2019, 16:46
  #4

Moderator

 

 

Join Date: Jun 2002

Location: ${NSISDIR}

Posts: 5,518

This happens if CreateDirectory fails for "%Temp%\nsXYZ.tmp" which very much sounds like a security tool that is trying too hard.

You can work around it with something like this

PHP Code:

!include LogicLib.nsh
Function .onInit
CreateDirectory 
"$Temp\3b448375-b854-42b2-a42e-b4c74cac54b8"
${IfNot} ${Errors}
    
RMDir "$Temp\3b448375-b854-42b2-a42e-b4c74cac54b8"
${Else}
    ${ForEach} $
0 0 9999 1
        ClearErrors
        CreateDirectory 
"$LocalAppData\ns$0.tmp"
        
${IfNotThen} ${Errors} ${|} ${Break} ${|}
    ${
Next}
    
UnsafeStrCpy $PluginsDir "$LocalAppData\ns$0.tmp"
${EndIf}
InitPluginsDir
FunctionEnd 


IntOp $PostCount $PostCount + 1

Cant initialize plugins directory windows 7
 
Cant initialize plugins directory windows 7

Cant initialize plugins directory windows 7
20th June 2019, 09:48
  #5

Member

 

Join Date: Feb 2009

Posts: 69

Hi
tested your code but the same message/error
thanks

Cant initialize plugins directory windows 7
 
Cant initialize plugins directory windows 7

Cant initialize plugins directory windows 7
20th June 2019, 13:24
  #6

Moderator

 

 

Join Date: Jun 2002

Location: ${NSISDIR}

Posts: 5,518

And if you change $LocalAppData to $Desktop? Is the AV blocking all folders?


IntOp $PostCount $PostCount + 1

Cant initialize plugins directory windows 7
 
Cant initialize plugins directory windows 7

Cant initialize plugins directory windows 7
20th June 2019, 15:33
  #7

Member

 

Join Date: Feb 2009

Posts: 69

same problem with $Desktop
yes that seems to do

Cant initialize plugins directory windows 7
 
Cant initialize plugins directory windows 7

Cant initialize plugins directory windows 7
3rd July 2019, 06:12
  #8

Member

 

Join Date: Feb 2009

Posts: 69

Hi
found the problem:disabling Avast Cybercapture option fix the problem,seems that it opens the installer twice:first,for one second in a 'sandbox'...

Cant initialize plugins directory windows 7
 
Cant initialize plugins directory windows 7

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.