Month: Luty 2015

Remote Server Licensing Fix, Windows Server 2003

Po usunięciu klucza rejestru istotne jest uruchomienie programu z uprawnieniami administratora.

  • Click on the Start button and in the search box type “regedit” (without the quotes)
  • The Regedit program should be highlighted at the top of the start window.  Either simply hit ENTER, or double click it.
  • In Regedit, navigate to the following key:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing
  • Right click on the key name “MSLicensing” and select DELETE.
  • Close Regedit
  • Do NOT open any shortcuts for Remote Connections at this point.  Instead, you need to open the Remote Desktop Connection Manager.  It’s VERY important that you do this by RIGHT clicking on the program and selecting “Run as administrator.”  If you don’t do this properly, the registry key you deleted in step 4 will not be recreated.  The Remote Desktop Connection Manager can be found at: START/All Programs/Accessories/Remote Desktop Connection.
  • Select the remote connection you want to use and click “Connect.”  If you’ve done this properly, a new registry key will be added that will have updated licensing information.

Źródło: http://jeffpicard.com/blog/computer-fixes/microsoft-remote-desktop-licensing-fix/

Czyszczenie profilu domenowego – ProfileList

To clear user local profile via registry:

  1. Press on Start > Run >Regedit
  2. Navigate to the following registry key :“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  3. Under ProfileList navigate to binary key’s like this: S-1-5-21-3656904587-1668747452-4095529-500
  4. On the right side under ProfileImagePath you’ll see the profile path.
  5. Chose the one with the desired user and delete the long registry key like: “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”

Sprawdzone też na serwerze terminalowym pod Windows Server 2012 R2

Linux dodanie do domeny AD

Dodanie do domeny systemu Linux:

pobranie odpowiedniego skryptu z Link

wget http://download.beyondtrust.com/PBISO/8.2.1/linux.deb.x64/pbis-open-8.2.1.2979.linux.x86_64.deb.sh
chmod a+x pbis-open-8.2.1.2979.linux.x86_64.deb.sh
bash ./pbis-open-8.2.1.2979.linux.x86_64.deb.sh
domainjoin-cli join domainName ADjoinAccount
reboot

Stworzenie grupy w AD LinuxAdmins i dodanie do niej administratorów

edycja sudoers

sudo visudo

dodanie

%domainName\\linuxadmins ALL=(ALL:ALL) ALL

Źródło