Categoria: Windows Server
Funzionamento e configurazione dei commutatori virtuali di Hyper-V
Windows server – Active Directory – useful links

Move active directory roles from a domanin controller ti another
VERIFICARE E MODIFICARE I RUOLI FSMO DI UN DOMINIO WINDOWS
Backup Domain Controller
Aggiungere un Backup Domain Controller ad un dominio Active Directory esistente
Installing licenses for Remote Desktop
Licensing Mode for Remote Desktop Session Host is not Configured
iis error 0x80070021 on web.config

Questo errore si presenta installando un sito con IIS in locale su un windows 10 o un windows 8.1. Non è escluso che si possa manifestare anche sui sistemi operativi server.
Dettaglio Errore
Modulo
IIS Web Core
Notifica
BeginRequest
Gestore
Non ancora determinato
Codice errore
0x80070021
Errore di configurazione
Impossibile utilizzare la sezione di configurazione in questo percorso. L’errore si verifica quando la sezione è bloccata a livello padre. Il blocco avviene per impostazione predefinita (overrideModeDefault=”Deny”) o è impostato esplicitamente da un tag di percorso con overrideMode=”Deny” o con il precedente allowOverride=”false”.
File di configurazione
\\?\C:\inetpub\wwwroot\test\web.config
Percorso fisico
C:\inetpub\wwwroot\test\miofile
Metodo di accesso
Non ancora determinato
Utente accesso
Non ancora determinato
SOLUZIONE
Dovete installare anche .NET e gli strumenti di sviluppo di IIS
oppure
Installare Windows 2019 server su HPE server

Volete installare Windows 2019 server su un server HPE. Avete scaricato la vostra iso dal sito Microsoft.
Entrando sul server HPE in Intelligent Provisioning vi rendete conto che potete installare solo da CD ROM. Ma voi non avete montato il lettore di CD nel vostro server.
Con la vostra iso create una usb bootable usando per esempio Rufus. Non funziona!
Scaricate dal sito HP la “USB Key Utility” per creare una usb bootable con le specifiche HPE. Non funziona!
Cosa fare ?
La soluzione è molto semplice ma mal documentata.
Soluzione
Dal vostro computer collegatevi alla pagina ILO del server HP. Per farlo dovete collegare la porta ILO del server (è una porta ethernet particolare) alla rete. Accendendo il server, se nella vostra rete è attivo un DHCP server, all’accensione della macchina vedrete, in basso, l’indirizzo ip assggnato a ILO. Se non è attivo un DCHP server dovrete mettere un ip statico andando nelle utilità (pulsante F9).
Sul case del vostro server HPE c’è un adesivo con la password per accedere a ILO. Collegatevi dal vostro computer con un browser web all’IP di ILO. L’utente è “Administrator”. Eseguite il login.
In questo esempio sto usando ILO 5.
Sulla sinistra spingete su “Remote Console”.
Vi compare una pagina da cui potete aprire delle console di gestione del server, che sfruttando diverse tecnologie. Io sto usando la HTML 5. Dopo che si è aperta la console, in alto avete un pulsante con un cerchio. Potete selezionare il vostro file iso che verrà montato sul CD/DVD del server.
A questo punto potete riavviare la macchina. Per farlo potete inviare il comando ALT+CTRL+CANC tramite la tastiera della Remote Console.
Quando riavviate il server il vostro iso sarà montato su CD/DVD e potrete iniziare l’installazione tramite Intelligent Provisioning.
Error “CredSSP” Error using rdp on Windows Server 2012 R2
Scenario
You are trying to connect via rdp to windows server 2012 r2 and you receive this error :
An authentication error has occurred.
The function is not supported.
Remote Computer: your hostname
This could be due to CredSSP encryption oracle remediation.
Solution
Download and install KB4103725 form Microsoft Update Catalog
After installing you need to restart the server.
Fix Windows Update errors
Open Start, type: CMD
Right click CMD
Click Run as administrator
Type each of the following then hit Enter
taskkill /f /fi "SERVICES eq wuauserv" (Do this multiple times) net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old rmdir C:\Windows\SoftwareDistribution\DataStore rmdir C:\Windows\SoftwareDistribution\Download
When complete, hit Enter, then restart, then try updating again.
If that does not work..
1. Open Start, type: CMD
Right click CMD
Click Run as administrator
Type each of the following then hit Enter
Run these codes:
Net Stop bits Net Stop wuauserv Net Stop appidsvc Net Stop cryptsvc Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak Ren %systemroot%\system32\catroot2 catroot2.bak Net Start bits Net Start wuauserv Net Start appidsvc Net Start cryptsvc
After running these commands, check if your issue is fixed.
windows server – disable automatic update
iis – Rewrite Rules for the URL
The URL rewrite module is an extension to IIS which is available as a download for your stand-alone IIS Server
Prerequisites
- IIS 7 or above with ASP.NET role service enabled.
- URL Rewrite Module installed
Where to get the URL Rewrite module
Download the x86 version of the URL Rewrite module
Download the x64 version of the URL Rewrite module
Windows, change rdp port
The rdp defaul port is 3889.
To change this port :
WINDOWS FIREWALL
In windows firewall, create a windows inbound rule on this new port on windows firewall.
WINDOWS REGISTRY
- Start the registry editor. (Type regedit in the Search box.)
- Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
- Click Edit > Modify, and then click Decimal.
- Type the new port number, and then click OK.
- Close the registry editor, and restart your computer.