Month: February 2020

How can I verify that my local COM ports are redirected in an RDP session ?

A: Start a command window and type the following command at the prompt: change port /query The output will look something like this: AUX = \DosDevices\COM1 COM1 = \Device\RdpDrPort\;COM1:15\tsclient\COM1 COM2 = \Device\RdpDrPort\;COM2:15\tsclient\COM2 COM3 = \Device\RdpDrPort\;COM3:15\tsclient\COM3 LPT1 = \Device\RdpDrPort\;LPT1:15\tsclient\LPT1 PRN = \DosDevices\LPT1 From the above, you can see that COM1-3 and LPT1 are redirected. The number […]

Installing a web application from an msi installer fails on Vista / Windows 7 / Windows Server 2008

Starting the installer results in a near immediate message reading: “the installer was interrupted before this application could be installed. You need to restart the installer to try again.” Additionaly, the eventlog shows eventid 11708 with a short error message stating “installation failed” Resolution: You need to install the IIS6 Metabase compatibility component for the […]

Resolving coalation conflicts with temporary tables

When writing long query’s or stored procedures using temporary tables, you may run into an error like: Cannot resolve the collation conflict between “Latin1_General_CI_AS” and “SQL_Latin1_General_CP1_CI_AS” in the equal to operation. The cause of this error is that the tables you are querying against have a different collation then the server default. This causes the […]

Re-activating the create unit test function in Visual Studio 2012

Visual studio 2010 had a quick rightclick context menu to create unit test which has disappeared in VS2012, to move to a more general approach that isnt directly tied in with the MS unit testing system. It is possible however to re-enable the menu function or use a keyboard shortcut. full writeup source: http://serena-yeoh.blogspot.nl/2013/02/visual-studio-2012-create-unit-test.htmlhttp://blogs.msdn.com/b/malaysia/archive/2013/02/20/right-click-create-unit-tests.aspx Your […]

Server 2012 – Change the type of a network location

By default the network location awareness service will attempt to classify your network, and you will not be able to change the location. To enable editing of the location(s) take the following steps: Start –> run –> MMC In the MMC console add the Group Policy Object editor for the local computer Open Computer configration, […]

Restore trust between server and workstation without leaving and rejoining the domain

If a workstation is restored from a backup you will likely run into a message like ‘the trust relationship between this workstation and the primary domain failed’. The general advice will be leaving and rejoining the domain. However, there is a much safer method. You can start PowerShell as an administrator, and run the command […]

Hyper-V 2008 Powershell Security Warnings

After setting the execution policy for windows powershell to unrestricted, you still are unable to run powershell scripts from a batch file or the command line without the following warning popping up: C:\MyScripts> Set-ExecutionPolicy unrestricted PS C:\MyScripts> ./somefile.ps1 Security Warning Run only scripts that you trust. While scripts from the Internet can be usefull they […]

Next Page » « Previous Page