Archive for the ‘Windows Server’ category

DSFR – Restart DSFR after reboot of systems

July 12th, 2016

To restart DSFR on systems once a server(s) have been restarted if they are having issues, you need to run the following command from an elevated PS shell on a windows server.

wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="XXX1DEXX-50A9-XXXX-93F9-806E6FXXXXXX" call ResumeReplication

You can find the volumeGuid with the command: mountvol

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Windows Netstat – Kill connection and view ports

December 15th, 2010

Just a simple reminder on how to use netstat on windows to view connections and ports and then kill the appropriate one.

netstat -ano

Once you have a list you can kill connections with:

net stop http

Where http can also be a port

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Windows – high memory usage in the W3wp.exe process

November 22nd, 2010

To limit the amount of data that can be queued in the W3wp.exe file, follow these steps:

  1. Apply the hotfix that is described in this article.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP\Parameters
  4. If the VectorSendThrottleLimit subkey exists, go to step 7. If the VectorSendThrottleLimit subkey does not exist, go to step 5.
  5. On the Edit menu, point to New, and then click DWORD Value.
  6. Type VectorSendThrottleLimit, and then press ENTER.
  7. In the right pane, right-click VectorSendThrottleLimit, and then click Modify.
  8. In the Value data box, type the value that you want, and then click OK.

Restart IIS once you complete the changes.

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Windows – ISAPI filter “could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture”

July 2nd, 2010

If you see an error message similar to this:

ISAPI Filter 'C:\Program Files\Helicon\ISAPI_Rewrite3\ISAPI_Rewrite_x64.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.

It is most likely caused by the wrong version of ASP as indicated in the following article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;894435

As indicated in the article the following methods will allow you to change between 32 and 64 bit ASP on IIS.

ASP.NET 1.1, 32-bit version

To run the 32-bit version of ASP.NET 1.1, follow these steps:

  1. Click Start, click Run, type cmd, and then click OK.
  2. Type the following command to enable the 32-bit mode:
    cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
  3. Type the following command to install the version of ASP.NET 1.1 and to install the script maps at the IIS root and under:
    %SYSTEMROOT%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
  4. Make sure that the status of ASP.NET version 1.1.4322 is set to Allowed in the Web service extension list in Internet Information Services Manager.

ASP.NET 2.0, 32-bit version

To run the 32-bit version of ASP.NET 2.0, follow these steps:

  1. Click Start, click Run, type cmd, and then click OK.
  2. Type the following command to enable the 32-bit mode:
    cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
  3. Type the following command to install the version of ASP.NET 2.0 (32-bit) and to install the script maps at the IIS root and under:
    %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
  4. Make sure that the status of ASP.NET version 2.0.50727 (32-bit) is set to Allowed in the Web service extension list in Internet Information Services Manager.

ASP.NET 2.0, 64-bit version

To run the 64-bit version of ASP.NET 2.0, follow these steps:

  1. Click Start, click Run, type cmd, and then click OK.
  2. Type the following command to disable the 32-bit mode:
    cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
  3. Type the following command to install the version of ASP.NET 2.0 and to install the script maps at the IIS root and under:
    %SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i
  4. Make sure that the status of ASP.NET version 2.0.50727 is set to Allowed in the Web service extension list in Internet Information Services Manager.

Note The build version of ASP.NET 2.0 may differ depending on what the currently released build version is. These steps are for build version 2.0.50727.

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Plesk Upgrade to 9.5 – Webmail Broken

May 10th, 2010

I’ve recently seen an increase in the number horde webmail that appears broken after a plesk upgrade to 9.5.

This is a fairly simple issue to fix.

First go to the horde hosting folder and verify that the permissions for user psa_cln/psacln are set to read & execute (sometimes its set to deny all). Once changed test horde webmail. If that does not work:

Open up a command line and make sure it has admin privileges.

Next type :

cd %plesk_bin%
websrvmng –reconfigure-webmail <-- wait till complete then defpackagemng --fix --type=webmail.horde Check permissions once more Once complete webmail should be fixed. It's that easy

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz