Tag Archives: prevent

Windows: Prevent windows from installing a specific device(driver)

Hi,

Windows Group Policies have to ability to prevent installation specific devices.

Continue reading Windows: Prevent windows from installing a specific device(driver)

Windows PE: Disable DPI autoscaling

Hi,

if you start an application on Windows PE which is not “compatible” with the Windows Display autoscaling feature the applications forms is shown “deformed”. Fonts does not scale down and are shown bigger then the controls itself.

You can prevent Windows from doing this 🙂
Continue reading Windows PE: Disable DPI autoscaling

Windows: Prevent from release a DHCP lease on shutdown

Hi,

Windows by default releases the DHCP lease on shutdown. This is not useful if you often have to boot Windows and you want (if possible) the same IP Address Windows has before booting.

By default Windows interprets DHCP Option 2 submitted by the DHCP Server and if this is not set it release the lease.
Continue reading Windows: Prevent from release a DHCP lease on shutdown

Windows: Only register primary IP Address in DNS

Hi,

if you want to change the IP Address (new Address is in the same subnet) a of Windows Server by a minimal downtime for the users?

In pure Active Directory domains this is not a problem because the server itself updates its A Record at the DNS server and the Active Directory replicates the entry immediately.
In large environments with a heterogeneous DNS structure the TTL of the DNS entry respectively of the DNS zone becomes very important, because the entry is cached for this time by the requesting server, so the time when the new DNS A record reaches  each DNS Server can take some time.
Continue reading Windows: Only register primary IP Address in DNS

WordPress: prevent comment spam on wordpress

Hi,

on wordpress based websites comment spam is all around.

If you are hosting WordPress on a apache webserver there is a simple but effective way to refuse automatically created comment spam from bots:
Redirect all HTTP Post requests directed to the wordpress comment form (wp-comments-post.php) and which do not have a referer from your site or has an empty User-Agent string away from your site. For example to the bots localhost 🙂

The only requirement is the apache module mod_rewrite and a .htaccess file in the root folder of your blog.

If not exists, create a .htaccess file within the root directory of your blog, or add the following directive to an already existing .htaccess file. Replace “www.yourdomain.com” with the address of your website.
Continue reading WordPress: prevent comment spam on wordpress