0 & 4095 -> full range
0 -> internal system reserved
1 -> Cisco default
2-1001 -> used for ethernet VLANS
1002-1005 -> FDDI & Token Ring
1006-4095 -> extended VLANS for other uses
ceturtdiena, 2019. gada 14. marts
ceturtdiena, 2018. gada 25. oktobris
Recycle Bin is corrupted
Run Command prompt as Administrator.
This clears out the $Recycle.bin folder from the C:\ partition. You may have to do this for each hard disk partition in your system
Source: https://social.technet.microsoft.com
rd /s /q C:\$Recycle.bin
This clears out the $Recycle.bin folder from the C:\ partition. You may have to do this for each hard disk partition in your system
Source: https://social.technet.microsoft.com
ceturtdiena, 2018. gada 18. oktobris
Remove duplicate lines with Notepad++
In replace dialog select "Regular expression" and ". matches newline"
Find what:
Replace with:
Source: https://stackoverflow.com
Find what:
^(.*?)$\s+?^(?=.*^\1$)Replace with:
Source: https://stackoverflow.com
otrdiena, 2018. gada 14. augusts
Remote desktop connection not working after CredSSP update
After Windows 10 1803 Cumulative update it's not allowed to connect with RDP to unpatched machines.
To disable security check - create DWORD AllowEncryptionOracle in registry:
Be aware that disabling security check makes your machine vulnerable!
Source: support.microsoft.com
To disable security check - create DWORD AllowEncryptionOracle in registry:
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters\Set AllowEncryptionOracle = 2 Be aware that disabling security check makes your machine vulnerable!
Source: support.microsoft.com
trešdiena, 2018. gada 25. jūlijs
Log off user from remote machine
Find user's session ID:
Log off user:
QWINSTA /SERVER:<hostname>Log off user:
LOGOFF <sessionid> /SERVER:<hostname> /V
otrdiena, 2018. gada 5. jūnijs
Send test email from PowerShell
Send-MailMessage -SMTPServer 192.168.0.1 -To to@email.com -From from@email.com -Subject "This is a test email" -Body "Hi, this is a test email"
Source: https://serverfault.com
otrdiena, 2017. gada 19. decembris
Remote Desktop Connection - How to get the certificate prompt back?
Delete server connection keys from here:
HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\ServersHKCU\Software\Microsoft\Terminal Server\Client\LocalDevices\<name>
Abonēt:
Ziņas (Atom)