Configuring a new domain controller remotely using Server Manager on Windows Server 2012R2

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmail
In Windows Server 2012 and 2012R2 has a new feature in the redesigned Server Manager that allows you to manage multiple servers from the UI of the server manager itself.
By right mouse clicking on the server in “All Servers” of the Server Manager console, you can perform installations, and other management tasks that could only be performed on that server interactively, or via remote desktop. Click on the video below to see installation of Active Directory Domain Services to a remote server using the server manager on another pc.
Part 1
Part 2

Sharing files on Windows Server 2012R2

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmail

One of the most useful and overlooked features on a Windows Server 2012R2 server is the ability to share files with computers on the network. Placing files on a file server has the advantage of centralizing, and controlling the security and integrity of those files.
Take for example, your music collection. If you have several workstations, wouldn’t it be easier to help yourself to those files from the same server, no matter which workstation? The same for any other file. While in today’s age, the trend is to use cloud based storage, which is a nice feature to have, it is not without it’s downsides. First, you will only have so much storage available to you, before you a handed a bill for extra storage. Second, each workstation used will sync with the cloud, making copies of those files on each workstation use, thus negating the benefit of having centralized storage in the first place. Third, cloud based storage is not high speed storage. At best the fastest broadband will get about 100Mb/s, and not without a bill. Whereas the local server can serve your files at that speed without a monthly charge for bandwidth or storage. Fourth, if you lose Internet access, you only have access to whatever files where synced. You can also try Fortinet iam for it can provide network security.

I am not saying that cloud storage isn’t useful, just impractical for centralized storage of large files or collections of files. Example, collections of videos, virtual machines, music collections, and even photo collections if you have enough of photos.

So we are back to using the server. Single storage, single maintenance, multiple access points. As much storage as you can afford at high speed. While this can be achieved with a server appliance such NAS (Network Attached Storage), If you have to use a server for other things such DHCP, DNS, RRAS, or any other service, why not leverage the server by making it a powerful file server. The file server in Windows Server 2012R2, has two security schemes. One, Sharing Permissions allow you to determine which users or groups of users in the network will access shared files on your server. In addition, most hard drives in Windows Server 2012R2 will be formatted using the NTFS file system, which allows administrators an additional layer of security for files and folders on those hard drives. So users trying to get access to files on a Server will have to be granted permission on the network using Share Permissions, then permissions on the hard drive using NTFS permissions.

You can also consider a document database for a great file or data management software.

Let’s take a look at creating a central share point on Windows Server 2012R2, then we’ll look at securing them for various scenarios.

Installing and Configuring Routing and Remote Access on Windows Server 2012R2

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmail

Routing and Remote Access is a Routing program that allows Windows Server to share internet access to your internal network. It also allows specified network members to dial into the network from outside the organization using Modems or over internet using VPN(Virtual Private Networks) connections. In this post I’ll show steps for installing and configuring Routing and Remote Access on Windows Server 2012. Watch the video to see how.

Setting up and configuring the Server

Setting up and configuring the client

Setting up Users, Groups, and Templates in Windows Server 2012R2 Active Directory Domain Controller

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmail

Once the first server of Windows Server 2012R2 has been made into a domain controller you have a domain database called Active Directory that holds all user, group, and comptuer information for that domain. In a prior post I outlined how to create a domain controller. The domain was called Contoso.com, and DC1 is the Forest root domain  controller for that domain. In order for people to log on and use this domain, their user accounts must be created in the Active Directory database of the domain controller. Ideally, you should already have list of users with their respective funtions or titles, and/or departments they belong to on hand so you know how to organize them in Active Directory. What users are allowed to do, and resources they will have access to will be determined be their function or group membership. So if there is a way to get this, get it.otherwise compille it. Here is a sample list of users, their function, and group membership.

List of Users Function         Department or Group
Andres Rivera Administrator/IT IT Department
Richard Pliska Sales Sales Department
Diana Fergusson Sales Sales Department
Tony Alfresco Sales Sales Department
Susan Llerena Sales Sales Department
Eric Sobann Sales Sales Department
Robert Fuller Sales Manager Sales Department/Managers
Frederica Muñoz Accountant Accounting Department
Elizabeth Acevedo Accountant Accounting Department
George Smith Accountant Accounting Department
Gregory Heller Accounting Manager Accounting Department
Anita Shear HR Manager HR Department
Ashley Thomas HR         HR Department
Sable Font HR         HR Department
John Phillips Cullen Director of Operation Managers Group
It is best to create the groups first, then create templates for user accounts in each group, that include menbership, then copy the template when creating each user. Some users will belong to multiple groups, copy the template for the users principle group then add the other user group by hand.

Adding and configurring the DHCP Server Role on Windows Server 2012R2

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmail

The DHCP Server role is probably the most important part of the network infrastructure. It is the reason you are able to quickly get to resources on your local area network, and the internet. Besides assigning each computer, or mobile device a unique number called an IP address, it tells each of those devices where to go to find other servers, or services necessary for a network to function. To acomplish this you must program the DHCP server service with IP address for every host on the network, as well as information about the DNS server for name resolution, and gateway device, that lets devices get out to the internet. To install and configure DHCP follow these steps:

  1. Log on to your server as administrator
  2. Allow the Server Manager to load
  3. From the Server Manager click Add roles and features
  4. If prompted with the Before your begin screen click next.
  5. On the Select Installation type ensure Role-based or feature-based installation is selected, and click next
  6. On the Select destination server, click the server that you want to install DHCP on the click next. In our example there is only one server which is highlighted (DC1.contoso.com)
  7. From the Select server roles page check the box for DHCP server. Click the Add features button to continue, then click next to go on to the next page.
  8. On the Select features page click Next to continue
  9. On the DHCP Server page click Next to continue
  10. On the Confirm installation selections page click Install to continue
  11. The Installation page display the installation progress. Once the Installation progress page reports: Configuration required. Installation succeeded on your computer, click close
  12. On the Server Manager click the notification flag with yellow triangle.
  13. From the resulting menu select Complete DHCP configuration
  14. On the resulting Description page click Next to continue
  15. On the Authorization page, Use the following credentials should be selected with an administrative account. In our example we started the procedure with CONTOSOAdministrator. Click commit to continue, then click close
  16. Now go to the Server Manager and from the tools menu select DHCP
  17. On the DHCP console all nodes until you see the contents of the IPV4 node
  18. Right mouse click on the IPv4 node and select New Scope from the context menu.
  19. Click Next on the Welcome screen to continue
  20. On the scope name type Scope 1, although this could have any name, like subnet1, subnet2, or subnet3. Scope one will do for this example. Click Next to continue
  21. On the IP address range type the starting IP address of the range IP addresses you intend to assign, for this example we’ll use 192.168.0.1, then type the last IP address you intend to assign. In this example we’ll use the last assignable address in this class of IP: 192.168.0.254. Click Next to continue
  22. On the exclusion range we’ll enter the IP address: 192.168.0.200 and click Add . This prevents the DHCP server from assigning this IP address to another host, thus avoiding an IP address conflict. You could at this point add additional host IP addresses that have already been configured on other hosts such as printers or routers. For this example we’ll assume this is the only host of the range that has been assigned. Click Next to continue
  23. On the lease duration you can configure how many days, hours, or minutes an IP address is good for. The default value is good for this example. Click Next continue
  24. On the Configure DHCP Options, click Yes, I want to configure these options now, then click Next to continue
  25. On the Router(Default Gateway) page we’ll use this computers IP address, on the assumption that this computer will be the gateway for other computers to get to the Internet. In reality, the IP address pertains to a device such as Cisco router that sits between you LAN, and the Internet. Click Next to continue
  26. On the Domain Name and DNS Search page, values should be pre-populated as this machine has already been configured as a Domain Controller, and as such would know these values. Accept them and click Next to continue.
  27. On the WINS server page click Next to continue.
  28. On the Activate Scope page, click Yes, and click Next to continue
  29. On the Completing the New Scope Wizard page, click Finish to finish the DHCP configuration process.
  30. Your DHCP server is now configured and serving IP addresses.

Installing Active Directory Services on your Windows Server 2012R2

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmail

In this post, I demonstrate how to install Active Directory Domain Services on a freshly installed Windows Server 2012R2 Server. If you missed the previous video, you can watch it at the following link:  Windows Server 2012 Prelimary configuration steps. Watch this video to prepare a Windows Server to be pre-configured for installation as a Domain Controller.
After the preliminary steps for the server have been done. Follow these steps:

  • Log on to the server as administrator
  • Wait for Server Manager to load. 
  • From the Server Manager Dashboard click number 2 Add Roles and Features
  • On the Before you begin screen click Next
  • On the select Installation type ensure that Roles-based or Features-based Installation is selected and click next
  • On the select Destination Server screen ensure that your target server name is highlighted. In our example that is DC1, then click next.
  • From the select server roles list select Active Directory Domain Services.
  • On the Add Roles and Features Wizard pop-up box select Add Features
  • On the Select Server roles screen, click next
  • On the Select Features screen, click next.
  • On the Active Directory Domain Services screen, click next
  • On the Confirm installation selections screen, check the box to Restart the destination server automatically if required, and click Yes on pop up dialog box.
  • The installation starts. You can monitor progress on blue bar that is going across.
  • When the progress bar reaches the end on the Installation Progress screen, notice just beneath the bar, the message that Configuration required, Installation succeded on DC1.
  • Click on close for the screen, and move your mouse to the top of the Server Manager screen, then click on white flag with the yellow triangle and exclamation point in it. This reveals a menu items that still need to be performed for the installation to be complete. From the resulting menu select the blue link Promote this server to a domain controller, a screen called Deployment Configuration is presented with three options.
  • Select Add a new forest, then under Specify the domain information for this operation, type your domain name, in this instance where are using Contoso.com, then click next.
  • On the Domain Controller Options screen type the Directory Services Restore Mode password, and confirm, then click next.
  • On the DNS Options screen, click next
  • On the Additional Options screen, wait for the NetBIOS doamin name to be populated. It should say CONTOSO. Click next to go the next screen.
  • On the Paths screen, leave defaults, and click next.
  • On Review Options, review your selections, and click next.
  • Wait for the Prerequisites Check screen to finish populating. then click the Install button to continue
  • The Installation screen displays progress on your installation. Wait for it to finish.
  • You’ll get a banner indicating the computer is about to restart.
  • The computer restarts
  • Log on to your domain controller, and verify that Active Directory and DNS where installed correctly.
  • Wait for Server Manager to load.
  • Notice the additional items listed on the left column. One for ADDS Active Directory Domain Service, and another DNS for Domain Name Service.
  • Click ont the tools menu in Server Manager. Note the addition of five new entries for Active Directory
  • Click the DNS on the tools menu. 
  • On the DNS manager expand DC1, then expand forward lookup, then Contoso.com
  • Click on the contoso.com object and notice the DC1 server in the list of records
  • Close the DNS Manager
  • From the tools menu on Server Manager select Active Directory Users and Computers.
  • On the Active Directory Users and Computers console, expand contoso.com, then click on the Domain Controllers object in the left column. Notice DC1 in the Domain Controllers object.
  • Close the Active Directory Users and Computers Console.
  • We have succesfully installed and verified a doman contoller in the contoso.com domain.

Windows Server 2012 Prelimary configuration steps

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmail

Once a Windows Server is installed, there some basic changes that need to be done before configuring it for ulitmate duty. These are:

  1. Configure a static IP address. Servers don’t usually receive their IP address dynamically like other workstations like Window XP, Vista, 7, or 8.
  2. Configure the time zone. Necessary for time sensitive tasks. Configure the time zone first, then correct the date and time if necessary.
  3. Enable remote desktop. In all likelyhood once you configure the server, you will not touch it physically anymore. With Remote Desktop Enabled, and the IP address of the server you can remotly connect and do whatever you need from your Windows workstation Remote Desktop Connection client.
  4. Finally the last thing to do is change to computer name to something more intuitive than WIN-XXXXXXX. Once this is done you can connect to it in the Windows explorer or Remote Desktop client with the simple computer name such as DC1, or SQL1
Stay tuned for the next video whree we take this server and make it a domain controller.