Показаны сообщения с ярлыком Windows Server 2012 R2. Показать все сообщения
Показаны сообщения с ярлыком Windows Server 2012 R2. Показать все сообщения

вторник, 10 января 2017 г.

Allow non-administrators RDP Access to Domain Controller

Step-by-step guide

  1. net localgroup "Remote Desktop Users"
  2. net localgroup "Remote Desktop Users" /add corp\vasya.pupkin
  3. open gpedit.msc
  4. Go to Computer Configuration -> Windows settings -> Security Settings -> Local policies -> User Rights Assignment
  5. Find the policy Allow log on through Remote Desktop Services
  6. Edit the policy by adding the local group Remote Desktop Users (like this: corp\Remote Desktop Users), a domain user, or a group (like this: corp\ras-users) to it
  7. gpupdate /force
  8. Enjoy!

How to reset grace period on Windows 2008/2012/2012R2 terminal Server

Step-by-step guide

  1. make your user's account owner of this register element:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod
  2. The solution was to delete the REG_BINARY in
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod
    Only leaving the default.



How to check Windows RDS grace period remaining days

Step-by-step guide

  1. Logon to your server as an administrator Start--All Programs--Accessories--Right-Click on Command Prompt and choose Run as Administrator
  2. Enter the following command:
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays

Example:



    3. Enjoy!

понедельник, 29 августа 2016 г.

Change Windows 2012 R2 Server Edition

Step-by-step guide

  1. To determine which versions the server can be upgraded to run:

  • DISM /online /Get-TargetEditions

      2.  As can be seen from the above screenshot this version of Windows Server can be upgraded to Target Edition : ServerDatacenter
           To complete the conversion between editions we use the DISM command with the following format:
  • DISM /online /Set-Edition:<Version> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEULA
In the above example the target edition is ServerDatacenter