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

7 comments:

matthuron8830 said...

I read over your blog, and i found it inquisitive, you may find My Blog interesting. My blog is just about my day to day life, as a park ranger. So please Click Here To Read My Blog

http://www.juicyfruiter.blogspot.com

Anonymous said...

Hi all! http://hometown.aol.com/derburg/
http://hometown.aol.com/derburg/vaginal-plastic-surgeries.html - vaginal
plastic surgeries
http://hometown.aol.com/derburg/celebrity-plastic-surgery.html - celebrity
plastic surgery
http://hometown.aol.com/derburg/plastic-surgery-gone-wrong.html - plastic
surgery gone wrong

http://hometown.aol.de/derburg/buy-xanax-without-prescription-in-usa.html -
buy xanax without prescription in usa
http://hometown.aol.de/derburg/buy-xanax-online-without-a-prescription.html
- buy xanax online without a prescription
http://hometown.aol.de/derburg/buy-xanax-no-prescription.html - buy xanax
no prescription
http://hometown.aol.de/derburg/buy-xanax-without-prescription.html - buy
xanax without prescription

http://hometown.aol.com/feryudo/buy-xanax.html - buy xanax
http://hometown.aol.com/feryudo/buy-xanax-online.html - buy xanax online
http://hometown.aol.com/feryudo/buy-xanax-on-line.html - buy xanax on line


G'night

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...

Hello http://hometown.aol.com/feryudo/
http://hometown.aol.de/derburg/
http://hometown.aol.com/zocorside/
http://hometown.aol.com/zocorside/zocor_lipitor/
http://hometown.aol.com/zocorside/zocor_generic/
http://hometown.aol.de/zyrtecsideeffect/
http://hometown.aol.com/derburg/
http://hometown.aol.de/winegiftsss/
http://jack-daniels.newentire.info/
http://jack-daniels-whiskey.newentire.info/
http://hometown.aol.de/zyrtecsideeffect/
http://zocor.topcholesterol.info/
http://lipitor.topcholesterol.info/
http://triglyceride.topcholesterol.info/
http://www.tabsstore.info/
http://viagra.tabsdrugstore.info/
http://buy-viagra.tabsdrugstore.info/
http://online-viagra.tabsdrugstore.info/
http://purchase-viagra.tabsdrugstore.info/
http://levitra.canadianmedsworld.info/
http://hometown.aol.com/feryudo/
http://hometown.aol.de/derburg/
http://hometown.aol.com/zocorside/
http://hometown.aol.com/zocorside/zocor_lipitor/
http://hometown.aol.com/zocorside/zocor_generic/
http://hometown.aol.com/lipppitor/
http://hometown.aol.com/countryguitarr/
http://hometown.aol.de/zyrtecsideeffect/
http://hometown.aol.de/winegiftsss/
http://jack-daniels.newentire.info/
http://jack-daniels-whiskey.newentire.info/
http://hometown.aol.com/derburg/
http://hometown.aol.de/bmwm3seriesss/

Anonymous said...

Hi
animal sex

Anonymous said...

pfizer lipitor license
cheap lipitor

cheap online lipitor

Anonymous said...

Hello, nice site look this:
[url=http://department.monm.edu/uptildawn/forum/00002524.htm]soft cialis tabs [/url]
soft cialis