Thursday, 2 September 2021

#Uninstall software manually

 Reason:

1. Unable to uninstall software from Control Panel

2. Software not listed in Control Panel


Solution:

1. Run command prompt as administrator

2. Enter wmic in command prompt. (result: enter to wmic:root\cli mode)

3. Enter product get name in command prompt. (result: name list of software installed)

4. Enter product where name="name of software listed in previous screen that you want to uninstall" call uninstall in command prompt.

4. Enter Y to confirm uninstall in command prompt.

Sunday, 11 July 2021

#File Server Permission - Failed to enumerate objects in the container. access is denied

 

Unable to access or delete the folder/file


Solution: 

1. Run command prompt as administrator.

2. Run command as below: (run every single command each time)

  • takeown /F C:\Location_Path
  • takeown /F C:\Location_Path /r /d y
  • icacls C:\Location_Path /grant Administrators:F
  • icacls C:\Location_Path /grant Administrators:F /t
(C:\Location_Path = Your folder/path loacation)

#WSUS - Connection Error. An error occurred trying to connect the WSUS server


Solution:

1. Close WSUS console. 

2. Go to c:\users\<currentlogonuser>\AppData\Roaming\Microsoft\MMC.

3. Delete MMC file



 

Sunday, 27 June 2021

Verify the AD account's password

To confirm AD account's password.

Method

1. Run the PowerShell with command below:

Start-Process -FilePath cmd.exe /c -Credential (Get-Credential)


2. Enter AD account you wish to verify.

Example:

Users name: contoso\administrator

Passowrd: Abc123!!!


Caution: Account may locked if you enter wrong password. (settings depend on you password policy)

Sunday, 6 June 2021

Cisco - Configure ACL (Extended)


Scenario

IP: Any VLAN20 (203.20.36.0/24) deny access VLAN10 (203.20.5.0), except host 203.20.5.200


Info

access-list extended name = FROM_VLAN20

VLAN ID = 20


Step

1. Create extended access-list. (I named it FROM_VLAN20)

Router1(config)#ip access-list extended FROM_VLAN20


2. Create 2 access lists under access-list extended VLAN20.

Router1(config-ext-nacl)#10 permit ip any host 203.20.5.200

Router1(config-ext-nacl)#100 deny ip any any

(*the red number is weight)


3. Specify access control for packets on interface VLAN 20.

Router1(config)#interface Vlan 20

Router1(config-if)#ip access-group FROM_VLAN20 in



4. To show inter VLAN's access group.

Router1#sh run



5. To show access list with weight.

Router1#sh acc