Tuesday, May 17, 2016

Configuring IBM IMM IP from Windows Command Prompt

To change IP of IMM using Advanced Settings Utility from IBM


asu64.exe set imm.hostipaddress1 192.168.xxx.xxx

asu64.exe set imm.hostipsubnet1 255.255.255.0

asu64.exe set imm.gatewayipaddress1 192.168.xxx.1

asu64.exe set imm.dhcp1 disabled

asu64.exe set rebootimm

Monday, February 23, 2015

Windows Server 2003 Error event 8194 with error code 0x8007000d

Symptoms: 
8194 Group Policy Files NT AUTHORITY\SYSTEM nodename The client-side extension could not remove computer policy settings for '  { }' because it failed with error code '0x8007000d The data is invalid.'

1085 Userenv NT AUTHORITY\SYSTEM nodename. The Group Policy client-side extension Group Policy Files failed to execute. Please look for any errors reported earlier by that extension.


Cause: 
Error event 8194 with error code 0x8007000d is usually caused by a corrupt file in the server’s group policy cache and/or by corruption of Group Policy\History registry hive

Solution:
Clear the Global Policy cache and delete the registry hive on the Windows 2003 server that is exhibiting the problem and get the cache/registry repopulated as per the following:
  • Open Windows Explorer.
  • Save the contents of folder %ALLUSERSPROFILE%\Application Data\Microsoft\Group Policy\History to another location.
  • Delete all files and folders in the History folder.
  • Delete the following registry hives:
  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\History
  • HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\History
  • Open Command Prompt and type gpupdate/force .

Tuesday, October 22, 2013

Setting the Refresh Rate for Connectivity Verifiers ISA Server 2006

By default, connectivity verifiers that are enabled test connectivity every 30 seconds. This time can be changed to any value in the range from 15 through 1,440 seconds by setting the RefreshRate property of the FPCConnectivityVerifiers collection. The value of this property applies to all ISA Server computers in an array.

Using Registry:
- Browse To: HKLM\IsaStg_Eff1\Arrays\{D76B4872-115F-49FA-9136-610335ED7F8E}\ConnectivityVerifiers
- Change msFPCRefreshRate value (in dword) as needed

Using Script:
http://technet.microsoft.com/library/cc302480.aspx

You may use sets of Connectivity Verifiers to help you monitoring device such as: AP, WAN, Internal Router especially if combine with email alert triggering.

Sunday, May 12, 2013

Export and Import a readable DHCP scope

Export:
Readable:
netsh dhcp server \\SERVERNAME dump all > filename.txt
Unreadable:
netsh dhcp server \\SERVERNAME export d:\filename all

Full Export with policies (2012) using PS with Administrator Rights
Export-DhcpServer -ComputerName SERVERNAME -File "D:\filename.xml" -Force

Import:
Full Import with policies (2012) using PS with Administrator Rights
Import DhcpServer -ComputerName SERVERNAME -File "D:\filename.xml" -Force

for New 2003 server format
netsh exec filename.txt

for 2000 server format
netsh dhcp server import filename.txt all

Authorize:
1. Activate
2. Authorized from currently authorized DHCP server

Tuesday, March 5, 2013

The HTTP Filter DLL php5isapi.dll failed to load

Symptoms: 

- In the ISAPI filters of IIS, the php5isapi.dll with set the filter to "PHP" show red arrow pointing down and for priority it says *unknown*

- In event viewer under application shown these two errors.
   "Could not load all ISAPI filters for site/service. Therefore startup aborted."

   "The HTTP Filter DLL C:\php\php5isapi.dll failed to load. The data is the error."


Cause:
IIS user account doesn't have sufficient permissions to the php files & folders

Solution:
Add IUSR_computername account permission for all the php files and directories

Note:
You need to restart PHP on IIS to reload

Friday, February 22, 2013

How to enable PHP short tags?

Need <? instead of <?php



Set in php.ini

short_open_tag=On


Or

Set in .htaccess

php_value short_open_tag 1

You need to restart PHP to reload

Tuesday, December 27, 2011

Exchange 2007, increasing e-mail rule limit

Exchange 2007 rule sizes by default is set to 64kb (rather than 32kb for Exchange 2003).
You may change this using Exchange 2007 Management Shell (PowerShell) to max 256kb

To check setting on specific account: (to display RulesQuota : xxKB)
get-mailbox userlogin | fl rulesquota



To change setting to 256kb for specific account:
set-mailbox userlogin -rulesquota 256kb



To change setting to 256kb for all account:
get-mailbox | set-mailbox -rulesquota 256kb