Showing posts with label Reandroid. Show all posts
Showing posts with label Reandroid. Show all posts

How to connect Nodes to Domain Controller.

You may have question how to Connect Node1 to DC ?

It is an easy task to perform, don't know why no one else created a proper blog about it.

First, you have to install 3 roles to the DC to make it Domain Controller and then it will be ready to add other nodes.

So the three roles are AD DC, DHCP, and DNS.

Add this three roles, then Promote your server as Domain controller create a Forest, give it a name and create NETBIOS.

Once it is done, go to Network adaptors settings and assign it a IP, you can assign class A, B or C, whichever you wish.

For example take class an IP address 10.1.10.1 and keep the default gateway and DNS server also the same.

Once you will assign the IP address now its time to set DHCP so that other computer will get the IPI addresses and will be able to connect to the domain.

So go to DHCP and right click on IPV4 and select New Scope option and create a scope and take range between 10.1.10.100 to 10.1.10.200.

Now we are done with the setting on DC.

Now need to connect Node one to the DC, so go back to the Node1 and in server manager select local server, in there click on manage IPV4 and now assign it any IP address which is within the scope and make the default gateway the IP address of the DC server.

Now go back to Server Manager click on Local Server and here click on "Workgroup" and change it to the domain name you had earlier assigned.

Now you will be able to connect the DC with the different nodes.

Found below video very useful to perform the above task and you can also proceed with performing clustering.

Video Courtesy : 

SrinathChowdary



How to configure NAT to share internet through DC to other nodes. Windows Server 2016

Sharing the internet through Domain Control to all other Workstation connected to it without much effort.

To configure sharing internet through one server to all the other machines in the network you need to configure NAT in Microsoft Windows Server 2012 and 2016.

So to do so you need to have two Lan Adapters installed on the Internet server.

Then install the Remote Access Server role. After installing it will ask for the prompt, just cancel that.

Go to the Routing and remote access here below server status you will be able to see the computer name of the local server which has the internet.

Now right click on it and select "Enable Routing and Remote Access" and then select option to make to do the customer configuration and create a LAN connection.

After it goes to the tools and select Windows Firewall and creates a new inbound rule to allow ping ICPSv4 to all the programs and computer.

Then come back to the Routing and Remote Access and here under the here right click on General under IPV4 and select create new routing interface select NAT.

After selecting NAT now its time to assign the interface, hence again right click on General and select the new interface and now select the external router which will be able to communicate with another machine in created routing mechanism.

Now you will be able to use the internet on all the computer associated within the domain.

And if you are using Hyper-V you will save a lot of time of adding the virtual switch. I found this video very helpful in doing the same if you are finding above instruction difficult you may watch below video: Video Courtesy: Professor Hornung

Activating Hyper-V inside the Virtual Machine.

To create Virtual Machine under the installed Virtual Machine using Hyper-V you have to make a note of following steps:



Step 1: Turn of the Virtual Machine.

Step 2: 
Run Powershell with Admin Right and enter below command:
Set-VMProcessor -VMName "<SERVERNAME>" -ExposeVirtualizationExtensions $true
In my case it was below:
Set-VMProcessor -VMName “Windows Server 2016” -ExposeVirtualizationExtensions $true
Like Below:

Step 3:
Ensure you have assigned minimum 4GB of RAM/Memory to the Virtual Machine. 

Step 4:
Network spoofing should be enabled while you are going to create the VM inside the VM so ensure its checked and enabled. 

If you are not going to follow this you might find below error: 

Error: Validation Result, Hyper-V Cannot be installed: The processor does not have required virtualization capabilities. 

So the above are the steps to make it capable enough. 

My First Virtual Machine : Installing Windows 2016 Sever on Windows 10 Pro Hyper-V, Step by Step Guide.

Hello, Technical Support Enthusiast, if you would like to learn another awesome stuff then here I am with "Installing Windows Server 2016" on Windows 10 through windows very own Virtual Machine Handler Hyper-V.

So first the boring stuff to tell you to have to install Hyper-V on the Windows 10 Pro.

The requirements, machine which is able to run Windows 10 Pro smoothly which drives it like butter like my computer (~_*) and Windows 10 Pro installed on it.

Once you have the above-detailed configurations please open "Turn Windows Feature On and Off" box like in below image:

Now you will get a kind of box which will look like a box in below image:

Now just like in above box select all the box and put a check mark next to them which has Hyper-V.

Now you have Hyper-V installed!

Now we will create our very own and very first Virtual Machine on Windows 10 Pro system.

Note: To do this I have downloaded the evaluation copy of Windows Server 2016 Datacenter edition on my computer which is free for 90 days.

Now open Hyper-V Quick Create like in below image:



:) You will be able to see below amazingly beautiful box once you are going to click on above box: 

Great, now things will be very interesting from here. So you already have two options from windows one is Windows 10 Developer Environment and another one is Ubuntu, Windows 10 Licence you already have so you can install a copy of that on the VM or you can install open source free Ubuntu.

As I am not in the mood of learning Linux today so I will bypass ubuntu and I already have the full-fledged version of Windows 10 Pro which is loading up things so I will excuse that too.

Please don't ask me how to download the Evaluation version of Windows 10 that will be a lot of effort for now. Just google it and do it by yourself.

So at this point, I am ready with my Windows 2016 Server ISO and I am going to select that instead of the above two options, so I am going to select "Local Installation Source" and going to follow the below options:

I believe you can understand the above instruction easily. Now click on Create Virtual Machine, and here you go:



Now click on connect and enjoy your Windows Server 2016 on your Windows 10 Machine.
This is a very useful method for MCSE enthusiasts who are learning it.

There are still a lot of things to discover in edit settings and then of course in a Virtual Machine world.

Hope you will enjoy your journey through it.

I have left some of the roadblocks on your ways to find a way through it, if you still find any difficulties please write in the comments box below I will get back to you, maybe sometimes in delay but I will surely going to get back to you on this.

All the best.





How to enable BitLocker Encryption in Microsoft Windows 10

Hi, Tech Enthusiasts, Welcome back to my blog.

Today we are going to discuss how to enable BitLocker in Windows 10. 

I believe if we are on this page we all know that Microsoft Windows has its very own built-in version of BitLocker.

Before we begin small summary about why to use BitLocker on the computer?

The best reason behind that is: "BitLocker encrypts all the Data in the Drive which is marked as 'Encrypted' by BitLocker, it saves data from unauthorize access, so no one can steal anything from your computer's Hard Drive and data is safe by encryption." -Ashish J.

In addition: "Safe by encryption" means if someone manages to break into your computer or steal your hard drive, still the person will not be able to do much harm if you have BitLocker Protection on your computer."

Now we are going to discuss enabling Microsoft BitLocker Encryption.

First, The important feature is Setting in BIOS, the setting name is TPM which means "Trusted Platform Module which is a basic requirement for BitLocker. 

If TPM is not on you will get below message in Windows 10 PRO: 

And in Windows 10 Home you will not get Encryption option at all. 

To enable TPM we need to get into computer BIOS, there are always some magic keys like ESC, DEL, F2 etc.. depending upon the manufacturer of the computer motherboard.
Source and Credits to Intel Visual BIOS.
In BIOS you may find it under security in most of the computers, it will show as either one of the following:

In BIOS > SECURITY :

  1. TPM 2.0
  2. TPM 1.2
  3. PTT(It is also TPM 2.0 but through Intel Firmware)
Need to enable it and now you just need to start the computer into the windows and now in Cortana type in encrypt and you will find the option.


To enable the bit locker just click on Cortana and type "encrypt" and on top of it, you will get the option to enable the boot locker.





It may say "Enable Drive Encryption" (HOME windows 10) or Manage BitLocker (Windows 10 Pro, will have more options as well) or you may not get any option on top because one of the important features is not turned on prior to encrypt the HDD.



Now just select "Turn on BitLocker" and the system will encrypt the HardDrive.

Depending upon the type of Hard drive and system performance it will take time to encrypt the Hard Drive. 

You may find a performance issue while the encryption is on because when the encryption is on the operating system gets the additional task to perform. 

Additional useful information and their sources: 

SQL Query Error: Msg 242, Level 16, State 3, Line 24, The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.


So while running a SQL query in SQL Server you may find this error :


“Msg 242, Level 16, State 3, Line 24
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.”


After trying multiple formats was able to execute and  found that the reason behind this error was tryingMYSQL Datetime formate instead Microsoft SQL server:



For an Example, just take below SQL query and try to understand.


------------------------------------------------------------>
First, create a table:


Create table professionals (Pro_ID int primary key, First_Name varchar(30), Last_Name Varchar(30),  Date_Join datetime, Profession varchar(30));


So in above example when you are going to enter the date and time in Date_Join in MySQL formate which is in bold below:


MySQL FORMAT:
insert into professionals(Pro_ID, First_name, Last_name, Salary, Date_Join, Profession)
Values
(2, 'Steve', 'Jobs', 1500000, '1983-02-04 09.00.00', 'CEO')


_________________MS SQL FORMAT BELOW_________________


It will not accept it because it needs a MS SQL Server Format which is below:


MS SQL SERVER FORMAT:
(2, 'Steve', 'Jobs', 1500000, '1983-02-04 09:00:00:000', 'CEO')


Hopefully, this is going to save a lot of trouble for you.


Enter your email address:

Delivered by FeedBurner