How to enable debug logging for Terminal Services Licensing

1. Change the Terminal Services Licensing service settings in Control Panel. Click to select the Allow service to interact with desktop check box on the Log On tab.

2. Start Registry Editor on the server that is running Terminal Services Licensing, locate and then click the following key:

HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/TermServLicensing/Parameters

3. Create a DWORD value named Console. Set the value to 1.

4. Create a DWORD value named Log Level. Set the DWORD value as needed according to the following matrix:

Set the value to FFFFFFFF for full debug information.



Debug level : Bit 0 to 13 (total of 14 debug levels)



Severity code : Bit 30 and 31



#define DBG_SUCCESS 0x00

#define DBG_INFORMATION 0x01

#define DBG_WARNING 0x10

#define DBG_ERROR 0x11



Facility code : Bit 14 - 29



#define DBG_FACILITY_JETBLUE 0x00001

#define DBG_FACILITY_RPC 0x00002

#define DBG_FACILITY_KEYPACK 0x00004

#define DBG_FACILITY_LICENSED 0x00008

#define DBG_FACILITY_KEYPACKDESC 0x00010

#define DBG_FACILITY_ALLOCATELICENSE 0x00020

#define DBG_FACILITY_INIT 0x00040

#define DBG_FACILITY_LOCK 0x00080

#define DBG_FACILITY_HANDLEPOOL 0x00100

#define DBG_FACILITY_RETURN 0x00200

#define DBG_FACILITY_UPGRADE 0x00400

#define DBG_FACILITY_POLICY 0x00800

#define DBG_FACILITY_WORKMGR 0x01000

#define DBG_FACILITY_WKSTORAGE 0x02000

#define DBG_FACILITY_SRVLIST 0x04000

#define DBG_FACILITY_JOB 0x08000



All levels:



#define DBG_ALL_LEVEL 0x000003FF



Debug level:



#define DBGLEVEL_FUNCTION_ERROR 0x0001

#define DBGLEVEL_FUNCTION_TRACE 0x0001

#define DBGLEVEL_FUNCTION_DETAILSIMPLE 0x0002

#define DBGLEVEL_FUNCTION_DETAILFULL 0x0004

#define DBGLEVEL_FUNCTION_ALL DBG_ALL_LEVEL





5. Stop the Terminal Services Licensing service and restart it. A console window opens on the console of the server that is running Terminal Services Licensing.



NOTE: This does not work in a Terminal Services session. You have to work on the console or in Windows 2003 (mstsc /v:host /console).








----


How to enable debug logging for Terminal Services Licensing

2 comments:

Anonymous said...

[URL=http://hometown.aol.com/zocorside/zocor_lipitor/zocor-lipitor-15.html]convert zocor lipitor 15[/URL] versus zocor lipitor 15
[URL=http://hometown.aol.de/winegiftsss/wine-gifts.html]for wine gifts[/URL] delivery wine gifts [URL=http://hometown.aol.com/zocorside/effect-side-zocor.html]depression effect si
de zocor[/URL] complications effect side zoco r [URL=http://hometown.aol.com/lipppitor/lipitor-negative-side-effects.html]lipitor lipitor negative s
ide effects[/URL] sexual lipitor negative side effects
[URL=http://levitra.canadianmedsworld.info/dysfunction-erectile-levitra.html] dysfunction erectile levitra[/URL] dysfunction erectile levitra - [URL=http://levitra.canadianmedsworld.info/discount-levitra-online.html] discount levitra online[/URL] discount levitra online - [URL=http://levitra.canadianmedsworld.info/drug-levitra-online-purchase.html] drug levitra online purchase[/URL] drug levitra online purchase - [URL=http://levitra.canadianmedsworld.info/levitra-forum.html] levitra forum[/URL] levitra forum - [URL=http://levitra.canadianmedsworld.info/alcohol-levitra.html] alcohol levitra[/URL] alcohol levitra - [URL=http://levitra.canadianmedsworld.info/cialis-compare-levitra.html] cialis compare levitra[/URL] cialis compare levitra - [URL=http://levitra.canadianmedsworld.info/buy-prescription-levitra.html] buy prescription levitra[/URL] buy prescription levitra -
[URL=http://levitra.canadianmedsworld.info/delivery-levitra.html] delivery levitra[/URL] delivery levitra - best cause of high triglyceride - [URL=http://triglyceride.topcholesterol.info/cholesterol-triglyceride.html]good cholesterol triglyceride[/URL] stress cholesterol triglyceride - [URL=http://triglyceride.topcholesterol.info/triglyceride-medicine.html]hdl triglyceride medicine[/URL] hdl triglyceride medicine -
[URL=http://buy-viagra.tabsdrugstore.info/buy-viagra-in-mexico.html] buy viagra in mexico[/URL] buy viagra in mexico -
buy low price viagra - buy low price viagra -

[URL=http://cheap-viagra.tabsdrugstore.info/generic-viagra-cialis-cheap.html] generic viagra cialis cheap[/URL] generic viagra cialis cheap -

cheap viagra without prescription - cheap viagra without prescription

Anonymous said...

pfizer lipitor license
cheap lipitor

cheap online lipitor