Monday, June 26, 2017

How to hide the account names in Windows 10 logon screen


Alright ! for some reason I don’t want others to see that few user accounts from my logon screen of windows 10 / 8.1/8.


here is the sample screen which show all user accounts in the logon screen which is taken from google.


image


Steps to hide the user accounts that you want :-


1. open RUN window and type “regedit” without quotes hit enter

2. Navigate to the below path

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

3. Right click the “Winlogon” create new Key called “SpecialAccounts

4. Right click the “SpecialAccounts” create new key called “UserList

5. Right click the “UserList” create new key type DWORD 32 Bit and name it by the account name that you want to hide.

    then set the value of the key to “0

    Example :  assume the user account that I want to hide is “Tom” so the value should be “Tom”.

it will look like the below :

image

that is all. It does not require any reboot to take effect so you can simply lock your screen to see the result.

comment me if you face some issues while trying the steps.

Sunday, June 18, 2017

Docker Installation in Windows Server 2016


Prerequisites :

Windows Server 2016  Standard / above

would like to watch video for the same procedure ?


Steps are below..,

1. Open PowerShell with Admin rights

2. run the below 2 commands one by one and give some time to execute for each command.

   Install-Module -Name DockerMsftProvider -Force
   Install-Package -Name docker -ProviderName DockerMsftProvider -Force
   
   image
3. reboot your machine now either by typing 
   Restart-Computer –Force  or manually.

4. Once rebooted open PowerShell and type “Docker version” to verify the docker installation.
   

Fix - "Windows cannot find the Microsoft software license terms"



Usually this error will popup when you are trying to install a ISO in VMware workstation or Virtual Box and it wont let you install the OS.

     image


to fix this , simple answer is you have to avoid express installs feature in Vmware workstation or Virtual Box.

if you want the resolution in detail, Please follow the steps.


1.  you have to create a New Virtual Machine from the VMware workstation and choose the below marked option which will allow you to install OS later.

     image


2. Keep clicking next until you see the below option and click the “Customize Hardware”

    

    image


3.  then you have to select CD/DVD option and choose ISO image file as you see below then Finish.

        now you start the virtual machine and get succeed.

   image


Comment me for any clarifications or corrections.

Saturday, June 17, 2017

Docker Installation in Ubuntu 16.4


First of All , this is not the special guide which will tell you something more about the Docker installation procedure compare to procedure which you can find it on other sites.

the purpose of this post is easy access for me and my colleagues at one site.

If the google takes you here , you don't have to search for better guide than this. Smile.


Alright lets jump to the installation.

Open a terminal and start executing the commands.

1.  Adding GPG Key of Official Docker repository to your local system

       $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

2.  Adding Docker repository to APT sources.

       $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

3.  lets make the Docker repository to reflect into local repo

       $ sudo apt-get update

4.  lets install Docker repo

       $ apt-cache policy docker-ce


     you will see like the below output : the version numbers may vary

image


5. installing Docker

     $  sudo apt-get install -y docker-ce

     wait until the Docker installation process completes.

6. verify  Docker service status

    $ sudo systemctl status Docker

     you should see active (running ) like the below

image


7. verify the Docker installed in your system.

  $ sudo Docker info                   ( to get overall information about installed Docker )

  $ sudo Docker version        ( to get only information about the installed Docker version )

  image

Note :

     now you have installed Docker in your local system successfully but all the Docker commands will require root access so you need to use “ sudo “ always before the Docker commands.

If you dont want to type always sudo then you can follow the below one time setup steps :

1. Add your current username into Docker group which will be created by default during the installation.

        $ sudo usermod –aG docker  ${user}

        or

         if you want to add other user in to docker group follow the below command

         $ sudo usermod –aG docker <username>

2.  apply new group membership

       $ su - ${USER}

            3. verify your account name in the docker group

        $ id -nG

image


Enjoy !

feel free to comment for corrections or questions .