msgbartop
IT Support Notes, Tech Culture, Anything Geeky
msgbarbottom

January 26 2010 How to disable the BEEP sound in Terminal Services

In the following scenario:

  1. Using Microsoft Terminal Services (Windows 2003 or 2008).
  2. Sound redirection disabled at the server or turned off at the client

Certain system events will still cause the system to ‘beep’ out of the system speaker. Turning off Windows Sound Schemes doesn’t stop the notification beep. Note this is sound is NOT out of the normal soundcard/external speakers but will be out of the internal speaker on the motherboard. If you’re having this problem, you’ll know how incredibly annoying it is. After hours of digging online and trying different scenarios, I stumbled across a fix and have documented it here.

On the terminal server, open Regedit and navigate to the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server
Right-click on the ‘Terminal Server’ key on the left, select “New”, then “DWORD Value”. Name the value ‘DisableBeep’, press ‘Enter’ and double-click on it to change the ‘Data’ field. Enter ‘1′ as the ‘Value Data’ and click OK. Close the registry editor and restart the server. You will now have a non-beeping Terminal Server!
DisableBeep Registry Entry

DisableBeep Registry Entry

Tags: , ,

January 17 2010 The quickest way to install Joomla 1.5 on a LAMP server

So I was going to setup a website for my wife’s new gig on my web-server. I created the MySQL database, FTP account and configured Apache accordingly. After downloading the Joomla 1.5.15 tarball and starting the FTP upload to my web-server, I went looking for the Joomla quickstart guide. To my astonishment, the “quickstart” guide is a full 49 pages long. Awesome, to say the least…and not too quick.

Here’s another one of those blog posts that’s mostly self-serving but hopefully helps a few other Joomla hopefuls.

To install Joomla 1.5 on a LAMP (Linux+Apache+MySQL+PHP) server:

  1. Download the tar or zip file from the www.joomla.org website
  2. FTP the contents of the file to your web server
  3. Browse to the URL of your web-server (the URL of where you uploaded it)
  4. Walk through the wizard, enter all information as needed.
  5. Once you’re at the ‘Congratulations’ page, reconnect via FTP and delete the ‘installation’ folder from the server.
  6. That’s it! You can now manage your Joomla site by going to the http://sitename.com/administrator address.

What’s great is that with the newer versions of Joomla, the admin console actually connects to your web-server using FTP to make changes to your config files and to upload Themes/Plugins, etc.. No more chmod’ing files on your web-server!

Tags: , ,

July 20 2009 Jailbreaking my iPhone 3G…not rocket science

I’m posting this here as a reference for myself and for anyone else who might be scouring the net looking for the easiest way to jailbreak their iPhone. I found some other guides but the utilities either crashed on my machine (Windows 7 beta), or the download links were broken. I watched this video, then downloaded the utils from his links, then watched again and jailbroke my phone while I followed his example. Worked like a charm….

Check out the video on YouTube

I’ve got some hacks that I’ve put together for a very specific purpose. I’m sure they’ll be useful to others but I can’t share them yet. I’ll post back here oneday when sharing them will be constructive :)

Tags: ,

July 20 2009 Business Contact Manager on Terminal Services (Successful)

One of the many services I provide is hosted applications and managed, dedicated servers. A client that I recently picked up had a need for sharing his Microsoft’s Business Contact Manager database with several geographically separate associates. I’ve setup more than a handful of servers as Terminal Servers using both Citrix Metaframe (now XenApp Server), and pure Microsoft Terminal Services. One of my most recent deployments was for a medical practice and uses Windows 2008 w/Terminal Services and the applications deployed with the RemoteApp functionality. It worked like a charm for that client so I jumped at the opportunity to do it again for this new one.

So we setup the OS, installed Microsoft Outlook + Business Contact Manager and started to setup users…then we hit the brick wall. When we started setting up the users’ e-mail accounts to point to our Exchange Server (another hosted service I provide), we learned that, according to Microsoft, you can’t use Outlook in ‘cached mode’ on a terminal server. The whole concept of cached mode seems like it wouldn’t be necessary on a terminal server anyway since you would likely have the TS in the same datacenter as your Exchange server (which we DO). In our case though, we needed to enable cached mode because Business Contact Manager REQUIRES it to function.

Off to Google I went, searching for a solution. I found plenty of people saying it couldn’t be done who all ended up abandoning the idea altogether in favor of Microsoft CRM or ended up deploying PPTP VPN connections (which I avoid at all costs).

In the end, I found an article on David Overton’s blog that explains how to do it, although I had to modify the process a bit. I’m not sure if the changes were necessary because I’m using Win2008 whereas his article refers to Win2003 or not…but I got it working eventually. Here’s what worked for me:

My setup:

  • All users were members of my Active Directory (AD) domain and in a group called “BCM Users”
  • The terminal server (TS) is Windows 2008, is a member server, and has Office 2007 + Business Contact Manager installed.

What I did:

  1. Added the “BCM Users” group to the local “Administrators” group on the TS
  2. Logged onto the ‘console’ of the server using RDP from my client (Start > Run > ‘mstsc /v:ts.domain.local /admin)
  3. Setup the Exchange account in Outlook on the TS (Start > Control Panel > Mail > …..). The mail account setup wizard DID show the ‘cached mode’ box greyed out….ignore it for now.
  4. Launch Outlook and confirm that it can login to your account. You’ll probably get a warning that BCM will be disabled due to cached mode not being available…click OK and ignore this for now.
  5. Close Outlook.
  6. Open Regedit on the TS, navigate to HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\<OutlookProfileName>\13dbb0c8aa05101a9bb000aa002fc45a
  7. In the right-hand pane, find the 00036601 key, double-click on it to edit.
  8. Change it to 84 19 00 00
  9. Click OK, close Regedit
  10. Remove the “BCM Users” group from the local “Adminstrators” group.
  11. Logout, log back in to the TS using a normal RDP session (i.e. not the console session)
  12. Launch Outlook.
  13. Business Contact Manager should work fine now!

Even after the steps above, if I view my Outlook account settings, it still shows that ‘cached mode’ is unchecked and greyed out. I think this registry hack just tricks BCM into thinking that it’s enabled but doesn’t actually enable it. No worries; it works for me!

Tags: , , , , ,

May 28 2009 How to change the RDP Listening port in WinXP/2003

1. Start Registry Editor.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
3. On the Edit menu, click Modify, and then click Decimal.
4. Type the new port number, and then click OK.
5. Quit Registry Editor.