create new service server 2003

To create a new service in server 2003 or xp you use the sc.exe tool.

REMEMBER TO ADD A SPACE AFTER EVERY EQUAL SIGN!!!! THIS IS VERY IMPORTANT!

sc create “my service” binPath= “c:\myfile.exe” type= “own” start= “auto” DisplayName= “my service” error= “normal”

Obviously replace “my service” with whatever you want to call the service . . . → Read More: create new service server 2003

Howto: Back up Server 2003 Users Groups Shares Permissions Program Names Network Settings

I cam across two amazing article the other day detailing how to do some great stuff from the windows command line.

synjunkie knows his shit:

Command-Line-Ninjitsu Command-Line Kung Fu

I stumbled upon it because I was about to format a server but wanted to retain this information:

All local groups/users and their respective permissions for . . . → Read More: Howto: Back up Server 2003 Users Groups Shares Permissions Program Names Network Settings

poweredge 2950 server 2003 install raid driver and repair windows

Objective

Installing (or repairing) Windows Server 2003 x64 on a Poweredge 2950 with Perc 5i / 6i (LSI logic) RAID drivers.

Why won’t the installer recognize the RAID controller?!?!? Keep reading for the answer!

Background

This was a nightmare but i finally figured out how to get windows setup to read my RAID drive . . . → Read More: poweredge 2950 server 2003 install raid driver and repair windows

Howto: Start Plug and Play service in Server 2003

Need to start the plug and play service in server 2003?

sc config PlugPlay start= auto net start “PlugPlay”

Howto: Migrate IIS Sites to Another Server

First you need to install the  IIS 6.0 Migration Tool

For each Web site and virtual directory on the source server, you must create a corresponding Web site and virtual directory on the target server. Later in the migration process, you will copy the content into these Web sites and virtual directories. Create the Web . . . → Read More: Howto: Migrate IIS Sites to Another Server

Howto: Change siteid of website in IIS 6.0

The easiest way to change the IIS site id is to create a .bat file like this: (Assuming that 1135282223 was the id of your current site and 5 was the ID you’d like to have)

CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs STOP_SERVER W3SVC/1135282223 CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs MOVE W3SVC/1135282223 W3SVC/5 CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs START_SERVER W3SVC/5

What is %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs ? It is . . . → Read More: Howto: Change siteid of website in IIS 6.0