Guillermo
Showing posts with label TS. Show all posts
Showing posts with label TS. Show all posts

Sunday, November 17, 2013

CtxAdmTools TS and RDS License Manager v1.0

CtxAdmTools TS and RDS License Manager v1.0


This FREE tool manage servers and desktops TS and RDS licensing from one console

Release Date: Saturday, November 16, 2013

Manage Terminal Server and Remote Desktop Services licensing from ONE single console

TS and RDS License Manager Console

on multiple Windows server and desktop versions

Do more in less time:

Scan your AD domain or file list of machines to create an inventory of your machines.
Asset Management. Export inventory of TS and RDS servers to Excel file.
Enable or disable Remote Desktop on remote Windows server and desktop machines.
Configure TS or RDS license servers on remote Windows servers.
Change TS or RDS license mode to Per Device Mode or Per User Mode.
Launch Remote Desktop session of selected Windows server and desktop machines.
Detect and fix license issues on your Citrix XenApp and XenDesktop farms.

Simple.
Enable Remote Desktop on remote machines with just one click.
Discover more features.

Enable TS and RDS remotely

Quick. Save your time.
Change TS and RDS license mode in 3 seconds instead of 5 minutes.
Compare features.

Change TS and RDS License Mode

Compatible with all modern Windows OS versions

TS and RDS License Manager supports following Windows server versions:
Windows 2000 Server, Windows Server 2003 / 2003 R2, Windows Server 2008 / 2008 R2 and Windows Server 2012 / 2012 R2.

Also, following Windows desktop OS are supported: Windows XP, Windows Vista, Windows 7 and Windows 8.

Learn more about TS and RDS License Manager

Tuesday, February 01, 2011

MS: Events 1085 and 8194 on Windows 2008 - Group Policy Issues

A full hard disk caused the following errors to appears on event viewer in a Windows Server 2008 running Terminal Server and Citrix XenApp. The lack of space caused a GPO corruption on the server.


Log Name: System
Source: Microsoft-Windows-GroupPolicy
Event ID: 1085
Level: Warning
Description:Windows failed to apply the Group Policy "MyPolicy" settings. Group Policy "MyPolicy" settings might have its own log file. Please click on the "More information" link.


Log Name: Application

Source: Group Policy Start Menu Settings
Event ID: 8194
Level: Error
Description: The client-side extension could not remove user policy settings for 'MyPolicy' because it failed with error code '0x8007000d The data is invalid.' See trace file for more details.

SOLUTION: Delete the content of folder C:\ProgramData\Microsoft\Group Policy\History, run GPUPDATE /FORCE and reboot server.

Friday, January 28, 2011

MS: Terminal Server issue - Error 4105

Error:

Log Name: System
Source: Microsoft-Windows-TerminalServices-Licensing
Event ID: 4105
Level: Warning
Description:

The Remote Desktop license server cannot update the license attributes for user "user" in the Active Directory Domain "domain.com". Ensure that the computer account for the license server is a member of Terminal Server License Servers group in Active Directory domain "domain.com".If the license server is installed on a domain controller, the Network Service account also needs to be a member of the Terminal Server License Servers group.If the license server is installed on a domain controller, after you have added the appropriate accounts to the Terminal Server License Servers group, you must restart the Remote Desktop Licensing service to track or report the usage of RDS Per User CALs.Win32 error code: 0x80070005




This issue is caused by missing Terminal server attributes on Windows 2008 R2 Active Directory Domains. This issue can cause issues on Citrix logins.

Solution:

Run the following powershell script. The script MUST run on PowerShell 2.0 and with administrator permissions (right click on the powershell icon and select Run as Administrator. Modify the domain name in the script.

$URL = ldap://DC=mydomain,DC=com/;


cls
$root = New-Object DirectoryServices.DirectoryEntry
$URL$ds = New-Object DirectoryServices.DirectorySearcher
$ds.SearchRoot = $root
$ds.filter = "objectCategory=Person"
$src = $ds.findall()
write-host "Found" $src.count "user objects.`n"
$src %{
$de = $_.getdirectoryentry()
$accessrules = $de.get_objectsecurity().getaccessrules($true, $false,[System.Security.Principal.SecurityIdentifier]) ?{$_.ObjectType -eq "5805bc62-bdc9-4428-a5e2-856a0f4c185e"}
if ((measure-object -inputobject $accessrules).count -eq 0)
{
$ar = new-object System.DirectoryServices.ActiveDirectoryAccessRule([System.Security.Principal.SecurityIdentifier]"S-1-5-32-561", 48, "Allow", [guid]"5805bc62-bdc9-4428-a5e2-856a0f4c185e")
$de.get_objectsecurity().addaccessrule($ar)
$de.commitchanges()
write-host -f yellow ("Added:`t" + $de.properties["sAMAccountName"])
start-sleep -m 200
}
else
{
write-host -f green ("OK:`t" + $de.properties["sAMAccountName"])
}
}

Friday, January 21, 2011

CTX: Exchange is unavailable error on Citrix or Terminal Server

When a user opens Outlook on Citrix XenApp (or Terminal Server) running on Windows 2008, he received an error: “Exchange is unavailable”.

They are several reasons for this issue:

1) Network issues:

Check network connection. Check if network gateway is ok. Reset the network connection.

2) Cached Profiles:
  • Check the date of cached profile folder for the user on the C:\Users folder. If the date is from previous days, ask user to log off and delete the cached profile. Also delete any temp folder, they are corrupted profiles.
  • Check Profile List and delete key with .bak at the end in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Compare users in task manager and delete profiles from not connected users too.

Note: you can enable a GPO to delete profiles when users log off from a session.

Open Group Policies Management console. Expand Computer Configuration, expand Administrative Templates, expand System, and then expand User Profiles.
Double-click Delete cached copies of roaming profiles, click Enabled

This GPO not always is working properly. A process lock the profile and some pieces of the profile still on folder. You can enable a GPO to delete profiles older than XX days when server is rebooted, to delete these profiles.

Open Group Policies Management console. Expand Computer Configuration, expand Administrative Templates, expand System, and then expand User Profiles. Double-click Delete user profiles older than a specified number of days on system restart and type amount of days.

Wednesday, December 15, 2010

MS: set color quality to 32 bit when RDP VMware VMs

When I RDP a VMware Virtual Machine (VM) running Windows Server 2008. The color quality is 16 bit even if we set 32 bit on Remote Desktop Client.



Solution: modify the local policy using gpedit.msc and modify following policy:

Computer Configuration, Administrative Templates, Windows Components, Terminal Services, Terminal Server, Remote Session Environment