Lapas

trešdiena, 2023. gada 1. novembris

Exceeded the Maximum Number of Computer Accounts Allowed to Create in this Domain

 It happens because of default AD ms-DS-MachineAccountQuota value which is 10.

The workaround is to delegate custom rights for specific account:

1. Open the Active Directory Users and Computers snap-in.

2. Right-click the container under which you want the computers added, and press Delegate Control.

3. Press Next.

4. Press Add.

5. After adding all the users and/or groups, press Next.

6. Select Create custom task to delegate and press Next.

7. Select Only the following objects in the folder, check Computer objects, check the Create selected objects in this folder box, and press Next.

8. Check the Create all child object box and press Next.

9. Press Finish.

 Source: community.spiceworks.com

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