Thursday, November 18, 2010

Sunday, October 24, 2010

Query and Reset a Terminal Server Remote Session

If you want to know which users are connect to a specific Server you can use the command :

qwinsta /server:IP_SERVER

If you want to disconnect a specific user you can use the command :

rwinsta /server:IP_SERVER SESSION_ID

http://weblogs.asp.net/owscott/archive/2003/12/30/Managing-Terminal-Services-Sessions-Remotely.aspx

Tuesday, October 19, 2010

Manage SelectCtrl on Dialog Class

If you want manage the interaction with a Dialog form by a User you have to Insert this line in the Dialog Method of the Class before "Return" command.

dialog.allowUpdateOnSelectCtrl(true);

Monday, October 18, 2010

Change SID on Windows 7 and Windows Server 2008 R2 using sysprep

http://www.brajkovic.info/windows-server-2008/windows-server-2008-r2/how-to-change-sid-on-windows-7-and-windows-server-2008-r2-using-sysprep/

http://www.plexuk.co.uk/?page_id=793

How to run a Dynamics AX Hyper-V on Virtual PC

"Duplicate" a Hyper-V Virtual Macchine :

Http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/08/26/hyper-v-export-import-part-1.aspx

Convert VHD from Hyper-V to Virtual PC :

Many site said it's impossible to convert an Hyper-V VHD based image to Virtual PC 2007 format, I found a way to do it, basically you need to remove integration services before copy vhd, then replace hal.dll.

STEP BY STEP INSTRUCTIONS
1) Before copy VHD file, REMOVE Hyper-V Integration Services
2) Stop the Virtual Machine and copy the VHD file (let's call VirtualMachine1.vhd)
3) Start another virtual machine inside Virtual PC with same OS and use as a Secondary Disk the previous copied file (VirtualMachine1.vhd)
4) Using Windows Explorer from the previous started virtual machine open the Secondary Disk (let's suppose it's recognized as E:)
5) Replace hal.dll from the secondary disk (E:\WINDOWS\system32\HAL.DLL) using the file present into C: Partition.
6) Don't install ACPI drivers

More details about HAL.DLL file on: http://support.microsoft.com/kb/309283

http://vittoriop77.blogspot.com/2009/02/convert-vhd-from-hyper-v-to-virtual-pc.html

Wednesday, October 6, 2010

Dynamics AX 2009 : Troubleshoot Role Center Reporting Errors

Learn how to troubleshoot Role Center report errors. This video shows you how to find the related report and investigate an SSRS/SSAS report using Visual Studio, how to check the query in SQL Server Management Studio, and how to find the related code inside Microsoft Dynamics AX 2009.

http://msdn.microsoft.com/en-us/dynamics/ax/dd797430.aspx