XP Pro SP3 Multiple RDP Connections

In case it requires a repeat:
I like being able to fix things remotely. If I have to go onsite and repair a computer.. well, I don’t like that. I’d much rather do everything remotely. One good thing about doing remote repairs is that the computer user doesn’t have to be around watching your every move. And with that you don’t have to interrupt their work either.

But then we get to RDP sessions – if a user is on an XP box and requires some help, there were two options:
1.) Kick the user off and RDP in as an administrator
2.) Share the user’s screen using a third party product (VNC/LogMeIn/GoToMyPC/PCAnywhere/TeamViewer/etc)

Both of those ways would not allow the end user to continue working. So neither is good when trying to troubleshoot a several hour problem.

So it got me to thinking – if there is a way to log in more than 3 times into a Windows Server with a hacked termserv.dll file, why isn’t it possible to do the same thing with XP?

Well it is.

***Attention***
Do this at your own risk. I did not edit this Microsoft DLL, so there may be some hidden underlying issues that come about after installing said file. I tested this on two systems – both of which are Windows XP Pro SP3 with a Volume License Key, fully up to date with patching, and both were brand new installs. Both systems were also on a domain (not a workgroup) with the most basic GPO’s applied. Microsoft does not condone hacking their DLLs, so using this file will probably void your support with them.

1.) Download the file Here, rename this file termsrv.dll
2.) Open My Computer, select Tools/Folder Options. Click on View. Now make sure Show hidden files and folders is selected.
3.) Navigate to C:\WINDOWS\system32\dllcache
4.) Copy termsrv.dll to this folder. If you already have a termsrv.dll here, rename this file termsrvOLD.dll. Then copy the new file to this directory.
5.) Back up a directory (C:\WINDOWS\system32) and rename termsrv.dll to termsrvOLD.dll. Now copy the new termsrv.dll to this directory.
6.) If the file is overwritten by Windows Protection, you will have to accomplish steps 3 through 5 in safe mode. Press F8 before Windows loads to select safe mode.
7.) Reboot your machine
8.) Download the batch file here. You can right-click and select Edit to see what this batch file does before running it.
9.) Run the batch file and now you should be able to connect from multiple computers!

For whatever reason, Windows XP seems to reset the necessary registry values whenever the computer reboots. If you want to make a startup script for your domain you can do so.

Make a batch file with the following:
reg import \\MYDOMAIN\SysVol\MYDOMAIN\installpackages\ts_concurrent_session_patch.reg
Then set this to run in the GPO for your machine(s) and user(s).

Outlook 2007 Cannot Create File Error

I had a user complain that they could not open attachments via Outlook anymore. The system they are using is a Windows XP Pro SP3 system with Office 2007 installed. Their workaround was to save the document to their My Documents folder (or desktop) and then open that way. I wonder why they complained…

Here’s the exact error:
Cannot create file: (filename). Right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder.
unabletoopenfolders

Here’s the fix:

Navigate to C:\Documents and Settings\USERNAME\Local Settings\Temporary Internet Files\Content.Outlook\
You’ll find a randomly name generated folder in here. In my case it’s MI2MU5YB. Open this folder.
You’ll now find a bunch of files – all of which you’ve opened as attachments before.
Select All
Delete
Retry to open your attachment

***EDIT*** 03.08.2011
I just had a user with this error: Word cannot complete the save due to a file permission error. The same fix above applies in this case. User on XP, office 2007.

And the location on Vista/7 for temporary internet files:
c:\users\YOURUSER\AppData\Local\Microsoft\Windows\Temporary Internet Files\

AND you can just open up Internet Explorer, go to Tools / Internet Options
Then click the Delete… button. I generally only select Preserve Favorites Website Data and Temporary Internet Files. But that’s just me.

Windows System Variables

In creating a software restriction policy, I had to refresh on some of the Windows System Environment Variables. Google helped me find a site (http://www.wilsonmar.com/1envvars.htm) that listed quite a bit of useful information.

%SystemDrive% C:

%SystemRoot% C:\WINNT
C:\WINDOWS

%WinDir% C:\WINNT
C:\WINDOWS

%SystemDirectory% C:\WINNT\System32
C:\WINDOWS\System32

%ComSpec% C:\WINNT\system32\cmd.exe

%programfiles% C:\WINNT\Program Files

%Temp% C:\DOCUME~1\Usr\LOCALS~1\Temp from
C:\Documents and Settings\Usr\Local Settings\Temp
%Tmp%

%HOMEDRIVE% C: The drive letter associated with the user’s home directory

%HOMEPATH% The path to the user’s home directory (excluding drive):
\Documents and Settings\Guest

%OS% Windows_NT (even on Windows XP machines
The operating system the user is running

%USERDOMAIN% The name of the domain that contains the user’s account

%USERNAME% The user’s name

%USERPROFILE%

%USERPROFILE%\Desktop The user’s desktop folder

Cisco Unified Messaging 7 Voicemail Alerts

We recently upgraded to CUM 7 from Unity 4. Big difference.

In doing so, we also get our voicemails sent to our Exchange 2007 inbox as well as having the red light show up on our IP Phones. I recently, for the first time in about 6 weeks, rebooted our primary Exchange server. Unity did not like this, and all voicemail alerts (the red light) failed to work.

The fix for this is:
RDP to the UM server as a Unity Administrator – make sure you don’t allow sounds to go back and forth over the RDP connection as this would make all voicemails fail.
Start, All Programs, Unity, Manage Integrations
If you get an alert that the services cannot be found, then you are probably not logged in as a Unity Admin (or the services really are off, in which case you would have a much larger problem)
Now navigate down to the Properties of your CUCM/CCM server.
In the lower right corner there should be a MWI Resynchronize Now button. Press this button.

Depending on the size of your organization this could take up to a couple minutes.