Windows Server Evaluation To Standard Convert Process

Hi Guys,

For some special processes we downloading the evaluation version of Windows Server and want to use permanently with existing settings. In this case we need to enter a valid license for conversation.

But there is a key point in here. First of all you need to convert the Evaluation to Standart or Datacenter edition. For this process open Command Prompt and enter that command line :

Dism /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:12345-67890-12345-67890-12345

I mentioned the product key as 12345 but you need to type your own valid key in here.

This process will be take a time. You need to be patient in this process.  If you want convert to Datacenter Edition you need to replace ServerStandard to ServerDatacenter.

Enjoy!

Windows Server 2016 – Data Deduplication

Hello everyone,

The role Data Deduplication has released with Windows Server 2012 and continue inside our life with Windows Server 2016.

Data Deduplication: As same as logical the data has a copy on disk, using just one copy and linked mechanism.

We use the big sized data on this days and disk technologies have regard to this situation. With big sized data, we getting new problems in processing, backup, recovery, and storing. You can review the figure at the top.

A lot of backup and storage systems are using the deduplication mechanism. So, what is the key features the Data Deduplication on Windows Server 2016?

  • Supporting at volume level
  • Using at NTFS
  • Can be used with Nano Server
  • Provide support until 1 TB for per file
  • Working with DPM
  • Supporting max 64 TB sized disk
  • Can be managed with PowerShell

Here are the non-support features :

  • Not working on Boot and System volumes
  • Not supporting encrypted files
  • Not supporting Failover Cluster

Let’s install that feature and configure.

The first step open Server Manager and click to Add Roles and Features

Continue with Role-based or feature-based installation.

Select your target server.

Select Data Deduplication under File and Storage Services Role.

Confirm installation and click to Install button.

After completing the installation open Server Manager and click to File and Storage Services in the left pane.

Right-click on which volume you will use this feature and click to Configure Data Deduplication.

 

You will see as Disabled by default. You can choose a purpose for which purpose you will use.

General Purpose File Server: It’s using the general processes like file sharing or storing data.

Virtual Desktop Infrastructure (VDI) Server: It’s using for VDI situations.

Virtualized Backup Server: It’s using for Volume Shadow Service and Virtual Backup servers.

 

Click on Set Deduplication Schedule button and create your self-schedule.

It will work at this times by you has set schedule. If your data size is over Terabyte’s you need to wait a few hour for the first process. It’s depending on your hard disks speed. You can review from the console the performance as the shown figure.

 

Hope to work for you as well. Have a good day.

Windows Server 2016 Temporary Group Membership – Privileged Access Management

In this article we will review the Temporary Group Membership released with Windows Server 2016.

Sometime we need to add a user to group/groups as temporary. After that process we may forget to remove or need to remove as manually. The great feature released with Windows Server 2016 “Privileged Access Management” we can manage that automatically.

Scenario : We will add an user to a group for 5 min.

There is a domain named kenanbulbul.com and server name DC showing next figure.

privileged_access_management_1

First of all we need to add that features to Server. For that we have one way and this is Powershell.

Here is the necessary powershell line :

Enable-AdOptionalFeature -Identity “Privileged Access Management Feature” -Scope ForestOrConfigurationSet -Target “kenanbulbul.com”

privileged_access_management_2

We enabled the PAM feature with that powershell line.

We can check status of this feature with powershell line.

Get-ADOptionalFeature -Filter {Name -like “Privileged*”}

privileged_access_management_3

Well. Everything seems perfect.

Now we will add an user to a group as temporary.

Here is the Powershell line :

Add-ADGroupMember -Identity “ColoredPrinter” -Members “jack” -MemberTimeToLive (New-TimeSpan -Minutes 5)

privileged_access_management_4

I am confirm the process done :

privileged_access_management_5

Also you can review the status of time on the member properties :

privileged_access_management_6

You see the TTL value as second.

When the time is expired the member will remove automatically.

I used the time properties as minute but you can use as days, Hours, seconds.

New-TimeSpan

[-Days < Int32>]

[-Hours < Int32>]

[-Minutes < Int32>]

[-Seconds < Int32>]

 

Hope it will help to you. I so liked that feature and its usefull for me.

Have a good servers!

 

How To Host Different SSL Certificates on IIS

I have got this question frequently.  Before IIS 8, you could host multiple sites needing SSL on a single IP address if the sites utilized the same SSL certificate or used a wildcard SSL. As you know wildcard SSL using for subdomains. Now you can use for per site a different SSL cert. I will not tell how to add SSL to IIS in this article. I will show how you can host different SSL on same IIS.

A wildcard certificate was only beneficial if you needed SSL on the subdomain level of a current site/domain.  But what if you had sites with different names?  Well, you could get a Subject Alternative Names (SAN) SSL certificate.  This SSL certificate would allow you to protect multiple sites with a single SSL certificate.  The last available option prior to IIS 8 required setting each additional SSL site on the same IP address but with a different SSL port number.  This would allow you to utilize each site’s/domain’s SSL on the same IP address as another site.  By default, SSL certificates utilize port 443 for secure communication.  This port doesn’t need to be specified in the URL since this is the standard port.  When you use a different port number for SSL you will be required to add the non-standard SSL port number in the URL in order for it to work.  As you can imagine, this is not the way you want to run a public site.  How would a user know to enter the port number and it’s not a common step that users are familiar with doing when browsing a site.

1 – You need to open IIS Manager.

2 – Go to your site, right click and click to Edit Bindings.

3 – Choose Type https.

4 – Just click to“Require Server Name Indication” 

ssl-sni

 

 

 

 

 

 

 

 

5 – Select your SSL certificateOK.

6 – Thats It! Enjoy with SSL =)

Have a good day.

Expired Passwords Reset via RDWeb – RDWeb Üzerinde Şifre Değiştirme

If your user’s password has expired and user using only rdweb screen, they can change their password so easily.

This function is builtin on Remote Desktop but not enabled by default. In this article we will learn how to enable this function.

We start to enabling this feature.

  1. Start IIS Manager on your RDWeb Server
  2. Browse to [Server Name] – Sites – Default Web Site – RDWeb – Pages
  3. Open Application Settings
  4. Change the property PasswordChangeEnabled to true
  5. To test the password reset functionality browse to
    https://[Servername]/RDWeb/Pages/en-US/password.aspx
    and you will see this :

1

 

 

 

 

 

 

 

 

 

 

When users trying to login with expired password, they will see this screen :

 

 

2

 

 

 

 

 

 

 

Now, we should to enable the link on the login page. For this:

  1. Using an elevated notepad (or tool of your choice) edit the fileC:\Windows\Web\RDWeb\Pages\en-US\login.aspx
  2. Go down to line 583 and add the following line<a href=”/RDWeb/Pages/en-US/password.aspx”>Password Reset Utility</a>
  3. Save the page
  4. Browsing to the login page for RDweb and verify the change

 

PowerShell Türkçe Karakter Dönüştürmek

PowerShell Türkçe Karakter Dönüştürmek

PowerShell ile metinler içerisindeki Türkçe karakterleri bazen İngilizce karakterlere dönüştürme ihtiyacınız olabilir. Bunun için aşağıdaki örnek kodu kullanabilirsiniz:

“Türkçe Karakter İçeren Metin ( Ç,ç,İ,ı,ö,Ö,ş,Ş,ü,Ü” -creplace “ş”, “s” -creplace “Ş”,”S” -creplace “ğ”,”g” -creplace “Ğ”,”G” -creplace “ı”,”i” -creplace “İ”, “I” -creplace “ü”, “u” -creplace “Ü”, “U” -creplace “ö”, “o” -creplace “Ö”, “O” -creplace “ç”, “c” -creplace “Ç”,”C” -creplace “İ”,”I”

Hyper-V 3.0’da Snapshot Merge İşlemi Nasıl Gerçekleştirilir ?

Hyper-V ‘nin önceki sürümlerinde, alınan snapshotların merge edilmesi işlemi offline gerçekleştirilebiliyordu. Aşağıdaki örnekte görebileceğiniz gibi, Hyper-V 3.0 ‘la birlikte Microsoft bu noktadaki açığını kapatmış ve sanal makineniz çalışır durumdayken eski tarihli snapshot’ı sildiğinizde merge işleminin online olarak gerçekleşmesini sağlamış.

123012_1752_HyperV30da1

Resim-1

Operasyon sırasında herhangi bir network kesintisi beklenmemekle birlikte, live merge işlemi .vhd dosyasının bulunduğu disk üzerinde bir miktar I/O yaratıyor. Storage üzerinde tutulan sanal sunucular için bu trafik tolere edilebilir fakat local disklerdeki vm’lerde merge işlemi bitene kadar performans düşüşleri yaşanabilir.

Server Manager Nedir ?

Server Manager Nedir?
Server Manager, Windows Server 2012 çalıştıran bilgisayarları yönetmek için kullanacağınız birincil grafiksel araçtır. Serve Manager konsolunu hem yerel sunucuları, hem de uzak sunucuları yönetmek için kullanabilirsiniz. Ayrıca, sunucuları gruplar halinde de önetebilirsiniz. Sunucuları gruplar halinde yöneterek, aynı yönetim görevlerini, aynı rolü gerçekleştiren ya da aynı grubun üyesi olan birden çok sunucu üzerinde gerçekleştirebilirsiniz. Server Manager konsolunu kulanarak, hem yerel sunucular, hem de uzak sunucular üzerinde
aşağıdaki görevleri gerçekleştirebilirsiniz:
  • Roller ve özellikler eklemek
  • Windows PowerShell oturumlarını başlatmak
  • Olayları görmek
  • Sunucu yapılandırma görevlerini gerçekleştirmek
Best Practices Analyzer
Server Manager bütün Windows Server 2012 rolleri için bir Best Practices Analyzer aracı içerir. Best Practices Analyzer ile, ağınızdaki rollerin verimli olarak işlev görüp görmediği ya da çözüm bulmanız gereken sorunlar olup olmadığını belirleyebilirsiniz. Best Practices Analyzer bir rolün nasıl işlev gördüğünü inceler—uyarı ve hata olayları için ilişkili olay günlüklerini sorgulamak da dahil olmak üzere böylece,belirli rollerle ilişkili sistem durumu sorunlarından, bu sistem durumu sorunları sunucu işlevselliğini etkileyen bir arızaya neden olmadan önce haberdar olabilirsiniz.