Windows
Powershell + HTML + Replace COLOR for a ROW
It will color the whole row in a table with the text “rejected” in the end.
Direct Access + There is no valid certificate to be used by IPsec which chains to the root/intermediate certificate configured to be used by IPsec in the DirectAccess configurationDirect Access
We’ve got an error like: There is no valid certificate to be used by IPsec which chains to the root/intermediate certificate configured to be used by IPsec in the DirectAccess configuration and in the Dashboard it shows red IPSEC. We updated the template and re-issued the certificate but the error was still. The fix: we […]
Windows + Move the Recovery partition
Warning 1: You must know what the following commands do before you execute them. Check the link above and MS’s documentation for diskpart, dism and reagentc. Warning 2: Check disk numbers, partition numbers and volume letters carefully before executing commands.
Update root certificates
certutil.exe -generateSSTFromWU C:\PS\roots.sst $sstStore = ( Get-ChildItem -Path C:\ps\rootsupd\roots.sst )$sstStore | Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root link: https://woshub.com/updating-trusted-root-certificates-in-windows-10/#h2_1
WinSxS cleanup
Clean up: Dism.exe /online /cleanup-image /AnalyzeComponentStore Dism.exe /online /cleanup-image /StartComponentCleanup Health check and restore (if the commands above show errors): sfc /scannow Dism /Online /Cleanup-image /Scanhealth Dism /Online /Cleanup-Image /RestoreHealth
SSH-COPY-ID for Windows
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh {IP-ADDRESS-OR-FQDN} “cat >> .ssh/authorized_keys”