This week I had a really extreme situation with a server. For some reason I couldn’t install a specific patch for a program on the server. After some investigation a file which can’t be copied was the issue. First thing was rebooting it, that didn’t solve the issue. After that there was only one option left, but I wouldn’t like to use this option on a server. After a talk with another person we decided to do it. We killed all files from unknown processes and stopped all services which were not nescessary. Then tried to install the patch again, and guess what, it worked this time. Safed by control shift escape.
It has been a while ago since I installed Windows ME on a pc but today I did have to do it. It’s really cool the setup goes really fast when you compare it with Vista. Microsoft doesn’t release any new patches for Windows ME, during Windows update you will get a nice warning that Microsoft doesn’t give support anymore on the product. It was nice working again with Windows ME, but I will go back to Vista, I begin to like it 😉
As in each software package there are many changes in Windows 2008. Making shares is divided in multiple steps and Acces-Based Enumeration is included. In this tutorial I will describe the steps that are needed to create shares in Windows 2008.
In Windows 2008 creating shares has changed a bit, making a share can be done via Share and Storage Management, this contains a few steps on how to create a share.
In this tutorial I will walk through all steps and will explain the options their are.
First we start up the Share and Storage Management, you can find it under the administrative tools.
You will get the following screen:
Klik on action and choose the option new share you will get the following screen:
In location you can manually fill in a directory or select one via browse from which you want to make a share. Besides this it is also possible to create a new directory and share it. In the detail screen you can see some nice things: is VSS enabled, is indexing enabled and is HA enabled. Click on next
The next step is to setup the NTFS permissions. We could choose to leave it default or could assign new permissions. When we did the setup we can click on the next button.
In this screen you can enable sharing via SMB or NFS or both. In this case the NFS service is not installed so we could not select it. In the field Share Name we give the name of the share that we want to create. Click on next to continue.
The next screen contains a new feature, Access-Bases Enumeration, in Windows 2003 this was an apart feature that was added after SP1. ABE makes it possible to hide directories and files for users who have no rights on them. Besides ABE you have the possibility to setup offline files and folders so that a user for example can’t make the share offline available. Besides the two settings mentioned you have the possibility to maximize the concurrent users that can connect to the share. When all settings are correct click on the advanced button:
The next step will be to setup SMB permissions.This will contain default permissions so it will not take much work to set them up. Of course you can adjust this options if you like
One of the final options is new, DFS Namespace Publishing, here you can publish your share in an existing DFS structure
As with all wizards in Windows 2008 you will get a short summary before creating the real share. Click on the create button to create the share as specified.
When everything goes OK you will receive the next screen that tells you that the share is created successfully:
This tutorial will explain how you can get PHP and Mysql working with IIS 7. In IIS 7 several things have changed which will make the installation a little bit complicated then it was in previous versions or as with Apache. I found out the issues myself also and searched on Google for the solutions.
First download the following software:
- PHP 5.x (the zip file is the easiest)
- Mysql 5.x
When you downloaded both software packages we can start with installing. We will divide this is a few steps:
- install PHP
- configure IIS/PHP
- install Mysql
The zip file contains all the files you need, extract them to a location such as c:\Program Files\PHP.
You will see the directory contains a few sub-directories:
Especially the “ext” directory is important because it contains all extensions to expand PHP.
The next step is configuring PHP and IIS. The configuration from PHP will be done by modifying the file “php.ini” which is a simple text file. This file can be found in the root of the PHP directory and needs to be copied to “c:\Windows”. You can make adjustments if you like, for example switch on some extensions.
For using PHP with Mysql we need to remove the “;” in front of the next line: extension=php_mysql.dll.
After this is done we need to copy some files: “php_mysql.dll” which can be found in the “ext” directory, and both “libmysql.dll” and “libeay32.dll” from the PHP directory, all of them need to be copied to “c:\windows\system32”.
When this is done we need to configure IIS. The IIS configuration is not much work but first we have to add some components because they are not installed by default. So start “add and remove programs” and choose the option “windows parts ..”. The next options need to be enabled:
When this is installed we could continue with configuring IIS. Start up the IIS Management and choose the optie “Handler mappings”. When this is opened you will get an option to add a “add script mapping”, when choosing this you will get the following screen:
Fill in all fields as above except “executable/file path” here you need to select the directory where PHP is installed. Press OK, Windows will ask you if this needs to be applied to all IIS parts, click OK this will safe you a lot of time.
The handler mappings will look like this:
To check if PHP is configures OK create a PHP file with the following content:
Safe this file to the root of your webserver and open the file via Internet Explorer. When the installation is successful you will get an overview of all the settings you did in the PHP.ini
The last step is installing Mysql you can use the default steps for this. The only option that may need to be changed is the type of server. For a developers machine you need to select “developer” if you want to use it for production then this option is not recommended.
Microsoft has release a list with programs that may not work or lose functionality after installing SP1. Microsoft recommands to have a look at this list before installing SP1. Software such as BitDefender and Zone Alarm Security Suite may not work anymore after the installation of SP1. Microsoft tells on their site that if you have this issues you need to contaact the vendor of the software. Most vendors who are listed have brought out a patch for their software to get it working again.
This week I had a nice issue with Vista. A new server was very slow when using RDP to connect to it, when working via the console on the server everything was OK. After some troubleshooting I started searching on Google. And soon I found out that I was not the only one who had this issue. A few simple commands will solve the issue: netsh interface tcp set global autotuninglevel=disabled in some cases you need to type in some additional commands: netsh interface tcp set global rss=disabled the first sollution helped for me. The feature that is switched off is Autotuning, according to some websites, this will send/receive larger packages the XP did, not every router/switch can handle this.
According to some sites on the internet SP1 for Vista should reach the RTM status on 1 February. Microsoft denies the rumor. The servicepack will be relaased in 2 phases: Phase 1: contains English, French, Spanish, German and Japanese. Phase 2 will be brought out 2 weeks later and will contain all the languages.
According to analists Vista SP1 will be released within 3 weeks. Last thursday Micrisoft released a new version of the servicepack to test users. The servicepackshould contain fixes for the issues that people now are experiencing with Vista. Their is an expectation that the business market will migrate to Vista as son as SP1 is available.
This weekend my brother had a big problem with his laptop. While installing some updates his laptop went off because to less battery. After turning it on again the only thing what was displayed wast this screen. I knew their could be some issues after installing some updates but I was not sure if this was that issue. I started the laptop in safe mode, but even that didn’t worked. After trying somethings in the registry we could backup the data and reinstall the laptop. This because they guys from HP only deliver a restore DVD and not a normal Windows installation disc.