How to set up smartphones and PCs. Informational portal
  • home
  • OS
  • Configuring a DNS server to point to itself. Specify a new location for the directory of temporary files - Temp

Configuring a DNS server to point to itself. Specify a new location for the directory of temporary files - Temp

Hello!

In this article, I want to consider installing and configuring a terminal server based on Windows server 2008 R2. The need for such a server is present in almost all average offices, where the number of computers ranges from hundreds of workstations, especially if they are scattered across different parts of the city. I will try to describe everything clearly, without water. So, let's say you already have a machine with a freshly installed Windows server 2008 R2. Also assume that this machine is already entered into an Active Directory domain.

We go into the server manager and on the left in the console tree select the item "roles":

Never mind that I have the Active directory and DNS server roles there. I did all this on a test machine.

Click "add roles". The master appears. At the first step, we read the information and click "next". In the second step, put a checkmark in front of "Remote Desktop Services" and click "Next". We get acquainted with the information again and click "next". At the step of selecting the role services, check the boxes as follows:

These components are enough to work on the server in a local network (or a properly built VPN network). On the right side of the window, you can read the description of each component by highlighting it. If you want the terminal server to be able to work through web access, then you need to install additional components, including the IIS web server. We will not consider this in this article. We press "next". Read the information again and click "next". In the next step, for the best compatibility, choose "Do not require authentication at the network level" and click "next".

The next step is licensing regime... Here you must indicate which terminal licenses you have purchased... If you do not have terminal licenses yet, you can specify this later. I chose device licensing. "Further".

Further, it is necessary specify users or user group that will be allowed to connect to the server. I chose the Domain Users group because the published applications will be used by all employees. "Further".

In the next step "Setting up user interaction" I recommend not to put anything because in 90% of cases people don't need it. And the bandwidth of the grid will clog all this multimedia economy. "Further".

Configuring Discovery Scope for Remote Desktop Licensing. The choice here depends on how you organize your Active directory structure. I selected "This Domain" because my license server and remote desktop server are in the same domain. Moreover! They are on the same machine :). "Further".

We look at what we have chosen, get acquainted with the information and click "Install". At the end, the system will ask for a reboot.
After rebooting, the system will show the installation result. It looks like this to me:

The system complains about the absence of a licensing server. And it is not surprising, because we have it not configured yet.

Let's start configuring it. Let's start the server manager and in the console tree go to Remote Desktop Services, then scroll down to the bottom:

On the right, click on the link Remote Desktop Licensing Manager... The corresponding snap-in will open, in the list of servers of which we should see our machine. Right click on it and select properties:

In the window that opens, you must specify all the necessary information for activation, in particular the installation method and information about the organization. I activated my server through the site https://activate.microsoft.com, so I chose the installation method "to the web browser".

After you have entered the necessary information about the company and selected the installation method, again right-click on our server (see the picture above) and select "Activate Server".

You must successfully activate and install the RD Server CALs to proceed.

After successfully activating the server and installing the client licenses, you should see something like this in the Remote Desktop Licensing Manager snap-in:

Now, we will indicate our activated licensing server in the list of these same licensing servers. Let's start the server manager and in the console tree go to RD Session Host server configuration:

In the middle, in the parameters "Licensing" we see that the licensing server is not specified. Click on this line with the right mouse button and select "properties". A properties window will open and a warning that we do not have a licensing server specified:

We close this message. Click "add" and select your server from the list of available ones (in our case, there is only one there). Now all that remains is to install and publish the applications we need. Let it be my favorite 1c and the wonderful program DublGIS.

The installation of these programs themselves will not be considered here. Let's move on to publishing these programs.
Open the server manager and go to remote application manager RemoreApp:

First, let's see what we have in the RDP parameters (for some reason it is called RPD in Windows). Click on the "change" link:

Let's set the optimal settings for ourselves here. "OK".

Now add applications by clicking the button Add RemoteApps... A wizard will start, in which we will see a list of programs installed on the system "correctly" through the Windows Installer. We choose 1c and DublGIS. If the desired program is not in the list, then it can be selected by pressing the "Browse" button. Next, Finish. Now we see that our programs have appeared at the bottom of the list of remote RemoteApp applications.

Now right-click on 1s and select Create Windows Installer Package... A wizard will appear that will ask you a couple of easy questions, and after you click the "Finish" button, a folder with a ready-made installation file will open: C: \ Program Files \ Packaged Programs \ 1CV7s.msi. For convenience, I just shared this folder so that it would be convenient to take installation packages from workstations. Similarly, we create a package for DublGIS.

Now, let's go to the workstation. Attention! The workstation must be at least Windows XP SP3! It won't work on XP with the second service pack and below!

We copy the installation package to the workstation and install it under the administrator. A shortcut will appear on the desktop (if the corresponding checkbox was set when creating the packages) and the corresponding item will appear in the "Start" menu:

If we look at the properties of the shortcut, we will see that it refers to the C: \ Program Files \ RemotePackages folder, which contains the 1CV7s.rdp and 1CV7s.ico files. This folder must be given change rights to ordinary users. This is useful if you need to change any connection parameters as a regular user later. So, everything is fine, the shortcuts appeared ... But we did it under the administrator. In order for the same shortcuts to appear under the user, you need to run this installation package again, but from under the user. Such is the nuance. I think that this is just such a small flaw, because if you immediately try to install the 1CV7s.msi package from under the user, then nothing will work.

Well, okay, once again launched the installation of the package from under the user, got their shortcuts. Trying to run 1c. And immediately the system warns us that it cannot determine the publisher of this remote application. We put a tick “do not ask any more” and click “connect”. Further, the system asks us for a username and password. Attention! Enter the username like this: yourdomain \ user, then enter the password and tick the "remember password" box. Further, we will again get a warning about the certificate. And again we calm down our system by checking the box “do not display this warning when connecting to this remote computer” and clicking “yes”. Then we observe that the connection window still hangs. We press the button "Information" and see the following picture:

The server will not let us in, because it is prohibited by group policies. We go to the server, click "Start" → "Run" and enter gpedit.msc. A snap-in with group policy settings on the server will open for us. We are looking for in it: Computer Configuration → Software Configuration → Security Settings → Local Policies → User Rights Assignment → Allow Login via Remote Desktop Service.

Double click - add the "domain users" group. Now it's good. We go back to the workstation and again try to start 1s. Connection will be a little thoughtful. This is due to the fact that on the server, when a user connects for the first time, a profile of this user is created. And now, after a few seconds, we see the long-awaited picture:

OK it's all over Now! Thus, we have configured a terminal server on Windows server 2008 R2. Further tuning and more fine tuning I leave you to do on your own.

VPN (Virtual Private Network) is a technology that allows you to provide one or more network connections over another network. In this article, I'll walk you through how to set up Windows 2008 Server R2 as a VPN server.

1. First, you need to install the "Network Policy and Access Services" server role. To do this, open the server manager and click on the "Add role" link:

Select the role "Network Policy and Access Services" and click next:

Select "Routing and Remote Access Services" and click next.

All data has been collected, we press the "Install" button.

The server role has been successfully installed, click the "Close" button.

2. After installing the role, you need to configure it. Go to the server manager, open the "Roles" branch, select the "Network and Access Policy Services" role, expand, right-click on "Routing and Remote Access" and select "Configure and enable routing and remote access", set all parameters according to the screenshots ...

After starting the service, we consider the configuration of the role as complete. Now you need to open ports, allow users to dial up to the server and configure the issuance of ip-addresses to clients.

3. For the normal functioning of the vpn server, you need to open the following ports:

For PPTP: 1723 (TCP); For L2TP: 1701 (TCP) and 500 (UDP); For SSTP: 443 (TCP).

4. The next step is to configure user permissions. Go to "Server Manager - Configuration - Local Users and Groups - Users":

We select the user we need and go to its properties:

Go to the "Incoming calls" tab and in the "Network access rights" put the switch in the "Allow access" position.

5. The next step is to configure the issuance of addresses, this step is optional, it can be omitted. Open "Server Manager - Roles - Network Policy and Access Services - Routing and Remote Access - Properties":

Go to the "IPv4" tab, turn on IPv4 forwarding, set the switch to "Static address pool" and click the "Add" button:

Set the address range and click "OK":

In this step, we have completely finished configuring Windows 2008 Server R2 as a VPN server.

All the forces of Microsoft developers and marketers are thrown into rehabilitation
trademark after the virtual failure of the venture with Vista. The media only speaks
about Windows 7, and about preparing a new release of the server version of Win2k8, which received
only a modest addition to the name R2, few know. Meanwhile, a tandem of these
two operating systems is able to make the network more secure, productive and
comfortable.

Originally for Win2k8R2 a louder name was envisaged -
Windows Server 7, but at PDC 2008 it was announced that the new product will
named exactly, and it should not be considered
as a major release, but as an interim release. This gave rise to confusion and a lot of questions,
because at first everyone was convinced for a long time that everything would be exactly the opposite.
The guys from Microsoft clarified the situation, indicating that the corporation plans to release
new versions of server OS according to the scheme 2 years (update) and 4 years (new release),
that is, R2 is exactly an upgrade after Win2k8. They probably did it
so as not to "obscure" the output of the seven. On the other hand, the Win2k8 release was welcome
accepted by experts, and the name change could scare away those who are now
wants to purchase this OS. Otherwise, most will postpone the transition and will wait
Win7Server is similar to the situation with Vista and Win7 today.

The beta version of the system became available for download in mid-January 2008.
On August 14th a company that was released in RTM status at the end of July this year
together with Windows 7. The system can now be downloaded by Microsoft Download subscribers
Network (MSDN) or TechNet services, the rest of the new server OS will be
available from October 22nd.

The list of major new products announced in R2 fits on one page,
but this is exactly the case when quantity turned into quality. "Small" ones
there are a lot of improvements. But first things first.

Windows Server 2008 R2: What's New?

Among the main innovations is an updated virtualization system
2.0,
supporting Live Migration technology, which allows on-the-fly transfer
virtual machines between physical servers. Dynamic storage
virtual machines provides hot plug and unplug capability
repositories. Physical and virtual systems are easy to deploy with VHD
(Virtual hard disk) files. And, unlike the previous OS version, Hyper-V
is an integral part of the system, that is, there is no division into conventional versions
and "with Hyper-V".

The Hyper-V update does not exhaust the topic of virtualization in R2. Term
"virtualization" now covers three technologies: Server Virtualization, Client
Virtualization and Presentation Virtualization. R2 is noted to be
a full-fledged VDI solution (Virtual Desktop Infrastructure, infrastructure for
virtualization of client workstations), providing a centralized
management of all virtual systems and easy provision of computers.
How it works? A Hyper-V enabled server runs many
virtual machines with client OS from WinXP to Win7. User
(it is assumed that he is sitting at a low-power computer or thin client under
running Windows Fundamentals or Linux) to get to your desktop,
remotely connects to a separate (VDI completely isolates virtual environments
users) to the virtual machine. VM can be either rigidly attached to
him, or any of the available ones - it depends on the type of infrastructure used
VDI - static or dynamic. In short, VDI is
a kind of combination of RDP connections and virtualization.

Terminal Services renamed to Remote Desktop Services (RDS),
which more reflects its purpose - to work in the VDI structure. But VDI is not
the only innovation in RDS. Multi-monitor configurations are supported,
very high quality video and audio. Win7 users can easily get
access to a remote application or desktop using a new applet
RemoteApp & Desktop Connection without feeling the difference between local and
terminal applications.

The standard delivery includes updated PowerShell 2.0, quantity
changes in which, compared to 1.0, are large enough:

  • Improved API;
  • GUI for creating and debugging scripts;
  • PowerShell in Remote Desktop Services
  • Executing commands on a remote machine using WinRM 2.0;
  • Background execution of tasks (PSJob);
  • Starting a process on one or more machines and working with WPF (Windows
    Presentation Foundation) - a new subsystem in the .NET Framework 3.0,
    allowing you to create beautiful graphical interfaces.

Improved some of the old cmdlets and around 240 new ones.

The updated IIS (version 7.5) integrates FTP (with new configuration files,
based on .NET XML), WebDav, URLScan 3.x (limiting the types of http requests),

Administration Pack (SQL database management, configurator, reports, filtering
requests). Previously, all this was implemented as a separate extension, now
just one click of the mouse is enough. Improved PHP support in FastCGI implementation.
Back in IIS 7.0, it was possible to create applications in an isolated pool, which
contributed to an increase in the level of reliability and safety. In IIS 7.5, each pool
applications are launched at a unique, less privileged level
authenticity. By the way, the fact that the new IIS is fully trusted is also evidenced by
the fact that Microsoft moved their site to version 7.5 in February.

Here we will also add the ability to publish with one click in Visual Studio 10, new
performance counters and management tool Web Deployment Tool (MS
Deploy
), which allows Web server administrators to easily deploy,
sync and migrate sites including configuration, content and
SSL certificates.

Server Core can now also install .NET, including ASP.NET and
PowerShell. Install 2.0 and 3.0 .NET Framework using a new utility DISM
(Deployment Image Servicing and Management), which is included in the standard
delivery of the system and in the WAIK kit (the / Online key allows you to manage the settings
working system):

>
> dism / Online / Enable-Feature / FeatureName: NetFx3-ServerCore

An interesting innovation is the possibility of additional setting of attributes and
properties to files in the File Server Resource Manager. This actually aligns NTFS with
libraries of SharePoint and provides almost limitless possibilities for
processing files for various characteristics.

From now on, only 64

Earlier it was reported that Win2k8 will be the last 32-bit version of the server OS.
This is exactly what happened - R2 will be released only for x64 / ia64 architectures. AMD companies
and Intel no longer ship 32-bit processors for architecture-based servers
x86, therefore leaving the 32-bit market and a shift in emphasis towards 64-bit OS and
applications looks quite logical. Although support for 32-bit applications in R2
remained and implemented using the WOW64 emulation layer (Windows on Windows64). By
WOW64 support is disabled by default in Server Core and Hyper-V. To
enable support for 32-bit applications, the administrator just needs to execute
one command:

> dism / Online / Enable-Feature / FeatureName: ServerCore-WOW64

And - to support 32-bit .NET applications:

> dism / Online / Enable-Feature / FeatureName: NetFx2-ServerCore
> dism / Online / Enable-Feature / FeatureName: NetFx2-ServerCore-WOW64

> start / w ocsetup ServerCore-WOW64
> start / w ocsetup NetFx2-ServerCore-WOW64

The current version of Win2k8 supports up to 64 logical processors. In R2 their
the number was increased to 256. Considering that recently the number of cores on
one physical processor is constantly increasing, such a reserve is definitely not superfluous
will. Moreover, if the kernels are not used, they can be turned off, thereby
saving a fraction of electricity. Virtual machine running under the new
Hyper-V, supports up to 32 logical CPUs (in the previous version there were only
4). By the way, a logical processor in Windows means not only the number
cores, but also the simultaneous number of threads processed. In messages
slipped that Win2k8R2 can work with 32 4-core processors, each
the core of which simultaneously processes 2 data streams (32 CPU x 4 cores x 2
data stream = 256).

Minimum system requirements named: 1.4 GHz 64bit CPU, 512 MB RAM, HDD
10 GB. The recommended ones, as you understand, are significantly higher. When planning
server configuration, it should also be borne in mind that the Standard version supports
maximum 32 GB RAM, and Enterprise and Datacenter up to 2 TB RAM.

There are many other new features available in R2; some of them met in
seven. So, in Windows Firewall, several profiles can be active (Private,
Public or Domain), which does not cause problems when connecting to multiple networks;
added support for http links in QoS, implemented VPN Reconnect and DHCP
Failover. QoS service allows you to prioritize traffic when accessing
certain resources. Earlier in the "Application Name" tab in "Policy-Based QoS"
there were only two items with which you could set either everything or
certain applications. Now the tab is called "Application Name or URL"
and here you can set the name / template of the http resource, the traffic of which will be assigned
higher priority. New VPN Reconnect Feature Part of RRAS
("Routing and Remote Access Service"), allows the VPN client
automatically restore the VPN connection in a situation when the connection with
The VPN server temporarily interrupted (previously it had to be done manually or
wait a fairly long timeout). To enable VPN Reconnect,
you should select the VPN type IKEv2 (Internet Key Exchange, described in RFC 4306).

Windows Server 2008 R2 Management Tools

Installing a new system that back in Win2k8 was simplified to
consecutive pressing of the "Next" key, in R2 practically did not change
(by the way, on beta, during installation, the inscription Windows 7 looms at the bottom of the screen). The whole
installation can be done literally in 6 clicks of the mouse, - after a few
reboots and entering the administrator password, we get a ready-made system. In the window
registration, you can create a diskette to reset the password (exactly a diskette, not
CD / DVD, so a floppy drive is required). When creating partitions on your hard drive
the wizard by default creates two partitions (boot and system) so that there is no
problems with BitLocker activation.

Subjectively, the updated OS works faster than the previous one, this is especially good
seen under the virtual machines. After loading, you will be greeted by a desktop stylized
under Win7. You don't need to call the Appearance panel to change the screen resolution.
Instead, the Screen Resolution item is located in the context menu. Other
changes are made through the "Control Panel". In general, in terms of restructuring
the interface has enough changes, but I think you are interested in completely different
tools.

We did not have time to get used to all the innovations of Win2k8, as in R2 we received a number of
improvements. The "Initial Configuration Task" launched immediately, when
with the help of which the initial settings are made has not changed. But in Server
Manager, an opportunity appeared that was clearly lacking before - remote
connecting to another server. Now it's enough to go to Action - Connect to
Another Computer and enter the details of another system running R2.
And most importantly: remote control is supported not only for systems in full
installation, but also in Server Core. That is, many admins will not have the agony of choice:
use safe and fast, but inconvenient / unusual in Core management
or install a complete system. It should also be noted that Server Manager
is part of Remote Server Administration Tools for Win7 (using RSAT
can be controlled by Win2k3 and Win2k8). In a domain environment, if there are appropriate
right, there will be no connection problems. And in a peer-to-peer network, a computer with
which the remote connection is made must be added to the "trusted
hosts "(for details on WinRM, see the article" "published in
).

> winrm set winrm / config / client @ (TrustedHosts = "system, system2")

When performing administration tasks, UAC can interfere and block
work. To avoid this, you should select the section
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ policies \ system,
where to create a LocalAccountTokenFilterPolicy DWORD with a value of 1.

By the way, if you run commands in the console under a regular account,
requiring administrator rights, you can get the message "Elevated permissions are
required then run ... ". The solution is simple: select the shortcut cmd.exe in the" Start "menu and
in the context menu, item "Run as administrator".

The list of roles and components has changed, now their number is 17 and 40 (in
Win2k8 - 16 and 35), some roles have been given a different name. For example, to replace
Terminal Services technology has come a new one - Remote Desktop Services,
accordingly, the name has also changed. WSUS is now part of R2. And its not
you need to independently pull from the Internet and install, keeping track of the dependencies. V
components we find BranchCache (local caching of data received from
central server), Direct Access management console (simplifies connection
users to the corporate network), WinRM IIS Extension (the component is designed
to manage the server using the WS-Management protocol), and
Windows Server Migration Tools (allows you to transfer some
roles and settings from Win2k3-Win2k8 servers in R2).

For individual roles (Web-server IIS, AD Domain Services, AD Sertificate
Services, DNS, RDS) a Best Practices Analyzer (BPA) tool is available. He
will help you configure the role in accordance with Microsoft recommendations, and in case
problems arise - to understand what actually happened, and if necessary
return the system to its original state.

Three new PowerShell cmdlets - Add-WindowsFeature, Get-WindowsFeature
and Remove-WindowsFeature allow you to add, remove, and view information about
the selected role. Yes, so that they are available, do not forget at the beginning of the work
load the Servermanager module. For instance:

PS C: \> Import-Module servermanager
PS C: \> Get-WindowsFeature

And we put the desired one by choosing its name from the list:

PS C: \> Add-WindowsFeature -Name "File-Services" –IncludeAllSubFeature

New in Active Directory

Service AD DS (Active Directory Domain Services) got in R2
several new and very interesting features. For example, there is a shopping cart Active
Directory Recycle Bin, reminiscent of the Windows Recycle Bin. Now accidentally deleted
the object can be quickly restored. Considering that earlier the operation on
reanimation of the account required a lot of effort, such an opportunity can
welcome. The object restored from AD RB gets all of its
attributes. The default lifespan of a deleted object in AD RB is 180
days, after which it enters the "Recycle Bin Lifetime" state, loses
attributes and after a while is completely removed. Change this value
can be done by setting the msDS-deletedObjectLifetime parameter. If the domain is on
Win2k8R2 level, AD recycle bin is automatically activated.

New PowerShell cmdlets simplify server administration by using
command line. It is very easy to transfer a domain to R2 mode:

PS C: \> Set-ADForestMode –Identity domain.ru -ForestMode
Windows2008R2Forest

Now enable AD RB:

PS C: \> Enable-ADOptionalFeature –Identity ‘CN = Recycle Bin
Feature, CN = Optional Features, CN = Directory Service, CN = Windows
NT, CN = Services, CN = Configuration, DC = domain, DC = ru ’–Scope Forest –Target
‘Domain.ru’

You can view the list of deleted objects using the ldp.exe utility or
using the Get-ADObject and Restore-ADObject cmdlets.

The R2 distribution has a new utility djoin.exe, the purpose of which is several
unusual - joining a domain that is currently unavailable. Such a need
may be needed when deploying virtual machines and when ordering
pre-configured technology to the supplier, so as not to disclose credentials. Principle
quite simple: first on a system connected to the domain with djoin.exe,
an XML file is created and then imported on the connected system.

In addition, the Active Directory Administrative Center has been updated.
integrated all tasks for managing AD and replaced ADUC (Active
Directory Users and Computers console).

Conclusion

There are a lot of innovations in Win2k8R2, and they really simplify many
aspects of administration of Windows networks. Of course, to the final release something
may still be changed or added. Therefore, how will the final
version Win2k8R2, time will tell. Until then - download and test!

Www

Resources for:

  • Information for IT Pros on Microsoft TechNet -

    http://go.microsoft.com/fwlink/?LinkID=66006
  • developer information on Microsoft MSDN -

    go.microsoft.com/fwlink/?LinkId=67404
  • articles in the Support Knowledge Base (KB) -

    go.microsoft.com/fwlink/?LinkID=55142
  • Microsoft Connect newsgroups -

Good afternoon, dear readers of the blog site, today I want to tell you in this article how to install windows server 2008R2... The installation of this operating system is very simple and straightforward, but for novice system administrators, it can cause a number of questions, which I will try to answer in the article. We insert a disk or a USB flash drive, how to prepare it. In the BIOS, select the boot and our media (about this). Let's start. Before us is Malevich's Black Square with a white slider, in this and subsequent versions, this loader will always be used.

Installing windows server 2008 r2

  • I will show it on my test virtual machine, but this is no different from the installation on real server hardware. Classic loading bar (Windows is loading files)

How to install a Windows server

  • After the slider comes to the finish line, a small stage of questions and a license will begin, about everything in order. In a new window, we are asked to select the language and location of windows server 2008 R2. We leave Russian, except for the layout language, we put the USA.

How to install windows server 2008R2-02

  • Click "Install". Please note that in the same window there is a "System Restore" button, it may come in handy if you have problems with loading or errors on the server. In this paragraph you can find convenient utilities to solve these problems.

  • The installation wizard will make the necessary settings

How to install windows server 2008 R2-04

  • Choosing the edition you like, I chose enterprise. You are guided by which license you purchased.

How to install windows server 2008R2-05

  • We agree with the license agreement, which of course you must read 🙂

How to install windows server 2008R2-06

  • At this stage, we need to decide on the item, we will figure out what is needed for what.

Update - As the name suggests, we update previous versions of windows such as vista.

Full installation - needed for a clean machine, but suitable for already existing windows, when installing, the previous version of the windows folder will be renamed to windows old and put its own. Our option, we put everything from scratch.

How to install windows server 2008R2-07

  • Let's allocate space, for a more detailed distribution there is a button "Disk settings".

How to install windows server 2008R2-08

  • Since the disk is small, it makes no sense to break it up, click create.

  • As we can see, you can cut it, click Apply.

  • We see a 100 MB boot partition has been created and the main one, where we will put it, select it and go.

  • Click the "Next" button

  • The process of installing windows server 2008R2 will begin, it takes some time, it all depends on the speed of the disk array.

  • After rebooting, you will see a window with a new password for the Administrator. The password must contain 1 capital, small letters and numbers, at least 6 characters.

  • Enter the new password twice.

  • As you can see, the password has been successfully changed.

  • After the password has been set, the preparation of the desktop will begin.

ESET user prepared a guide for the deployment and administration of a network based on a dedicated server.

Today I want to talk about setting up Windows Server 2008 R2 in conditions close to combat (that is, in a virtual environment). This approach will allow you to test and study all the possibilities of this technology at home.

The article addresses the following issues:

  • setting up a DNS server;
  • installation of Active Directory;
  • interaction of accounts in the workgroup and in the domain;
  • connecting computers to the domain;
  • creation of domain users;
  • resource access control;
  • configuring a DHCP server;
  • network connection to the Internet;
  • setting up group policy;
To get started, you need a 64-bit Windows operating system and a virtual machine management program (such as VMWare). Minimum system requirements: 6 GB of RAM and 70 GB of free hard disk space.

The resource requirements of your PC depend on how many machines will be in the virtual network and what OS are installed on them.



Installing client machines running Windows 7, 8.1, and 10

In our example, there will be 4 computers running Windows Server 2008 R2, 7, 8.1 and 10. Thus, 4 GB of RAM is needed only for the virtual polygon to work.


We start by installing and configuring a DNS server. Using the VMWare program, we create server and client virtual machines:


File \ New virtual machine \ Custom \ Specify the installation image of the system \ Windows 2008 R2 \ Path to the virtual machine \ D: \ VirtualMashin \ Domain 2008R2 \ 2008R2 \ 1GB \ Use only network for host \ Create virtual disk: 40 GB, store in one file \ Finish


Then we install Windows Server 2008 R2:
  • We start the virtual machine
  • Open the BIOS (F2 key) and check the correctness of the settings for booting from the virtual drive. Make sure the virtual drive has the highest priority. If this is not the case, change the appropriate settings in the BIOS.
We create virtual machines for client operating systems in the same way.



Before configuring the DNS server, rename it to server so that the purpose of the computer on the network is clear:



Now we assign a static IP address to the network card, since the server's IP address should not change:


Network and Sharing Center \ Local Area Connection \ Properties \ Internet Protocol Version 4


We set the values:


IP: 192.168.0.1
Mask: 255.255.255.0

Now let's move on to setting up the DNS server:


Start \ Administrative Tools \ Server Manager \ Roles \ Add Roles \ Next \ DNS Server \ Next \ Next \ Install \ Close


Next, let's configure the DNS server:


Start \ Administrative Tools \ Server Manager \ Roles \ DNS Server \ DNS \ Server \ RMB \ Configure DNS \ Create forward and reverse lookup zones


Forward lookup zone - name-to-address translation, reverse look-up zone - address-to-name translation. We select "Yes, create a live view zone", then "Main zone", that is, the zone will be stored and updated on the server. An additional zone is created in a situation where the primary is stored on another server, and a copy is saved on the current server. This is needed to distribute the load on the main server:


Zone Name: office.local \ Create New Zone File \ Dynamic Zone Update




File creation office.local

DNS records need to be updated regularly. If a computer's IP address changes, it must be changed in the entry associated with that PC's domain name so that other computers know which IP address to access. If the records are not true, then the computer simply will not be able to access the network.



There are several options for dynamically updating a DNS zone:
  • Allow only secure dynamic updates. This method is recommended. However, the option will not be available until the domain is created and Active Directory is not installed.
  • Allow any dynamic updates - it is better not to use this setting, as the data may be unreliable
  • Disable dynamic update - records will have to be updated manually. We choose this method while dynamic updates are inactive. After raising the domain, just change the settings
In our example, there will be only one server, so no forwarding of requests is required:

Forwarders \ No, do not forward requests \ Done

Hope the article came in handy. Write your comments in the comments!



Anton Sevostyanov
System Administrator,

Top related articles