Win 2008 Server

Windows 2008 Server
Windows 2003 Server
Tips and Tricks

Save and Restore Registry Security with Microsoft SubInACL

2017/04/29
By
Modified: 2017/03/03
SubInACL-Utility-in-Action

Problem You need to search and replace large registry databases with a set of new values.  You have a third-party utility to do the job, but this utility can only update values writable by administrator.  Thousands of registry keys are owned by NT Service\TrustedInstaller and protected even for Administrators.  What to do? If you simply use REGEDIT to take ownership and add full rights to Administrator to all registry at once, you will definitely achieve the goal, but you will ruin the intricate security permissions for dozens of system service accounts that populate registry security.  Windows will run but many features like Windows Update will become broken. Solution The plan of…

Read more »


Moving Old ASP Sites to 2008 Server, IIS 7, and SQL 2008

2017/04/13
By
Modified: 2017/03/03
Moving Old ASP Sites to 2008 Server, IIS 7, and SQL 2008

It was time to move many sites from W2K3 Server (Windows 2003 Server) and SQL 2000 Server to a new W2K8 Server (Windows 2008 Server) and SQL 2008 Server.  And if I ever have to do it again, I will check with these notes. The greatest secret in technical life (and may be wider) is to change before you have to.  Anticipate and change before circumstances force you.  For a long time I was planning this migration, but I didn’t expect to go through so many hurdles and error messages.  Luckily, I found solutions that seem logical and clean.  So, let’s go into step-by-step details. COPY DATABASE AND SITES – Backup…

Read more »

PHP chokes server with TEMP files – Updated and Solved

2016/12/22
By
Modified: 2016/12/18
FastCGI Settings

I am running PHP on IIS 7.5.   This is a Windows 2012 Server.  Fresh clean install every time. The only way to access and delete these TEMP files are by using  a command prompt.  And this deletion procedure will run for several DAYS . . .   The Problem The story goes like this.  Fresh new instance of a Windows 2012 Server is great.  It runs fast and smooth.  But after 5 or 6 months MySQL service having hard times to start up.  And a little later – couldn’t start at all.  The only way I can make it run is to start it from a command prompt.  And finally the whole server just slows…

Read more »

Remotely Power Up or Wake Your Wired PCs Over the Internet

2016/11/26
By
Modified: 2016/11/15
Power-Up

Idea – Reduce Noise, Save on Electricity My electric company installed an electricity consumption gadget, and ability to monitor usage online. A few month into the experiment I realized, that I can easily reduce electric usage, if I turned off my server. It is been over a year since I migrated all my sites to Amazon cloud, so now my server only needs to be on, when I need it on. All the nights and 90% of all work hours it can be off.  But how to do that? I recall seeing something in BIOSes of Intel motherboards called Wake-On-LAN.  First time I saw something like this was in May of…

Read more »

Category Pagination with WordPress on Windows 2008 Server and IIS 7

2013/11/06
By
Modified: 2013/10/07
info_PHP_on_XP

First – The Problem  I can’t get my hands around this problem with WordPress (3.0.1) on Windows 2008 Server.  I need to solve this, because it keeps me from registering with Google AdSense.  They are saying that “Site Navigation is Broken”.  And this is only a problem on Windows 2008 Server and IIS 7.  The exact same site with exact same data works properly on Win XP and IIS 5.1. If I select posts by category (or by month), pagination links at the bottom of the page do not have category loaded in their HREF(s).  So, if user tries to go to next pages, he gets to page 2, or 3, or 4…

Read more »

Movng WordPress Site to a W2K8 Server and IIS7

2010/07/19
By
Modified: 2011/03/15
Movng WordPress Site to a W2K8 Server and IIS7

If you like to be in control of all your servers, you would love the gentle nature of WordPress installation.  Installation includes PHP,  MySQL  and  WordPress components.  All steps can be done manually.  Instead of running install, you can just copy files and directories, and make manual configurations adjustments.  It is like labyrinth of  DLL(s) meets the non-DLL world for the first time.   Check IIS7 Installed Components Windows Server 2008 comes with IIS 7.  Windows 7  and Server 2008 R2 come with IIS 7.5. Check that CGI is installed under IIS Roles (Windows Features).   Installing PHP Download and install latest PHP. Warning 1: Pick “nts” (non-thread-safe) package, if you are…

Read more »