EDV:HowTo:Windows

From KIP Wiki
⧼kip-jumptonavigation⧽⧼kip-jumptosearch⧽

Installation

  • if a basic Windows license was bought for a machine owned by KIP you can upgrade it to one of all available versions (e. g. Pro, Education, Enterprise) from Windows 8 on (to get the installation files/disks you can ask the EDV)
  • if the installation is done please check the privacy settings on Win 8 & 10
  • change the device network-name: control panel -> system and security -> system -> computer name -> change settings -> Change (Systemsteuerung -> System und Sicherheit -> System -> Computername -> Einstellungen ändern -> Ändern)
  • disable fast boot method: control panel -> hardware & sound -> power options -> chose what the power buttons do (Systemsteuerung -> Hardware und Sound -> Energieoptionen -> Auswählen, was beim Drücken des Netzschalters geschehen soll)
  • run an update to get the newest system files
  • install the needed programs - perhaps you have to set up the proxy before
  • change the time to internet time with server ntp.kip.uni-heidelberg.de
  • on early Windows 10 versions enable smb 1 (-> EDV:GFS) and you have to allow network access (Control Panel -> Network and Internet -> Network and Sharing Center -> Change advanced sharing settings / Systemsteuerung -> Netzwerk und Internet -> Netzwerk- und Freigabecenter -> Erweiterte Freigabeeinstellungen)
  • download OpenAFS for windows or download the script to install afs ( KIP-AFS_Windows-Installation Script) and run it as admin (additional informations: EDV:OpenAFS/Windows and this script is not regularly updated).

Windows 11

Please check if Bitlocker was automatically activated and disable it. Otherwise your data may be lost if your PC get's damaged because a recovery without the key is not possible -> if you keep it activated write down the key: Microsoft FAQ -> As we use a local account we can't get the key with a Microsoft account.

Additional software (Office/LabVIEW/...) you can get from EDV.

Please upgrade the Windows 11 Home version to Enterprise directly after the first start. To do this, open the activation page on the settings tool and change the product key. As the Uni uses a Windows upgrade license you can replace any Windows Version with another (Microsoft Key Management Service (KMS)). To upgrade to another version change the product key to the one of the new version listed on the KMS-page of Microsoft: KMS-Activation-Keys (deutsch), KMS-Activation-Keys (english).

Migration

Tips und Tricks

Boot Treiber nachinstallieren

Unter umständen kann es nötig sein einen passenden Festplatten Controller Treiber manuell nachzuinstallieren. Bei einem Plattformwechsel, z.B. nach dem Tausch von defekter Hardware, startet Windows nicht bzw. Windows bleibt mit einem BSOD stehen. Falls dann z.B. INACCCESSIBLE_BOOT_DEVICE oder ähnliches gemeldet wird, muss man den passenden Treiber Windows bekannt machen. Früher konnte man eine sog. Reparaturinstallation durchführen und den Treiber über F6 einfügen. Ab Windows 7 ist dies aber nicht mehr möglich bzw. die Reparaturumgebung erkennt diesen Fehler nicht, obwohl es beim Starten meckert das keine Festplatten vorhanden sind und man Aufgefordert wird den Treiber nachzuladen.

Hier eine kleine Anleitung, sie benötigen zwei Einträge in der Registry. Bitte diese vorher sichern, system hive.


The driver file (.sys file) in "Windows\system32\drivers" directory.
Registry key ControlSetxxx\services\<service name> in target's system hive
(xxx is default ControlSet number, the number in "Default" value in "Select" key, usually "001")
You can find service name in .inf file (in AddService line) and txtsetup.oem in driver package.
and these values
"DisplayName" type=REG_SZ data=<driver display name> . You can get display name from .inf file.
"ErrorControl" type=REG_DWORD data=1 .
"Group" type=REG_SZ data="SCSI miniport" .
"ImagePath" type=REG_EXPAND_SZ data="system32\DRIVERS\<driver file name.sys>" .
"Start" type=REG_DWORD data=0 .
"Type" type=REG_DWORD data=1 .
Registry key ControlSetxxx\Control\CriticalDeviceDataBase\<hardware ID or compatible ID> in target's system hive
You can find hardware ID and compatible ID in .inf file and txtsetup.oem .
Replace backslash \ with number sign # when you convert ID to registry key name.
If you need multiple IDs, create a separate key for each ID.
These 2 values should be present in this key.
"ClassGUID" type=REG_SZ data=<Class GUID>. You can find it in [Version] section of .inf file.
"Service" type=REG_SZ data=<service name> . The name of service registry key -> So gemeint wie es da steht.