If you ever encounter fonts not display correctly in your web browser while using your office internet. And this does not happen when you use your home or public internet. There are chance that your office firewall has deny some HTTP Content types. I encounter this when my office was using Watchguard firewall.
Try allow these in your Firewall.
For watchguard i added this at Edit Proxy Action Configuration --> HTTP Response --> Content Types
application/x-font-woff
font/*
application/vnd.ms-fontobject
application/vnd.bw-fontobject
application/x-font-ttf
Monday, 7 November 2016
Saturday, 8 October 2016
Default printer keep changing in windows 7
There a way to fixed this issue for everyone who is experiencing it at your company or home pc.
You had to go and edit the users registry hive:
HKEY_USERS\USERS_SID_HERE\Printers\Connections
If you found old printer connections that were no longer valid. Clear those out, after a reboot, the problem should went away.
You might need to cleared out the HKEY_USERS\USERS_SID_HERE\Printers\Settings key as well - if there are old printer setting sitting there also
*Remember to backup the registry before you delete them. In case you need to roll back to previous setting
You had to go and edit the users registry hive:
HKEY_USERS\USERS_SID_HERE\Printers\Connections
If you found old printer connections that were no longer valid. Clear those out, after a reboot, the problem should went away.
You might need to cleared out the HKEY_USERS\USERS_SID_HERE\Printers\Settings key as well - if there are old printer setting sitting there also
*Remember to backup the registry before you delete them. In case you need to roll back to previous setting
Wednesday, 28 September 2016
Fix Winload.exe is missing
How to fix winload.exe is missing during windows startup?
Use bootrec.exe /rebuildbcd command to repair it.
Follow the link below to understand how to get into windows startup recovery and command prompt.
*Windows OS installation disk is require
https://support.microsoft.com/en-sg/kb/927392
Use bootrec.exe /rebuildbcd command to repair it.
Follow the link below to understand how to get into windows startup recovery and command prompt.
*Windows OS installation disk is require
https://support.microsoft.com/en-sg/kb/927392
Wednesday, 10 August 2016
How to test VMkernel network connectivity between ESX hosts?
How to test VMkernel network connectivity between ESX hosts?
From ESXi 5.1 onward , we can specify which vmkernel port to use for outgoing ICMP traffic with the -I option:
# vmkping -I vmkX x.x.x.x
If you have Jumbo Frames configured in your environment, run the vmkping command with the -s and -d options.
# vmkping -d -s 8972 x.x.x.x
Source: testing vmkernel network
From ESXi 5.1 onward , we can specify which vmkernel port to use for outgoing ICMP traffic with the -I option:
# vmkping -I vmkX x.x.x.x
If you have Jumbo Frames configured in your environment, run the vmkping command with the -s and -d options.
# vmkping -d -s 8972 x.x.x.x
Source: testing vmkernel network
Monday, 25 July 2016
How to enable MSS group policy without installing Microsoft Security Compliance Manager
Download the Security Compliance Manager installation. Run it on your server.
Run the .exe, but do not continue with the installation. The installer deflates some files into a temp directory on the hard drive, such as C:\a1b2c3d4e5f6a0b1c2 or D:\a1b2c3d4e5f6a0b1c2. In that directory you will find a data.cab file. Open that file, and extract the file named GPOMSI and rename that file to LocalGPO.msi. Now cancel the SCM installer and it will delete the temp files.
Install LocalGPO.msi on your server. Then launch the new "LocalGPO Command-line" shortcut that you will find in your Start Screen. Run it as Administrator. Type cscript LocalGPO.wsf /ConfigSCE.
You will get an error that you are not running a supported operating system.
Open LocalGPO.wsf in notepad and comment out the ChkOSVer procedure in the script so that it will not check your version. Now run the above command again.
Source: Serverfault
Run the .exe, but do not continue with the installation. The installer deflates some files into a temp directory on the hard drive, such as C:\a1b2c3d4e5f6a0b1c2 or D:\a1b2c3d4e5f6a0b1c2. In that directory you will find a data.cab file. Open that file, and extract the file named GPOMSI and rename that file to LocalGPO.msi. Now cancel the SCM installer and it will delete the temp files.
Install LocalGPO.msi on your server. Then launch the new "LocalGPO Command-line" shortcut that you will find in your Start Screen. Run it as Administrator. Type cscript LocalGPO.wsf /ConfigSCE.
You will get an error that you are not running a supported operating system.
Open LocalGPO.wsf in notepad and comment out the ChkOSVer procedure in the script so that it will not check your version. Now run the above command again.
Source: Serverfault
Saturday, 16 July 2016
How to extract hyper-V R2 driver
Follow the instruction found in this link.
http://windeploy.co.uk/blog/hyper-v/extracting-hyper-v-r2-drivers/
Vmguest.iso can be found in C:\windows\system32 of windows 2012 server edition
Note: I could not find this file in Windows 10 even though i have Hyper-V feature installed.
http://windeploy.co.uk/blog/hyper-v/extracting-hyper-v-r2-drivers/
Vmguest.iso can be found in C:\windows\system32 of windows 2012 server edition
Note: I could not find this file in Windows 10 even though i have Hyper-V feature installed.
Wednesday, 13 July 2016
Import Local GPO to a new PC by registry.pol
This tool is useful for applying local GPO to a new PC. As exporting security setting (.sdb) from a configured PC does not include the setting from Administrative Template. Registry.pol contain both the security setting and Administrative template. In order to import registry.pol into a new PC, we have to use importregpol.exe tool.
http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/
Download the tool - http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/
*The registry.pol do not need to overwrite the current one(c:\windows\system32\grouppolicy\machine or c:\windows\system32\grouppolicy\user).
*Instead just import your new registry.pol from it current directory. Example: D:\registry.pol. After you have issue the command, it will overwrite the current registry.pol at c:\...
For machines --> ImportRegPol.exe –m path\registry.pol /log macLogFile.txt /error macErrorLogFile.txt
For user --> ImportRegPol.exe –u path\registry.pol /log userLogFile.txt /error userErrorLogFile.txt
Reboot pc after applying the commands.
http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/
Download the tool - http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/
*The registry.pol do not need to overwrite the current one(c:\windows\system32\grouppolicy\machine or c:\windows\system32\grouppolicy\user).
*Instead just import your new registry.pol from it current directory. Example: D:\registry.pol. After you have issue the command, it will overwrite the current registry.pol at c:\...
For machines --> ImportRegPol.exe –m path\registry.pol /log macLogFile.txt /error macErrorLogFile.txt
For user --> ImportRegPol.exe –u path\registry.pol /log userLogFile.txt /error userErrorLogFile.txt
Reboot pc after applying the commands.
Monday, 11 July 2016
Manually Activation of Windows Standard 2012 R2 Servers
This method is when conventional way of activating windows does not work.
1. Go to windows cmd prompt
2. Enter slmgr.vbs /ipk xxxxxxxxxxxxxxxxxxxxxxx (your vol lic key)
3. slui 4
4. Call Microsoft 6324 8098 (Singapore), use the right number for you country.
5. Follow the operator instruction and give them the installation ID.
6. Click next and enter the confirmation ID given by the operator.
1. Go to windows cmd prompt
2. Enter slmgr.vbs /ipk xxxxxxxxxxxxxxxxxxxxxxx (your vol lic key)
3. slui 4
4. Call Microsoft 6324 8098 (Singapore), use the right number for you country.
5. Follow the operator instruction and give them the installation ID.
6. Click next and enter the confirmation ID given by the operator.
Saturday, 9 July 2016
WSUS registry setting
Copy the text below into a notepad and save as .reg format.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://localhost:8530"
"WUStatusServer"="http://localhost:8530"
"ElevateNonAdmins"=dword:00000001
"TargetGroupEnabled"=dword:00000000
"AcceptTrustedPublisherCerts"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"UseWUServer"=dword:00000001
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000003
"EnableFeaturedSoftware"=dword:00000001
"AutoInstallMinorUpdates"=dword:00000001
"IncludeRecommendedUpdates"=dword:00000001
"NoAutoRebootWithLoggedOnUsers"=dword:00000000
"RebootRelaunchTimeoutEnabled"=dword:00000000
"RebootWarningTimeoutEnabled"=dword:00000000
"RescheduleWaitTimeEnabled"=dword:00000001
"RescheduleWaitTime"=dword:00000001
"DetectionFrequencyEnabled"=dword:00000001
"DetectionFrequency"=dword:00000016
"AUPowerManagement"=dword:00000000
"NoAUAsDefaultShutdownOption"=dword:00000000
"NoAUShutdownOption"=dword:00000000
Note:
Set WUServer and WUStatusServer to your WSUS server ip address
ScheduledInstallDay - 1 through 7 = The days of the week from Sunday (1) to Saturday (7).
ScheduledInstallTime - Range = n; where n = the time of day in 24-hour format (0-23).
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://localhost:8530"
"WUStatusServer"="http://localhost:8530"
"ElevateNonAdmins"=dword:00000001
"TargetGroupEnabled"=dword:00000000
"AcceptTrustedPublisherCerts"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"UseWUServer"=dword:00000001
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000003
"EnableFeaturedSoftware"=dword:00000001
"AutoInstallMinorUpdates"=dword:00000001
"IncludeRecommendedUpdates"=dword:00000001
"NoAutoRebootWithLoggedOnUsers"=dword:00000000
"RebootRelaunchTimeoutEnabled"=dword:00000000
"RebootWarningTimeoutEnabled"=dword:00000000
"RescheduleWaitTimeEnabled"=dword:00000001
"RescheduleWaitTime"=dword:00000001
"DetectionFrequencyEnabled"=dword:00000001
"DetectionFrequency"=dword:00000016
"AUPowerManagement"=dword:00000000
"NoAUAsDefaultShutdownOption"=dword:00000000
"NoAUShutdownOption"=dword:00000000
Note:
Set WUServer and WUStatusServer to your WSUS server ip address
ScheduledInstallDay - 1 through 7 = The days of the week from Sunday (1) to Saturday (7).
ScheduledInstallTime - Range = n; where n = the time of day in 24-hour format (0-23).
Thursday, 7 July 2016
WSUS Post configuration fail
One of the reason it because of missing information in the UpdateServices-Services.xml.
File location: C:\Windows\System32\ServerManager\ComponentConfiguration\
Need to add a path in the xml. This path is used to store windows updates. Although you have specify it during setup time but it has fail to create it.
<VALUE>C:\WindowsUpdateXXXXXX</VALUE>
<?xml version="1.0" encoding="utf-16"?><INSTANCE CLASSNAME="ServerComponent_UpdateServices_Services"><PROPERTY NAME="ContentDirectory" TYPE="string"><VALUE> C:\WindowsUpdateXXXXXX </VALUE></PROPERTY><PROPERTY NAME="ContentLocal" TYPE="boolean"><VALUE>true</VALUE></PROPERTY></INSTANCE>
File location: C:\Windows\System32\ServerManager\ComponentConfiguration\
Need to add a path in the xml. This path is used to store windows updates. Although you have specify it during setup time but it has fail to create it.
<VALUE>C:\WindowsUpdateXXXXXX</VALUE>
<?xml version="1.0" encoding="utf-16"?><INSTANCE CLASSNAME="ServerComponent_UpdateServices_Services"><PROPERTY NAME="ContentDirectory" TYPE="string"><VALUE> C:\WindowsUpdateXXXXXX </VALUE></PROPERTY><PROPERTY NAME="ContentLocal" TYPE="boolean"><VALUE>true</VALUE></PROPERTY></INSTANCE>
Wednesday, 6 July 2016
Solarwind - To configure an insufficient hard disk space alert
To configure an insufficient hard disk space alert:
1) Click Start/All Programs/SolarWinds Orion/Advanced Alert Manager
2) Click View/Configure Alerts
3) Click New on the Manage Alerts window
4) Type 'Disk space low' or similar in the Name of Alert field on the General tab.
5) Check Enable this Alert
6) Click the Trigger Condition tab, and then select Volume from the Type of Property to Monitor list
7) Click Add
8) Select Simple Condition
9) Click is equal to, and then click less or equal
10) Click the first * and the click Volume/Volume Status/Volume Percent Available
11) Click 0 after is less than or equal to, and then type 5 (for a 5% alert)
12) Click the Trigger Actions tab, and then click Add New Action
13) Select your preferred means of notification, click OK, and then complete the displayed tabs as appropriate.
14) After completing the configuration of your selected alert action, click OK
15) If you want to specify an action to execute when this alert is reset, complete the following steps:
a) click the Reset Action tab
b) Click Add New Action
c) Select an action to execute when the alert is reset, and then click OK
d) Complete the displayed tabs as appropriate
e) Click OK
16) Click OK when you are satisfied with the configuration of your alert.
1) Click Start/All Programs/SolarWinds Orion/Advanced Alert Manager
2) Click View/Configure Alerts
3) Click New on the Manage Alerts window
4) Type 'Disk space low' or similar in the Name of Alert field on the General tab.
5) Check Enable this Alert
6) Click the Trigger Condition tab, and then select Volume from the Type of Property to Monitor list
7) Click Add
8) Select Simple Condition
9) Click is equal to, and then click less or equal
10) Click the first * and the click Volume/Volume Status/Volume Percent Available
11) Click 0 after is less than or equal to, and then type 5 (for a 5% alert)
12) Click the Trigger Actions tab, and then click Add New Action
13) Select your preferred means of notification, click OK, and then complete the displayed tabs as appropriate.
14) After completing the configuration of your selected alert action, click OK
15) If you want to specify an action to execute when this alert is reset, complete the following steps:
a) click the Reset Action tab
b) Click Add New Action
c) Select an action to execute when the alert is reset, and then click OK
d) Complete the displayed tabs as appropriate
e) Click OK
16) Click OK when you are satisfied with the configuration of your alert.
Tuesday, 5 July 2016
Telnet Email command
1. Telnet mail.domain.com 25 (Replace mail.domain.com with whichever mail server you want to use.)
2. helo your domain name
3. mail from:your email address
4. rctp to:destination address
5. data
6. Type your message
7. . (type a period and hit enter)
At that point, your email message should be queued and sent. To make it a little clearer, here's an example sending from fred.com to barney.com. Hit "enter after each line.
1. telnet mail.barney.com 25
2. helo fred.com
3. mail from:fred@fred.com
4. rcpt to:brubble@barney.com
5. data Hello Barney. Bowling tonight?
6. .
Hope that makes sense.
2. helo your domain name
3. mail from:your email address
4. rctp to:destination address
5. data
6. Type your message
7. . (type a period and hit enter)
At that point, your email message should be queued and sent. To make it a little clearer, here's an example sending from fred.com to barney.com. Hit "enter after each line.
1. telnet mail.barney.com 25
2. helo fred.com
3. mail from:fred@fred.com
4. rcpt to:brubble@barney.com
5. data Hello Barney. Bowling tonight?
6. .
Hope that makes sense.
Subscribe to:
Posts (Atom)

