Thursday, 18 October 2018

How to disable the Windows 10 lock screen

Search for regedit and run command

- Double-click to expand HKEY_LOCAL_MACHINE in the left pane.
- Double-click to expand SOFTWARE.
- Double-click to expand Policies.
- Double-click to expand Microsoft.

Now, don't double-click but right-click Windows.

Click New and then click Key.
Rename New Key #1 that you just created as Personalization and hit Enter

In the Personalization folder, right-click in the right pane of the Registry Editor, select New and then select DWORD (32-bit) Value. You will see a new item pop-up in the right pane of the Registry Editor, titled New Value #1. Rename it as NoLockScreen and hit Enter.

Double-click NoLockScreen to open its value data. Under Value data, change the value from 0 to 1 and click OK.

Wednesday, 17 October 2018

How to Enable Dark mode in windows 10

click the triple-dot button in the top right of Edge, scroll down and click Settings. On the Settings panel, find Choose a theme and change it from Light to Dark.

Monday, 15 October 2018

Different ways to take screenshots in Windows 10

Some easy way to capture the screen in Windows 10 devices.

1.Snip & Sketch (only available after install the new windows 10 2018 october update)

2. Snipping Tool

3.  Print Screen for Entire screen

By pressing the Print Screen (sometimes labeled PrtScn) key.

If you installed 2018 october update , You can also set the PrtScn button to open the Snip & Sketch tool by going to Settings > Ease of Access > Keyboard and toggling on Use the PrtScn button to open screen snipping under Print Screen Shortcut.

4.Windows key + Print Screen

To capture your entire screen and automatically save the screenshot, tap the Windows key + Print Screen key. Your screen will briefly go dim to indicate that you've just taken a screenshot, and the screenshot will be saved to the Pictures > Screenshots folder.

5.Windows key + shift-S 

You can also use keyboard shortcut Windows key + shift-S (or the new Screen snip button in the Action Center) to capture a screenshot with Snip & Sketch. Your screen will dim and you'll see Snip & Sketch's small menu at the top of your screen that will let you choose with type of screenshot you want to capture.

6. Alt + Print Screen

To take a quick screenshot of the active window, use the keyboard shortcut Alt + PrtScn. This will snap your currently active window and copy the screenshot to the clipboard. You'll need to open the shot in an image editor to save it.

7. Windows Logo + Volume Down (SURFACE DEVICES)

Saturday, 13 October 2018

7 Best New Features included in Windows 10 October 2018 Update (aka Windows 10, version 1809)

Microsoft has released Windows 10 October 2018 Update (aka Windows 10, version 1809).

New Updates Includes:

1. Clipboard history and cloud sync

2.Dark mode for Microsoft apps

3.SwiftKey keyboard

4.New and (potentially) improved screenshot tool

Settings > Ease of Access > Keyboard) and you'll find a new Screen snip button in the Action Center.

5.Fewer annoying restarts for updates

6.Your Phone app

7. Separate font size slider

Settings > Ease of Access > Display to Make text bigger.

Saturday, 22 September 2018

11 PowerShell commands to use in managing Active Directory

1. Create computer object

New-ADComputer -Name "ComputerName" -SamAccountName "ComputerName" -Path "OU=Computers,DC=Domain,DC=com"

2. Create new security groups

New-ADGroup -Name "Security Group Name" -SamAccountName "SecurityGroupName" -GroupCategory Security -GroupScope Global -DisplayName "Security Group Name" -Path "CN=Groups,DC=Domain,DC=com" -Description "Brief description of the what security group is used for"

3. Create a new user account

New-ADUser -Name "User Account Name" -SamAccountName "UserAccountName" -AccountPassword (ConvertTo-SecureString "password" -AsPlainText -Force) -DisplayName "User Name" -Enabled $True -GivenName "FirstName" -Path "CN=Users,,DC=Domain,DC=com" -Server "" -Surname "LastName" -UserPrincipalName ""

4. Create a new OU

New-ADOrganizationalUnit -Name "OU Name" -Path "DC=Domain,DC=com"

5. Add/remove users or computer objects to/from groups

Add-ADGroupMember SecurityGroupName -Members Username01 -Server "" Remove-ADGroupMember SecurityGroupName -Members Username01 -Server ""

6. Obtain the locally stored password from a computer object

Get-AdmPwdPassword -ComputerName ""

7. Joining a computer to a domain

Add-Computer -DomainName "" -Credential Domain\Username -Restart -Force

8. Enable/Disable users, computers, or service accounts

Enable-ADAccount -Identity "ComputerName"

Disable-ADAccount -Identity "Username"

9. Unlock user accounts

Unlock-ADAccount -Identity "Username"

10. Locate disabled computer or user accounts

Search-ADAccount -AccountDisabled | FT Name,ObjectClass

11. Repair a broken trust between a client and the domain

Test-ComputerSecureChannel -Server ""

Friday, 17 August 2018

Very Usefull cisco IOS show commands

Important Cisco Router Show commands and their uses listed below:

1FRouter2#show interfaces
Displays statistics for all interfaces
1FRouter2#show interface fa0/0
Displays statistics of fa0/0 interface. You may use other interface also.
1FRouter2#show ip interface brief
Displays a summary of all IPv4 interfaces, including status and IPv4 address assigned in router "1FRouter2"
1FRouter2#show ipv6 interface brief
Displays a summary of all IPv6 interfaces, including status and IPv6 address assigned in router "1FRouter2"
1FRouter2#show controllers serial 1/0
Displays statistics for interface hardware serial 1/0. Statistics display if the clock rate is set and if the cable is DCE, DTE, or not attached
1FRouter2#show clock
Displays the system clock of the router "1FRouter2".
1FRouter2#show hosts
Displays the configured hostnames and their corresponding IP addresses of the router "1FRouter2"
1FRouter2#show users
Displays all users connected to the router "1FRouter2"
1FRouter2#show history
Displays history of Cisco IOS commands used
1FRouter2#show flash
Displays info about Flash memory
1FRouter2#show version
Displays info about loaded Cisco IOS software
1FRouter2#show arp
Displays the ARP table of the router "1FRouter2". ARP table is the table which contains the resolved IPv4 address to MAC address mappings.
1FRouter2#show protocols
Displays status of configured Layer 3 protocols
1FRouter2#show startup-config
Displays configuration saved in NVRAM
1FRouter2#show running-config
Displays configuration currently running in RAM
1FRouter2#show ip route
Displays the IPv4 routing table of the router "1FRouter2"
1FRouter2#show ipv6 route
Displays the IPv6 routing table of the router "1FRouter2"

Wednesday, 15 August 2018

Very Basic Cisco Router or switch Configuration Commands

How to Configure a Router Hostname

To configure a name for router, use hostname command from Global Configuration mode.

Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.

How to Configure a MOTD Banner for Router

Users will be presented with a MOTD (Message of the DAY) banner every time they attempt a connection via the console port, auxiliary port, or a telnet session to router. Use the following commands to configure a MOTD message. Here the "#" character is known as a delimiting character. The banner message should be sorrounded by delimiting character and the message should not contain the delimiting character.>enable terminal motd #
                     PROPERTY OF F5SKILLS.COM
        Access is restricted to authorized users only.
  Unauthorized access is a violation of state and federal,
            civil and criminal laws.



How to enable DNS lookup

To configure a DNS server for your router, follow these steps.>enable terminal name-server

How to turn off the automatic name resolution
The router is set by default to try to resolve any word that is not a command to a DNS server at address limited broadcast IP Address We can turn off this by using the following command.>enable terminal
Enter configuration commands, one per line.  End with CNTL/Z. ip domain-lookup

How to assign a Local Name to an IP address

Following command assigns a host name to an IP address. Once this is completed, we can use the configured host name for telnet or ping.>enable terminal
Enter configuration commands, one per line.  End with CNTL/Z. host PC1

How to Turn on synchronous logging

If the router sends a message to the console while you're entering a command, by default the router will interrupt your work to show the message.

If you want the information sent to console not interrupt the command you are typing, turn on synchronous logging.>enable terminal
Enter configuration commands, one per line.  End with CNTL/Z. console 0 synchronous

How to configure an inactivity time-out for automatic log-off

Sets time limit when console automatically logs off. Set to 0 0 (minutes seconds) means console never logs off.>enable terminal
Enter configuration commands, one per line.  End with CNTL/Z. console 0 3 0

Tuesday, 14 August 2018

How to secure cisco router or a switch with passwords

To configure the console password

Router#configure terminal
Router(config)# line console 0
Router(config-line)# password f5skills
Router(config-line)# login

To configure the auxilary password

Router#config t
Router(config)#line aux 0
Router(config-line)#password f5skills
Router(config-line)# Ctrl-Z

To password protect VTY Ports (Telnet Ports)

Configuring the VTY password is very similar to doing the Console and Aux ones. The only difference is that there are 5 VTY virtual ports, which are named 0, 1, 2, 3, and 4. You can use the shortcut 0 4 (a zero, a space, and 4) to set all 5 passwords at the same time. To configure the VTY password, follow these steps.

Router#config t
Router(config)#line vty 0 4
Router(config-line)#password f5skills
Router(config-line)# Ctrl-Z

To password protect Privileged Mode

The Enable Password is the old form of the password for "Privileged Mode". Here the password is stored un-encrypted.

Router#config t
Router(config)#enable password f5skills
Router(config-line)# Ctrl-Z

Enable Secret provides better security since password is kept encrypted using irreversible encryption algorithm.

Router#config t
Router(config)#enable secret f5skills
Router(config-line)# Ctrl-Z

Sunday, 12 August 2018

What is User, Privilege and Global configuration modes in Cisco IOS command line

Cisco IOS has a Command Line Interface (CLI) and it has three command line modes. Each mode has access to different set of IOS commands.

User mode (User EXEC mode)

User Mode is the first mode a user has access to after logging into the router. The user mode can be identified by the > prompt following the router name. This mode allows the user to execute only the basic commands, such as those that show the system's status. The router cannot be configured or restarted from this mode.

The user mode can be identified as shown below


Privileged mode (Privileged EXEC Mode)

Privileged mode mode allows users to view the system configuration, restart the system, and enter router configuration mode. Privileged mode also allows all the commands that are available in user mode. Privileged mode can be identified by the # prompt following the router name. From the user mode, a user can change to Privileged mode, by running the "enable" command. Also we can keep a enable password or enable secret to restrict access to Privileged mode. An enable secret password uses stronger encryption when it is stored in the configuration file and it is more safe.

The Privileged mode can be identified as shown below


Global Configuration mode

Global Configuration mode mode allows users to modify the running system configuration. From the Privileged mode a user can move to configuration mode by running the "configure terminal" command from privileged mode. To exit configuration mode, the user can enter "end" command or press Ctrl-Z key combination.

The Global Configuration mode can be identified as shown below.


Global Configuration mode has various submodes, starting with global configuration mode, which can be identified by the (config)# prompt following the router name. Following are the important Global Configuration submodes.

Interface mode (Router physical interface configuration mode)


Subinterface mode (Router sub-interface configuration mode)


Line mode (Router line configuration mode - console, vty etc.)


Router configuration mode (Routing protocols configuration mode.)


Friday, 10 August 2018

Simply Explained Collision & broadcast domain

A Collision domain is, as the name implies, a part of a network where packet collisions can occur. A collision occurs when two devices send a packet at the same time on the shared network segment. The packets collide and both devices must send the packets again, which reduces network efficiency. Collisions are often in a hub environment, because each port on a hub is in the same collision domain. By contrast, each port on a bridge, a switch or a router is in a separate collision domain.

The following example illustrates collision domains

As you can see, we have 6 collision domains.

Each port on a hub is in the same collision domain. Each port on a bridge, a switch or router is in a seperate collision domain.

A broadcast domain is a domain in which a broadcast is forwarded. A broadcast domain contains all devices that can reach each other at the data link layer (OSI layer 2) by using broadcast. All ports on a hub or a switch are by default in the same broadcast domain. All ports on a router are in the different broadcast domains and routers don’t forward broadcasts from one broadcast domain to another.

The following example clarifies the concept.

In the picture above we have three broadcast domains, since all ports on a hub or a switch are in the same broadcast domain, and all ports on a router are in a different broadcast domain.

Powered by Blogger