EDV:HowTo:Windows: Difference between revisions
mNo edit summary |
No edit summary  |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
== Installation == |
== 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) |
|||
* 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: [https://support.microsoft.com/en-us/windows/where-to-look-for-your-bitlocker-recovery-key-fd2b3501-a4b9-61e9-f5e6-2a545ad77b3e Microsoft FAQ] -> As we use a local account we can't get the key with a Microsoft account. |
|||
* 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 [http://openafs.org/windows.html OpenAFS for windows] or download the script to install afs ([[Media:Kip-afs_windows-installation.zip | KIP-AFS_Windows-Installation Script]]) and run it as admin (additional informations: [[EDV:OpenAFS/Windows]] and this script is not regularly updated). |
|||
Additional software (Office/LabVIEW/...) you can get from EDV. |
|||
'''Windows 11''' |
|||
A problem during the setup of a new PC with Windows 11 is on machines that are delivered with the Home-Version. In that case you are asked to initialize Windows 11 with a Micorosft online account. Please don't do this. Try with Shift + F10 to run a terminal and execute "oobe\bypassnro". Alternatively you can either ask the EDV to do it or directly install the Enterprise version from a stick. In this way you don't have to create a Microsoft account. After the first setup is done please continue with the points listed on top. On machines (especially notebooks) delivered with Windows 11 Pro it's possible to select an initialization via Domain (Education/Enterprise PC). If you chose this way a local account will be created. |
|||
If you didn't install Windows Enterprise from Stick please upgrade the Windows 11 Home version to Enterprise. If you use a notebook witch was delivered with the Windows Pro version it's maybe better to stay on this version. To upgrade the version, open the activation page on the settings tool and select to change the product key. As the Uni uses a Windows upgrade license you can replace any Windows Version with another ([https://www.urz.uni-heidelberg.de/de/service-katalog/software-und-anwendungen/microsoft-key-management-service-kms Microsoft Key Management Service (KMS) (deutsch)] / [https://www.urz.uni-heidelberg.de/en/service-catalogue/software-and-applications/microsoft-key-management-service-kms Microsoft Key Management Service (KMS) (english)]). To upgrade to another version change the product key to the one of the new version listed on the KMS-page of Microsoft: [https://learn.microsoft.com/de-de/windows-server/get-started/kms-client-activation-keys KMS-Activation-Keys (deutsch)] / [https://learn.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys KMS-Activation-Keys (english)]. |
|||
== Migration == |
== Migration == |
||
== Tips und Tricks == |
== Tips und Tricks == |
||
=== Boot Treiber nachinstallieren === |
=== 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.<br> |
|||
Registry key ControlSetxxx\services\<service name> in target's system hive<br> |
|||
(xxx is default ControlSet number, the number in "Default" value in "Select" key, usually "001")<br> |
|||
You can find service name in .inf file (in AddService line) and txtsetup.oem in driver package.<br> |
|||
and these values<br> |
|||
"DisplayName" type=REG_SZ data=<driver display name> . You can get display name from .inf file.<br> |
|||
"ErrorControl" type=REG_DWORD data=1 .<br> |
|||
"Group" type=REG_SZ data="SCSI miniport" .<br> |
|||
"ImagePath" type=REG_EXPAND_SZ data="system32\DRIVERS\<driver file name.sys>" .<br> |
|||
"Start" type=REG_DWORD data=0 .<br> |
|||
"Type" type=REG_DWORD data=1 .<br> |
|||
Registry key ControlSetxxx\Control\CriticalDeviceDataBase\<hardware ID or compatible ID> in target's system hive<br> |
|||
You can find hardware ID and compatible ID in .inf file and txtsetup.oem . <br> |
|||
Replace backslash \ with number sign # when you convert ID to registry key name. <br> |
|||
If you need multiple IDs, create a separate key for each ID. <br> |
|||
These 2 values should be present in this key.<br> |
|||
"ClassGUID" type=REG_SZ data=<Class GUID>. You can find it in [Version] section of .inf file.<br> |
|||
"Service" type=REG_SZ data=<service name> . The name of service registry key -> So gemeint wie es da steht.<br> |
Latest revision as of 15:37, 26 September 2024
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)
- 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.
- 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).
Additional software (Office/LabVIEW/...) you can get from EDV.
Windows 11
A problem during the setup of a new PC with Windows 11 is on machines that are delivered with the Home-Version. In that case you are asked to initialize Windows 11 with a Micorosft online account. Please don't do this. Try with Shift + F10 to run a terminal and execute "oobe\bypassnro". Alternatively you can either ask the EDV to do it or directly install the Enterprise version from a stick. In this way you don't have to create a Microsoft account. After the first setup is done please continue with the points listed on top. On machines (especially notebooks) delivered with Windows 11 Pro it's possible to select an initialization via Domain (Education/Enterprise PC). If you chose this way a local account will be created.
If you didn't install Windows Enterprise from Stick please upgrade the Windows 11 Home version to Enterprise. If you use a notebook witch was delivered with the Windows Pro version it's maybe better to stay on this version. To upgrade the version, open the activation page on the settings tool and select to 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) (deutsch) / Microsoft Key Management Service (KMS) (english)). 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.