Windows server 2008

  kolovoz, 2007  
P U S Č P S N
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

08/2007 (8)

Dnevnik.hr
Gol.hr
Zadovoljna.hr
Novaplus.hr
NovaTV.hr
DomaTV.hr
Mojamini.tv

Comments On/Off

Windows server 2008 Links 
Start Page
On Technet
Download Beta 3
All about IIS

 
by Robert Petrunic

 
RSS

 Links to other blogs
Server Core
Windows Virtualization

 30.08.2007., četvrtak

Blog moved !!!

This blog will be maintained on a new address:
http://windowsServer.bloger.hr

Thanks for understanding

- 09:09 - Comments (0) - Print - #

 18.08.2007., subota

How to install Virtual server Web application on Windows server 2008 CORE version

As I promised, Today I will guide you trough the process of installing Virtual server Web application for Virtual Server 2005 R2 SP1 on Windows server 2008 CORE. This is something totally not supported. It requires a little more knowledge of IIS, because you will have to change some things by directly editing IIS 7 configuration files (or using appcmd.exe tool).

So to start you have to:

1. Install Mozilla Firefox or Opera (I recommend Opera) as explained in my post named Surfing from Windows server 2008 CORE version?
2. Install Virtual server 2005 R2 SP1 on your Windows server 2008 CORE box as expained in my post named How to install Virtual server 2005 R2 SP1 on Windows server 2008 CORE version
3. Install IIS components needed by Virtual server Web application as explained in my post named How to install IIS 7 on windows server CORE

Then you have to:
4. Copy all the files and subdirectories located in c:Program FilesMicrosoft Virtual ServerWebSite from another machine that has Virtual server Web application installed and running to the same directory on your Windows server 2008 CORE box. You could use robocopy command. For instance on my installation (I was copying those files using USB stick), the command looks like this:
robocopy "E:Virtual server 2005 R2 SP1webfolder" "C:Program FilesMicrosoft Virtual ServerWebSite" /mir

5. Create Application under Defaut Web Site.
Change your directory to c:Windowssystem32inetsrv and run appcmd.exe:
appcmd.exe add app /site.name:"Default Web Site" /path:/VirtualServer /physicalPath:"C:Program FilesMicrosoft Virtual ServerWebSiteVirtualServer"

6. Now we need to enable CGI handler in IIS. We will do this by editing applicationHost.config configuration file located in c:Windowssystem32inetsrvconfig directory.
There are 3 ways to do it - I will choose the simpliest way - not the best.
In applicationHost.config locate section:
handlers accessPolicy="Script, Read"
and add execute method between script and read.
The line should now look like this:
handlers accessPolicy="Script, Execute, Read"

7. Next we need to enable Windows authentication, and disable anonymous authentication. This is also located in ApplicationHost.config file.
Locate section
windowsAuthentication enabled="false"
Change false to true. The line should now look like:
windowsAuthentication enabled="true"

Locate line
anonymousAuthentication enabled="true" userName="IUSR"
Change true to false. The line should now look like:
anonymousAuthentication enabled="false" userName="IUSR"

8. Next we need to allow Virtual server application to be run using CGI handler. We will do this the "hard" way. In order not to type text into applicationHost.config we will let Virtual server installation do this for us. Start Virtual server 2005 installation, and choose to install only Virtual server Web application. Setup will fail and it will roll back, but inside our applicationHost.config file it will create few lines allowing VSWebApp.exe to execute on IIS.

That's it. It should work now.

Open Opera browser and type http://localhost/VirtualServer/VSWebApp.exe, enter your username and password and enjoy.

Stay tuned

- 18:20 - Comments (0) - Print - #

 17.08.2007., petak

Change you desktop background picture in server CORE

Is it possible? Yes thumbup

I always want to see information about computer name, memory, IP address etc. on my serevr desktop, so I'm using BGinfo for this purpose.
1. Download BGInfo, and copy it on your server 2008 CORE box.
2. Configure BGInfo and create template.
3. Create bat file that looks something like this one
c:BGInfoBGinfo.exe c:BGInfoTemplate.bgi /timer:0

4. start regedit by typing regedit in command prompt
5. Navigate to
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun

6. Create new string value named as you wish, and point it to previously created bat file
7. log off and log back on - you will have your background picture

Using similar procedure you could autostart Opera or Firefox browser


- 16:08 - Comments (0) - Print - #

How to install IIS 7 on windows server CORE

This post will guide you trough process of installing IIS 7 components on CORE version of windows server 2008.

We will install all the components needed by Virtual server Web Application so this post will bring us one step closer to Virtual server Web application installed on Windows server 2008 CORE version.

1. Log on to your Windows server 2008 CORE box
2. in command prompt type oclist. This command will show you all the components on CORE version of windows server you could install. The part we are interested is IIS-WebServerRole, and WAS-WindowsActivationService
3. Save the following commands in a file and name it something.bat. After that run something.bat on your Windows server 2008 CORE box. Those commands will install all the components needed by virtual server web application on your CORE box.


start /w ocsetup WAS-WindowsActivationService
start /w ocsetup IIS-WebServerRole
start /w ocsetup IIS-CGI
start /w ocsetup IIS-WindowsAuthentication
start /w ocsetup IIS-IIS6ManagementCompatibility
start /w ocsetup IIS-Metabase


Those commands should be run in this order because some of the components are dependent on other
If you type the command without start /W command prompt will give you prompt instantly back and you wont know when the installation is finished. By using start /W you will get prompt back after the installation is finished.
When start /w ocsetup WAS-WindowsActivationService finishes it will install WAS-WindowsActivationService and WAS-ProcessModel.
When start /w ocsetup IIS-WebServerRole finishes it will install IIS-WebServerRole, IIS-WebServer, IIS-DefaultDocument, IIS-DirectoryBrowsing, IIS-HttpErrors, IIS-StaticContent, IIS-HttpLogging, IIS-RequestMonitor, IIS-HttpCompressionStatic, IIS-RequestFiltering. All those components except IIS-WebServer are located in IIS-WebServerRole, and under WAS-WindowsActivationService tree.
If we run command start /w ocsetup IIS-WebServerRole before start /W ocsetup WAS-WindowsActivationService none of those components will be installed automatically, and we will have to run each command at the time. This is the reason I told you to run those command exactly in this order I suggested at the beginning.
4. Check if the installation of IIS components was ok. Run firefox you installed earlier as explained in my post Surfing from Windows server 2008 CORE version? and type http://localhost. You should receive IIS 7 start page.


There is also another way to install IIS 7 on Core version of Windows server 2008. You could do it with packadge manager pkgmgr.
For instance i f you want to install only WAS and Web server role, you willl write:

start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService

More info on IIS.net

Stay Tuned
- 13:17 - Comments (0) - Print - #

 16.08.2007., četvrtak

How to install Virtual server 2005 R2 SP1 on Windows server 2008 CORE version

Virtual server 2005 is great product and as such is needed on CORE version of Windows server 2008. Actually CORE version of Windows server 2008 is Ideal Host solution for Virtualization.

As you probably know, virtualization will be part of OS with Windows server 2008 (RTM+180 days), so you may ask why do I need Virtual server on Windows server 2008 CORE version. The answer is - you don't if you don't want to, but if you want to - you may have it smokin. There is one more reason smijeh Windows server virtualization will be available only on 64-bit platforms, so for 32-bit platforms we will probably use Virtual server...

If you want to install Virtual server 2005 R2 SP1 on your Windows server 2008 CORE version, all you have to do is to uncheck the last option in setup screen, and installation will be as smooth as it could get. In order to manage Virtual server on CORE version on Windows server 2008 you will have to install management web page on another box and connect to it. If you leave defaults on your installation of Virtual server on CORE box, remote management will work as expected.

There are some things you must have in mind when you install Virtual server 2005 R2 SP1 on CORE version of Windows server 2008.
You can not install Virtual server on a virtualized CORE machine. The reason is that Virtual server does not run in virtual environment (this has nothing to do with CORE version of Windows server 2008)

Virtual server 2005 R2 SP1 is not supported on Windows server 2008 CORE (not yet - after all Windows server 2008 is still in beta)

You can not run web administration on CORE version of windows (that is - if you don't read part 2 of this document njami

You can run VMRC client on Windows server 2008 CORE, it works just fine


Let's dive in to installation step-by-step:
1. In your Windows 2008 server CORE, installed on physical box - not in virtual environment, start installation of Virtual Server 2005 R2 SP1

2. On Virtual server setup screen click on Install Microsoft Virtual server 2005 R2 SP1

3. On License agreement page click on I Accept the terms in the license agreement, and click next

4. Enter your username and organization (Serial number is already entered) and click next

5. On setup type page Choose Custom and click next

6. Chose not to install Virtual server web application and then click next

7. On Configure Components page leave the option Enable Virtual server exceptions in Windows Firewall checked and then click next

8. On Ready to install page click Install button

9. When the installation finishes, click Finish

Virtual server 2005 R2 SP1 is installed on your Windows server 2008 CORE box. Now we have to check if the service is started.
In command prompt type:
sc query "Virtual Server"

Virtual server should be started if everything went well during setup.

To access virtual server remotely you have to install Virtual server web application on some other machine.

In one of my next posts read How to install Virtual server web application on Windows server 2008 CORE .

Stay Tuned

- 13:49 - Comments (0) - Print - #

Surfing from Windows server 2008 CORE version?

Is it possible? Yes it is. smokin

As I write in previous post, Windows server 2008 CORE version is capable of running GUI applications as long as they don't use things that are stripped out of CORE version like shell API.
So, how to install Internet explorer on CORE version?
Honestly I don't know and I don't think this is possible at the time, but you could install Mozilla Firefox smijeh.

Download Firefox 2 (5.7MB) and run install on windows server 2008 CORE version.
After installation run firefox from
c:Program FilesMozilla FirefoxFirefox.exe
and enjoy surfing the Internet.

Be careful surfing the Internet from server OS is not advisable thing to do. The reason for this post is to show you that CORE version of windows server is capable of running GUI applications, and most off all we will need firefox for Virtual server 2005 R2 SP1 web administration installation.

There are some things that will not work in Firefox, like if you try to open some file using file/open, or if you try to save something using file/save. This is because dialog box for saving and opening files is part of the API that comes with explorer shell, and as such does not exist in CORE version of Windows server 2008.

Since Firefox has some issues when used with Virtual server Web application I advise you to download and install Opera (4.61MB)

After installation run opera from
c:Program FilesOperaOpera.exe
and once again - enjoy surfing the Internet. smijeh


Stay Tuned


- 10:30 - Comments (0) - Print - #

Windows server 2008 CORE version - what's that?

Server Core is a special version of Windows server 2008. It has no GUI. Actually it has, but it lacks windows explorer and all the nice stuff that depends on it. It also lacks lots of Windows functionality and applications, like Internet explorer, Windows media player, it does not support audio etc. Because of that Windows server 2008 CORE version is "lite" version of windows, and you could see that already at installation time. It takes about 6-8 minutes to install it thumbup.

Having that in mind lots of People think that CORE version of windows is something you could manage only from command line, and this is so not true smijeh. You could install most of applications not dependent on windows explorer shell api, and you could run almost any stand alone program with GUI. For instance you could run all the tools from sysinternals.com (Mark Rusinovich is now part of Microsoft stuff). You could manage Windows server 2008 CORE version from other Windows server 2008 or Vista computer using familiar tools, or you could write your own application that will be a wrapper around Windows server 2008 CORE CLI (command line) management tools.

So, CORE version of windows server 2008 is much lighter (smaller footprint than normal installation of windows server 2008), more stable (stability of Windows server 2008 is something not questionable), more secure (if this is possible when compared to Windows server 2008 "full" version), and last but not least, CORE version of Windows needs less management, it needs less patches, because it has fewer components to be patched.

On this blog in part dedicated to Windows server 2008 CORE you will have the opportunity to read about following things:
1. Components that come with Windows server 2008 CORE version of windows
2. How to install applications like Virtual server 2005 R2 SP1 and similar applications, how to start and use stand alone tools, how to browse from CORE version
3. What do you have to do after Windows server 2008 server CORE installation and how to do it (change IP, change domain membership, activate windows etc.
4. Open remote firewall administration and remote administration for several components like event viewer, services etc.
5. Install and administer components like DHCP, DNS, DC, IIS, disks, users, logs etc.

Lots of this information is available on Microsoft site (see links on this blog), and also on some other blogs dedicated to Windows server 2008 CORE, but you will also found some information NOT explained anywhere else.
One of this things is one of the first post to follow - it's about how to install Virtual server 2005 R2 SP1 web administration part on Windows server 2008 CORE. Before that I will explain how to surf from Windows server 2008 CORE version - if you need to njami.

Stay tuned
- 09:40 - Comments (0) - Print - #

 15.08.2007., srijeda

Hello World

For all of you interested in new stuff Windows server 2008 will give us....
- 11:00 - Comments (0) - Print - #