Lapas

ceturtdiena, 2020. gada 3. septembris

Reset MySQL root password on Windows



Stop MySQL service
Give user full access to /data folder

Command line:
mysqld --skip-grant-tables
mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD('new_password') where USER='root'; 
mysql> FLUSH PRIVILEGES;

ceturtdiena, 2020. gada 25. jūnijs

otrdiena, 2019. gada 8. oktobris

Delete windows recovery partitions

Run PowerShell as admin
Run DISKPART.

Find disk ID:
DISKPART> list disk

Select disk you want to modify:
DISKPART> select disk 1

Find partition ID:
DISKPART> list partition

Select partition you want to delete:
DISKPART> select partition 5

Delete selected partition:
DISKPART> delete partition override
DISKPART> exit


Source: www.lifewire.com

ceturtdiena, 2019. gada 14. marts

VLAN ranges

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, 2018. gada 25. oktobris

Recycle Bin is corrupted

Run Command prompt as Administrator.

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

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:

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