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.
Tuesday, October 22, 2013
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
Labels:
Active Directory,
DHCP,
network,
windows server 2003
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.
"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
- 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
Set in php.ini
short_open_tag=On
Or
Set in .htaccess
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
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
Tuesday, December 20, 2011
VPN to remote network on same subnet as local network
Symptoms:
You need to connect using VPN connection to remote client site and realize that you both using same IP subnet. You connect fine but can't access any resources on the remote subnet. Some people may suggest you to change one of the subnet, but you can't do that because both of subnet are office environment.
Cause:
It's network and route thing. Your PC think the remote IP is locally.
Solution:
You need to manually add routing for remote IP at your PC. You can do that using command ROUTE.
1. Connect to VPN site.
2. From command prompt run ROUTE PRINT to show status. In my case:
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 11 09 26 33 75 ...... VIA Rhine II Fast Ethernet Adapter - Packet Scheduler Miniport
0x60004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.10.10.1 10.10.10.9 21
0.0.0.0 0.0.0.0 10.10.10.79 10.10.10.79 1
10.10.8.0 255.255.252.0 10.10.10.9 10.10.10.9 20
10.10.10.9 255.255.255.255 127.0.0.1 127.0.0.1 20
10.10.10.79 255.255.255.255 127.0.0.1 127.0.0.1 50
10.255.255.255 255.255.255.255 10.10.10.9 10.10.10.9 20
10.255.255.255 255.255.255.255 10.10.10.79 10.10.10.79 50
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
2xx.2xx.2xx.2xx 255.255.255.255 10.10.10.1 10.10.10.9 20
224.0.0.0 240.0.0.0 10.10.10.9 10.10.10.9 20
224.0.0.0 240.0.0.0 10.10.10.79 10.10.10.79 1
255.255.255.255 255.255.255.255 10.10.10.9 10.10.10.9 1
255.255.255.255 255.255.255.255 10.10.10.79 10.10.10.79 1
Default Gateway: 10.10.10.79
===========================================================================
Persistent Routes:
None
5. Run ROUTE PRINT again to make sure the new route listed
You need to connect using VPN connection to remote client site and realize that you both using same IP subnet. You connect fine but can't access any resources on the remote subnet. Some people may suggest you to change one of the subnet, but you can't do that because both of subnet are office environment.
Cause:
It's network and route thing. Your PC think the remote IP is locally.
Solution:
You need to manually add routing for remote IP at your PC. You can do that using command ROUTE.
1. Connect to VPN site.
2. From command prompt run ROUTE PRINT to show status. In my case:
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 11 09 26 33 75 ...... VIA Rhine II Fast Ethernet Adapter - Packet Scheduler Miniport
0x60004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.10.10.1 10.10.10.9 21
0.0.0.0 0.0.0.0 10.10.10.79 10.10.10.79 1
10.10.8.0 255.255.252.0 10.10.10.9 10.10.10.9 20
10.10.10.9 255.255.255.255 127.0.0.1 127.0.0.1 20
10.10.10.79 255.255.255.255 127.0.0.1 127.0.0.1 50
10.255.255.255 255.255.255.255 10.10.10.9 10.10.10.9 20
10.255.255.255 255.255.255.255 10.10.10.79 10.10.10.79 50
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
2xx.2xx.2xx.2xx 255.255.255.255 10.10.10.1 10.10.10.9 20
224.0.0.0 240.0.0.0 10.10.10.9 10.10.10.9 20
224.0.0.0 240.0.0.0 10.10.10.79 10.10.10.79 1
255.255.255.255 255.255.255.255 10.10.10.9 10.10.10.9 1
255.255.255.255 255.255.255.255 10.10.10.79 10.10.10.79 1
Default Gateway: 10.10.10.79
===========================================================================
Persistent Routes:
None
3. From here, we get information:
- 10.10.10.9 my current IP
- 10.10.10.79 my assigned VPN IP
- 0x60004 my VPN interface
- 2xx.2xx.2xx.2xx I need to hide my client public IP
4. To manually add route run:
ROUTE ADD <TargetIP> MASK <Mask> <GatewayIP> METRIC <Metric> IF <InterfaceID>
so for my case if I want to add route to single IP 10.10.10.18 on remote site:
ROUTE ADD 10.10.10.18 MASK 255.255.255.255 10.10.10.79 METRIC 1 IF 0x6004
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 11 09 26 33 75 ...... VIA Rhine II Fast Ethernet Adapter - Packet Scheduler Miniport
0x60004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.10.10.1 10.10.10.9 21
0.0.0.0 0.0.0.0 10.10.10.79 10.10.10.79 1
10.10.8.0 255.255.252.0 10.10.10.9 10.10.10.9 20
10.10.10.9 255.255.255.255 127.0.0.1 127.0.0.1 20
10.10.10.18 255.255.255.255 10.10.10.79 10.10.10.79 1
10.10.10.79 255.255.255.255 127.0.0.1 127.0.0.1 50
10.255.255.255 255.255.255.255 10.10.10.9 10.10.10.9 20
10.255.255.255 255.255.255.255 10.10.10.79 10.10.10.79 50
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
2xx.2xx.2xx.2xx 255.255.255.255 10.10.10.1 10.10.10.9 20
224.0.0.0 240.0.0.0 10.10.10.9 10.10.10.9 20
224.0.0.0 240.0.0.0 10.10.10.79 10.10.10.79 1
255.255.255.255 255.255.255.255 10.10.10.9 10.10.10.9 1
255.255.255.255 255.255.255.255 10.10.10.79 10.10.10.79 1
Default Gateway: 10.10.10.79
===========================================================================
Persistent Routes:
None
Or You can use Portable GUI Application NetRouteView from nirsoft.net to show and manipulating your windows routing table.
Thursday, December 15, 2011
Find Old Network Card not show under Device Manager
Symptoms:
Popup error while setting IP
The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter Name of adapter. Name of adapter is hidden from the network and Dial-up Connections folder because it is not physically in the computer or is a legacy adapter that is not working. If the same address is assigned to both adapters and they become active, only one of them will use this address. This may result in incorrect system configuration. Do you want to enter a different IP address for this adapter in the list of IP addresses in the advanced dialog box?
But cannot find this old hidden device to remove even you already enabled show hidden device in Device Manager
Cause:
Show hidden devices option in the Device Manager (View > Show hidden devices) does not always show the old NIC (ghosted adapter) to which that IP Address is assigned.
Solution:
From cmd prompt:
set devmgr_show_nonpresent_devices=1
After that make sure in Device Manager:
View > Show Hidden Device Checked
Should show dimmed network adapter under network manager group.
Note:
For Some old OS, you may doing by add System Variable:
- In the System variables section, click New.
- Set the Variable name to devmgr_show_nonpresent_devices and set the Variable value to 1 to enable the parameter
Subscribe to:
Posts (Atom)