How to Install Windows on a new computer
From MohidWiki
Contents
- 1 Windows Installation
- 2 Install Drivers
- 3 Install Antivirus
- 4 Connect to Network
- 5 Run Windows Updates
- 6 Activate Windows - Windows Vista and Windows 7
- 7 Connect to Maretec Domain
- 8 Change computer IP - if it is a server machine
- 9 Format non-operating-system disks or partitions
- 10 Create tipycal work folders and share them
- 11 Enable Remote Desktop Connections and Access to folders
- 12 Prepare for MOHID runs
- 13 Need to backup files?
- 14 Need to create virtual machines for users?
- 15 Your Machine is now Ready for use!!
Windows Installation
If the machine is intended to be a server, use windows server; in the other end if the machine is intended for desktop users, or to run use windows 7.
Windows 2008 server 64 bit should be used for the server machines.
For user computers use Windows 7 Professional 32bit or 64bit if your computer has more than 2GB RAM.
This operating systems are available from \\davinci\Software\
REMINDER
REMIND NOT TO CONNECT TO ANY WEB PAGES UNTIL THE WINDOWS UPDATES AND ANTIVIRUS INSTALLATION ARE DONE
Windows 2003 Server
This instalation was performed with Windows 2003 server R2 Enterprise Edition.
- If installing in computers with SATA drives, RAID has to be disconnected. Access BIOS pressing [del] at startup. In BIOS menu select "Integrated Peripherals" and then set "SATA RAID/AHCI Mode" to "Disabled" if it is currently set to "RAID". If the settings were already set to "Disabled" (default) do not do anything.
- If having several HD choose one between 100-200GB as the primary HD defining it in BIOS (in Advanced BIOS Features -> Hard Disk Boot Priority). This drive will be the one to install the operating system, later on.
- Exit BIOS saving settings if have done any changes (F10).
- Insert Windows CD in drive.
- Boot the computer (if coming from step 1 computer is automatically booted) assuring that will boot from cd (try first, if not booting from cd, check info on startup screen to know shortcut keys to boot menu ([del] for BIOS or could have an independent menu (e.g. [F12] but it may change according to machines)).
- Appears the Windows Setup window.
- Wait for instructions while windows is loading drivers.
- Press Enter to continue the installation.
- Agree with licence terms (F8).
- Partition Definition: Delete ALL defined partitions (including the one already with the operating system since the drive will be formatted), if any.
- In the same window create a partition for the operating system (c:\): If you have several HD the partition should be done in the disk defined before as primary (around 100-200MB HD). Choose to install the operating system in this partition pressing ENTER.
- Partition will be formatted and all information will be lost. Accept the formatting option.
- Wait while formatting partition.
- After formatting and copying files, computer restarts.
- Setup will continue after restart. Wait for the instructions.
- Customize Regional and Language Options clicking "Customize".
- "Regional and Language Options" window appears and on "Regional Options" tab select "Portuguese(Portugal)" format and click "Customize" button.
- "Customize Regional Options" window appears and on "Numbers" tab change "Decimal Symbol" for point (.) and "Digit grouping symbol" for comma (,).
- On the same window select "Currency" tab and change also "Decimal Symbol" for point (.) and "Digit grouping symbol" for comma (,).
- Click "OK"
- On the "Regional and Language Options" window on "Location" select "Portugal"
- On the same window, select "Languages" tab.
- Click "Details".
- "Text Services and Input Languages" windows appears. In "Installed Services" click "ADD" button.
- In "Input language" select "Portuguese(Portugal)" and in "Keyboard layout/IME" check "Portuguese". Click "OK".
- In "Default input Language" select "Portuguese(Portugal)". Click "OK".
- Back to "Regional and Language Options" window, in "Advanced" tab, select again "Portuguese(Portugal)" language. Click "OK".
- Click "Next" for next setup window.
- Enter name and organization and "Next"
- Enter windows key and "Next".
- Select "Per Device or Per Use" radio button and "Next".
- Define computer name and administrator password.
- Define time if wrong and time zone and "Next"
- Define Network settings. Choose "Typical settings" radio button and "Next"
- Define Nework Domain in "Yes, make this computer..." radio button, write MARETEC and "Next".
- Define administrator login and "OK".
- If Appears box with "An invalid domain specified..." it does not recognize the domain now because of lack of network drivers. Say yes to proceed for now and ignore. Network drivers will be installed later.
- Computer restarts automatically.
Windows 2008 Server
This instalation was performed with Windows 2008 Server Datacenter 64 bit (32 bit version did not work with recent machines - control panel and windows update failure).
- Same first steps as Windows 2003 installation before booting from cd.
- After booting define location and keyboard languages (Portugal and Portuguese).
- Start Installing.
- Choose the version to install: Windows 2008 Server Standard (Full Installation). (Standard edition is enough for running models).
- Accept the licence agreement.
- Choose a custom install (clean install from zero).
- Window to choose where to install windows. In case of several disks it should be the HD around 100-200 GB. If have only one disk should create partitions (one to install OS around 100-200GB and the remaining space in the other partition (work) should be > 200-300GB).
- If going to create partitions, disk options appear clicking "Advanced" in the same window. Click "New" to create a partition for OS (around 100-200GB). Click "Format" to format the just created partition [nothing appened]. Nothing is done for now in the secondary partition.
- Select the just created partition to install windows to, and click "Next".
- Wait for instructions (includes several restarts).
- Insert Administrator Password.
Windows XP
This installation was performed with Windows XP w/ SP3.
- Same first steps as Windows 2003 installation before booting from cd.
- Appears the Windows Setup window.
- Wait for instructions while windows is loading drivers.
- Press Enter to continue the installation.
- Agree with licence terms (F8).
- Partition Definition: Delete ALL defined partitions (including the one already with the operating system since the drive will be formatted), if any.
- In the same window create a partition for the operating system (c:\): If you have several HD the partition should be done in the disk defined before as primary (around 100-200MB HD). Choose to install the operating system in this partition pressing ENTER.
- Partition will be formatted and all information will be lost. Accept the formatting option.
- Wait while formatting partition.
- After formatting and copying files, computer restarts.
- Setup will continue after restart. Wait for the instructions.
- Customize Regional and Language Options clicking "Customize".
- "Regional and Language Options" window appears and on "Regional Options" tab select "Portuguese(Portugal)" format and click "Customize" button.
- "Customize Regional Options" window appears and on "Numbers" tab change "Decimal Symbol" for point (.) and "Digit grouping symbol" for comma (,).
- On the same window select "Currency" tab and change also "Decimal Symbol" for point (.) and "Digit grouping symbol" for comma (,).
- Click "OK"
- On the "Regional and Language Options" window on "Location" select "Portugal"
- On the same window, select "Languages" tab.
- Click "Details".
- "Text Services and Input Languages" windows appears. In "Installed Services" click "ADD" button.
- In "Input language" select "Portuguese(Portugal)" and in "Keyboard layout/IME" check "Portuguese". Click "OK".
- In "Default input Language" select "Portuguese(Portugal)". Click "OK".
- Back to "Regional and Language Options" window, in "Advanced" tab, select again "Portuguese(Portugal)" language. Click "OK".
- Click "Next" for next setup window.
- Enter name and organization and "Next"
- Enter windows key and "Next".
- Define computer name and administrator password.
- Define time if wrong and time zone and "Next"
- Define Network settings. Choose "Typical settings" radio button and "Next"
- Define Nework Domain in "Yes, make this computer..." radio button, write MARETEC and "Next".
- Define administrator login and "OK".
- If Appears box with "An invalid domain specified..." it does not recognize the domain now because of lack of network drivers. Say yes to proceed for now and ignore. Network drivers will be installed later.
- Computer restarts automatically.
Windows Vista
This instalation was performed with Windows Vista Business 64 bit (32 bit version failed to manage physical memory in recent machines with RAM higher than 3GB).
- Same first steps as Windows 2003 installation before booting from cd.
- After booting define location and keyboard languages (Portugal and Portuguese).
- Start Installing.
- Accept the licence agreement.
- Choose a custom install (clean install from zero).
- Window to choose where to install windows. In case of several disks it should be the HD around 100-200 GB. If have only one disk should create partitions (one to install OS around 100-200GB and the remaining space in the other partition (work) should be > 200-300GB).
- If going to create partitions, disk options appear clicking "Advanced" in the same window. Click "New" to create a partition for OS (around 100-200GB). Click "Format" to format the just created partition [nothing appened]. Nothing is done for now in the secondary partition.
- Select the just created partition to install windows to, and click "Next".
- Wait for instructions (includes several restarts).
- Insert Administrator Password.
- Follow simple settings instructions. In automatic updates select the reccommended later on you will change this settings.
Windows 7
This instalation was performed with Windows 7 Professional (32 bit version).
- Same first steps as Windows 2003 installation before booting from cd.
- After booting define location and keyboard languages (Portugal and Portuguese).
- Start Installing.
- Accept the licence agreement.
- Choose a custom install (clean install from zero).
- Window to choose where to install windows. In case of several disks it should be the HD around 100-200 GB. If have only one disk should create partitions (one to install OS around 100-200GB and the remaining space in the other partition (work) should be > 200-300GB).
- If going to create partitions, disk options appear clicking "Advanced" in the same window. Click "New" to create a partition for OS (around 100-200GB). Click "Format" to format the just created partition [nothing appened]. Nothing is done for now in the secondary partition.
- Select the just created partition to install windows to, and click "Next".
- Wait for instructions (includes restart).
- Insert a name for the user and PC.
- Insert Password.
- Follow simple settings instructions. In automatic updates select the reccommended later on you will change this settings.
Install Drivers
WARNING For security reasons do not connect to any web pages before windows updates are processed and antivirus installed and updated!!!.
- Install Motherboard and network drivers from motherboard disc.
- Install Graphic drivers from graphic board disc. (See note)
- Go To device manager to check if all drivers are correctly installed (no yellow interrogation point). If any, try to install from motherboard cd.
(Note for windows server 2003 32 bit installation) - If there is no driver for that system (appened with NIVIDIA 9600 and 9800 GT board)- [Process to be done from another computer at this step (recommended) or after having all windows updates for security reasons!! - 2 steps ahead]:
- Download from nvidia web page driver for Windows XP 32 bit.
- Install but only proceed in the first step where files are copied to disk.
- Exit installation after this copy is done.
- Go to Hardware tab in System (control panel or rightclicking MyComputer and then clicking "Properties").
- Click Device Manager and in display adapter choose to update driver, saying that you will install from a list and don't search, choose from the list.
- Select option "Have Disk" and select the directory where the drivers were copyed (Usually c:\Nvidia\WinXp\....)
- Drivers will be installed and computer restarts.
(Note for windows server 2008 64 bit installation) - If choosing non vista install for graphic card does not run any process choose to install Vista 64bit version.
Install Antivirus
WARNING For security reasons do not connect to any web pages before windows updates are processed and antivirus installed and updated!!!.
- Install F-Secure using a cd/pen copied from another pc (copy from \\davinci\software\AntiVirus\F-Secure or ask David). With server 2003 and 2008 choose folder \ForServers.
- Update antivirus program.
- Run one complete scan in the antivirus and schedule weekly scans and daily updates for the computer.
Connect to Network
WARNING For security reasons do not connect to any web pages before windows updates are processed and antivirus installed and updated!!!.
- Connect network cable to computer
Run Windows Updates
WARNING For security reasons do not connect to any web pages before windows updates are processed and antivirus installed and updated!!!.
- Run Windows updates and restart if asked. After every update check again for updates because they may only appear after some updates are installed. Only stop when no more updates are available.
- Change settings in control panel "Security center -> Automatic updates" so that updates are not automatically installed (when this happens, computer restarts and processes running (as model runs) crash). Choose option to "Download updates automatically but let me choose when to install".
Activate Windows - Windows Vista and Windows 7
- Windows activation (windows key) is done in system (right clicking "Computer") and in "Activation" area in the bottom of the page (probably it will only work if you choose "change key").
Connect to Maretec Domain
- Go to "System" (in control panel or right-clicking MyComputer)
- On "Computer Name" tab click "Change".
- On "Member of" click "Domain" radio button and write maretec.ist.utl.pt
- Administrator Login appears. Insert Administrator credencials.
- Wait. When login process done message appears: "Welcome to the maretec.ist.utl.pt domain.".
Change computer IP - if it is a server machine
Servers should have an fixed IP, user computer should have automatic IP. In case of server, Go to network connection (control panel or taskbar) and in connection properties, in TCP/IP properites (TCP/IPv4 in 64bit) define:
Variable IP radio button.
IP : 192.168.20.? Substitute ? with a number lower than 100 and that is not used by other servers
SubNet Mask : 255.255.255.0
Default Gateway : 192.168.20.1
Preferred DNS Server: 192.168.20.1
Format non-operating-system disks or partitions
If installing from scratch, than the newly formed partitions must be formatted.
- Go to Computer Management on Administrative Tools (Control Panel)
- Click Disk Management
- In the unallocated disks right-click and select "New Partition"
- Next
- Select Primary Partition radio button.
- Next
- Next
- Check "Enable file and folder compression" box and click "Next"
- Click "Finish" to start formatting
The formatting can be done to several disks at-a-time.
- Create "Aplica", "Software" and "Users" folders.
- Share them with "authenticated Users" so that registred users can have read and write control on them.
Enable Remote Desktop Connections and Access to folders
- Go to system (control panel or right clicking Mycomputer and then "Properties")
- In "Remote" tab select "Allow users to connect remotely to this computer""
- OK
- If installing in a computer for running need to add the maretec/user to the allowed people to do remote.
In order to exist only one remote session open (for Server 2003 installations):
- In Administrative Tools double-click in "Terminal Services Configuration"
- Go to "Server Settings"
- Activate "Restrict each user to one session".
In Windows (not server editions) multiple users logins are not allowed. So to allow them (e.g. administrator, user),
- Backup the file C:\Windows\System32\termsrv.dll
- Go to \\davinci\Software\RDP_MultipleSessions
- Extract the zip
- Run the 32bit or 64bit exe as Administrator
- Patch (it will change the file termsrv.dll)
- Restart
To admit access to folders and so the machine can be seen in maretec network in explorer may also need to:
- connect network dicovery and file sharing in "Network and Sharing center" for Vista and Server 2008 systems. Or in "Advanced sharing settings" in windows 7.
Prepare for MOHID runs
- Install .net framework 1.1 (also framework 1.1 sp1 for 64bit - because it complains about compatibility) - see the link in mohid installer package or \\davinci\Software\MOHID.
- Install "office web components" - see the link in mohid installer package or \\davinci\Software\MOHID.
- Install the latest MOHID package from the MOHID web site or from \\davinci\Software\MOHID.
- Copy the library zlib1.lib to the machine directory windows\system32.
- Change "Regional Settings" so that point (.) is decimal separator and comma (,) is thousands separator.
- Install MOHID Studio from ActionModuler page (www.actionmodulers.pt) and ask for a license when starting the software ("License Request") and follow the steps indicated.
Need to backup files?
You should always backup your personal files in a internal or external disk saving the e-mail, desktop folders and all importat places where data is stored (preferetially everything except e-mail should be in D:, not in OS disk!). If creating a server, the software should be instaled and the profiles can be after added.
- Install the latest version of software "second copy" found in \\davinci\Software\Second Copy
- Add profiles to backup weekly or daily "Aplica" folder (or other important work folder) to a separate drive if possible (e.g. F:\ drive)
Need to create virtual machines for users?
- Install program "VMWare" from \\davinci\Software\VMWare\Server.
- After installation needs to restart.
- Follow How to create a Virtual Machine from a copy and use a separate drive if possible for Virtual Machine files (e.g. F:\ drive).
Your Machine is now Ready for use!!
As simple as 70 steps