KDCAD Tech Blog

My brain is full, so I’m offloading here…

Jul
30

Hello from Tumaini!

Posted by admin

Hello everyone, I am sitting with Anne in the Tumaini computer lab displaying Wordpress.

May
20

Autodesk Phone Numbers

Posted by admin

Since Autodesk seems to have pulled contact phone numbers from everywhere on their website and their activation process is akin to extortion, can be “problematic” I tracked down some handy phone numbers and have put them here.

Product Registration and Authorization
Web: www.autodesk.com/register (Web registration available 24/7)
Phone: 1-800-551-1490
Email: authcodes@autodesk.com
Fax: 1-800-225-6490

End User—General questions (not Subscription related)
Email:  customercare.abc@autodesk.com
Fax:  1-603-621-3387
Subscription related questions
Email: subscription-team@autodesk.com

I recently jumped ship from my ATT Fuze to the iPhone – in reality it was a jump from the Windows Mobile OS to the iPhone OS. All my reasons for the change are worthy of a few standalone blog posts, but in brief I was looking to simplify my life and the iPhone fit the bill. That being said, I do have needs. I need my cell phone to do a little more than just make calls – including handle Exchange email, POP and IMAP email, browse the web, provide remote access to the servers at work, and act as a modem on the road. The ATT version iPhone does all of this EXCEPT the last. ATT iPhones do not offer tethering and that’s a deal breaker for me, so I turned to the internet and jailbreaking.

Easier said than done of course. It seems I had the perfect storm of issues to prevent me from getting a clean break. But I pulled info from several different sites and finally got it working beautifully. Since it was such a pain to get through it all, I thought I’d pull it all together here. Note that I cannot guarantee this will work on the 3G or the iPod Touch. I should also note this is not a sanctioned activity by Apple and if you screw it up they will not help you. Additionally, if you screw it up, I will not help you either.

First my system specs:

  • Windows 7 64-bit
  • HP EliteBook 8530w
  • iTunes 9.0.2.25
  • iPhone 3GS

Now the steps…

Preparation (with iPhone NOT attached to computer):

  1. Make sure you have a complete sync/backup of your phone (if you care about keeping any of it) using iTunes.
  2. Download the latest clean Apple firmware from here: iphone3gs3. This is just in case it all goes wrong and you need to to recover your phone. To use it, hold the shift key while clicking the Restore button in iTunes. This will prompt you to pick a file.
  3. Download the latest version of Blackra1n from here: blackra1n.com and place it in the root of your C: drive.
  4. Change the properties of the blackra1n.exe to be compatible with Windows XP SP2 and check the box to run as administrator.
  5. In iTunes, turn off automatic syncing:image
  6. Now close iTunes and go to the Task Manager and end the iPodService.exe and the iTunesHelper.exe processes.
  7. Now attach the iPhone to the computer via USB. iTunes should NOT fire up.
  8. Watch this YouTube Video several times:

Jailbreaking:

  1. Following the instructions in the video above, run Blackra1n.exe, holding down the power and home buttons, releasing them as instructed. THIS IS THE KEY – IF YOU READ THIS and wonder what I’m talking about WATCH THE VIDEO AGAIN.
  2. Trusting that you followed the steps correctly, Blackra1n should be installed on your iPhone. Find the app and run it. image
  3. Install SNOW to Unlock the phone.image
  4. You phone is now Jailbroken and to be modified for tethering.

Tethering:

  1. In Safari on the iPhone, goto http://tr.im/oS1h and scroll down to the Mobileconfigs section:Tether_3_1
  2. Download Mobileconfigs, select your country, and then your carrier. The message reads: “IMPORTANT: The authenticity os “US AT&T” cannot be verified. Installing this profile will change settings on your iPhone.” Changing settings is exactly what we’re trying to do. Confirm with “Intall Now”.
  3. NOW, on the iPhone go to Settings>>General>>Network and you will see a new option for Internet Tethering.image
  4. Turn that on and you are done!

Earlier I posted my steps for getting the Watchguard SSL VPN Client to work on Vista Business x64. Now we have a few test users upgraded to Windows 7 Professional 64-bit and once again SSL VPN is a problem child. Actually, that’s a little unfair – the problems with installation are result of Microsoft’s increased "security measures" in Win7. As you might guess, this article outlines and advocates disabling these some of these measures, so think about it before try it. And if you do try it, be sure to go all the way to the bottom of the article to see some of the other "fixes" you need to do. (**UPDATED 11/25/09 – check it out…)

For the most part, the steps are the same as those required for Vista. You need the lastest RC release of OpenVpn (currently 2.1 RC 20), and you need to NOT install the Tap driver that comes with the WG SSL VPN. The changes in the process are the changes to Windows 7 that you need to make because the OpenVPN Tap driver is not digitally signed. Windows 7 x64, by default, does not allow the installation of unsigned drivers. Now, there are a couple ways to disable this limitation – one is provided by MS at boot time, another is more "permanent" and the one I chose. Here we go:

  1. Turn off User Access Control: From the Start Menu type "UAC Control" in the search bar and select "Change User Account Control settings". Take the slider to the bottom, click OK, and then restart your computer.
  2. Disable Driver Signing: Once you are back in, from the Start Menu, select All Programs, then Accessories. Right click on the Command Prompt and select ‘Run as administrator’. At the command prompt, type the following and reboot your computer afterward:

    bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
    bcdedit.exe -set TESTSIGNING ON

  3. Install the OpenVPN Tap Driver: If you haven’t already, download the latest OpenVPN from here: http://www.openvpn.net/index.php/open-source/downloads.html (currently c2.1_RC20). Run the installer as Administrator (by right clicking the OpenVPN executable and selecting "Run as administrator"), but UNCHECK all items except the Tap Driver and complete the installation. Note: I rebooted here, but you may not need to.
  4. Install the Watchguard SSL VPN Client: Download and run the SSL VPN installer (as administrator).

At this point, it should work. You can go back and turn UAC back on if you need to and while I think it’s a complete pain in the butt, I have to recommend that you do. Leaving it off can cause unexpected problems with other programs (such as GotoAssist Express which is service I used to use but will be ditching as soon as the contract is up).

If you are still having problems connecting, here are some other tips based on my experience. These are in no particular order:

  • Turn off Windows Firewall completely and reboot. With version 10.2.9 of the SSL VPN client, you still need access to port 4100 and 443.
  • If you already tried to install the Tap driver without first disabling the driver signing, Windows will permanently tag it as having an unsigned driver. SO you need to open the Device Manager, look under Network Adapters, and uninstall the Tap driver and reboot. If you have disabled the driver signing, go ahead and reinstall the OpenVPN Tap driver.
  • If you don’t want to permanently disable driver signing, you can TRY temporarily disabling it by pressing F8 at boot time (like you are booting to Safe Mode) and selecting ‘Disable Driver Signing Enforcement’. **UPDATE 11/25/09**  I had few opportunities recently to try this one and it works like a charm. So if you just have to install the VPN client on someone else’s computer, this method is the quickest.

Once you have all that squared away, you may notice that you have a watermark in the lower left of your screen stating "Test Mode Windows 7 Build 7600". Since you have turned off Driver Signing, Windows has decided you are obviously in some temporary "test mode".  To rid yourself of the watermark, go HERE and to download the RemoveWatermark patch.

Since I wrote this article originally, I found this website which offers more information on bypassing Driver Signing and links to some cool free tools for managing it on the fly. Swing by and take a look.

Good luck and feel free to log into the Watchguard forums and request that they fix this!

Here’s the problem:
You have one, two, three, or more mapped drives that everyone in the office needs access to, you just got a new PC, and you are dreading having to map these drives everytime someone new logs in to the PC.

Here’s the solution: (special thanks to John Savill over at Windows IT Pro for the original outline) This solution assumes you are in a Windows Domain environment (not a home PC). It also assumes it’s a small office that doesn’t use logon scripts pushed down from a domain controller.

  1. Log into the PC with a domain user account that has Local Administrator privileges (JDOE, for example).
  2. Manually map the drives you need, selecting the “Reconnect at login” option.
  3. Now log out and log back in as the actual Local Administrator.
  4. From the Start Menu select Run, type in REGEDIT, and click OK to open the registry editor. (Do I need to mention that if you are not comfortable editing the registry – don’t? You can really do some damage if you screw it up…)
  5. Select HKEY_USERS and from the File menu select Load Hive.
  6. Browse to the profile you used to map the drives (like C:\Documents and Settings\JDOE) and select the NTUSER.DAT file. When prompted, give it the name “DefaultU”. (Note: You need to have “Show hidden files and folders” turned on to see the NTUSER.DAT file…)
  7. Notice that now there is a new entry under the HKEY_USERS key called “DefaultU”.
  8. Browse to HKEY_USERS\DefaultU\X (where X is one of the drive letters you mapped), right click on it and select Export to export the key to a REG file. Do remember where you save it. Repeat for all the drives you mapped.
  9. Highlight the DefaultU key and from the file menu, select Unload Hive.
  10. From the file menu, select Load Hive and browse to the profile of the Default User (see, different that the earlier steps). Select the NTUSER.DAT file. When prompted, give it the name “DefaultU”.
  11. Now you need to import the REG files you exported earlier. Find them, and double click them one at a time to import them back into the registry.
  12. The last steps are a little tricky so pay attention. Browse to the HKEY_USERS\DefaultU\Network\X key and highlight the X.
  13. In the right pane, select the UserName value, right click and select Delete.
  14. From the Edit menu, select New> Expandable String Value.
  15. Give it the Value Name: UserName, and for the String (with the quotes): “%UserDomain%\%UserName%” (case sensitive).
  16. Repeat for all the drives you mapped.
  17. Highlight the HKEY_USERS\DefaultU key and unload it (File>Unload Hive).

That’s it – you’re done! Test your results by logging in as someone else or by renaming the profile you used to originally create the mapped drives (C:\Documents and Settings\JDOE to C:\Documents and Settings\JDOEX) and then log in as JDOE.

Let me know how it goes!

This is a solution for those folks who are not System Admins and/or are not connected to a network. It’s a great solution for a home PC that has multiple users or for a PC in an office that gets used by multiple users.
Most computers come with some preset home page that is covered with ads and links that do nothing but annoy you and put more money in the pockets of the PC manufacturers. So here’s a tip for presetting the home page in Internet Explorer for every user that ever logs in to a single PC:

1. From the Start Menu, pick Run, type in GPEDIT.MSC and click OK.
2. Under User Configuration (middle of left pane), click the + next to Windows Settings.
3. Then click the + next to Internet Explorer Maintenance.
4. Now click on URLs.
5. In the RIGHT pane, double click Important URLs. This will open a dialog box where you can edit the Home page URL.
6. Check the box next to Customize Home page URL. This will turn the text box below from gray to white.
7. Type in http://www.kdcad.com (or what ever you want your home page to be) and click OK.
8. Close the Group Policy Editor.

Now, when a new user logs in to the PC for the first time, their home page will be whatever you entered in the dialog box. They can still change it, but they won’t be bothered by the default home page set by the manufacturer.

Good luck!

After an excessively difficult time of upgrading a CD-ROM to a DVD RW, XP added insult to injury doing a number on me with drive letter assignments. A little background on the system – it is an older Dell Dimension that got a hard drive upgrade about 6 months ago. The original 30GB hard drive was imaged to a new drive – which included (ugh!) the Dell management partitions. The original 30GB drive was left in because the client wanted to be 100% sure all the data was imaged over to the new drive – which meant the original management partition was still there. So basically there are now four hard drive partitions, a and DVDRW, four mapped network drives (starting with G:) and they wanted to add a USB flash drive and external hard drive. Oh, and a floppy drive just for fun.

After the CD-ROM to DVDRW upgrade, XP decided to assign drive letters to the management partitions – F: and G:! SO now the first mapped network drive didn’t work and neither of the USB drives showed up in My Computer. Naturally, my first stop was the Disk Management console to change (or remove) the drive letters for the management partitions. Unfortunately, when I right clicked on either of the management partitions, my only option was “Help” – not helpful.  I knew there had to be another way to change drive letters without using the management console and found the solution in the registry with some help from the great folks at Petri IT Knowledgebase.

The steps below came from Daniel Petri and it should be made very clear that this procedure is not to be taken lightly and should be used as a last resort only.

To change or swap drive letters on volumes that cannot otherwise be changed using the Disk Management snap-in, use the following steps:

Note: In these steps, drive D refers to the (wrong) drive letter assigned to a volume, and drive C refers to the (new) drive letter you want to change to, or to assign to the volume.

  1. Make a full system backup of the computer and system state.
  2. Log on as an Administrator.
  3. Start Regedt32.exe (or Regedit.exe in Windows XP).
  4. Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
  1. Click MountedDevices.
  2. On the Security menu, click Permissions.
  3. Check to make sure Administrators have full control. Change this back when you are finished with these steps. (I logged is as a member of the local admin group and had full control already)
  4. Quit Regedt32.exe, and then start Regedit.exe.
  5. Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
  1. Find the drive letter you want to change to (new). Look for "\DosDevices\C:". (Typically at the bottom of a long list.)
  2. Right-click \DosDevices\C:, and then click Rename. In Windows 2000 you must use Regedit instead of Regedt32 to rename this registry key.
  3. Rename it to an unused drive letter "\DosDevices\Z:". (This will free up drive letter C: to be used later.)
  4. Find the drive letter you want changed. Look for "\DosDevices\D:".
  5. Right-click \DosDevices\D:, and then click Rename.
  6. Rename it to the appropriate (new) drive letter "\DosDevices\C:".
  7. Click the value for \DosDevices\Z:, click Rename, and then name it back to "\DosDevices\D:".
  8. Quit Regedit, and then start Regedt32 (not required in Windows XP).
  9. Change the permissions back to the previous setting for Administrators (this should probably be Read Only).
  10. Restart the computer.

It worked perfectly for me, but again – back up the registry before you make any changes. That’s just “best practice” and should never be ignored. Here is the link to the original post as well as a few others:

  1. Go to: http://www.wireless.att.com/blackberrystart and click the link to take you to the “Blackberry Internet Service Login page.” (http://bis.na.blackberry.com/html?brand=mycingular)
  2. Hopefully you have already fought it out with customer service to get your username and password. Enter it here. Otherwise you can try creating an account, but typically this won’t work.
  3. Click the button to Set Up Account.
  4. Your only option here is to enter an email address and password. Go ahead and enter your work email address and Windows login password (the one you would use to log on to your PC).
  5. After a while, this will time out and tell you it was unable to configure your account and you will be presented with two options: “This is my personal email account” and “This is my work email account” – choose the work option and click next.
  6. On the next screen, you are presented with a couple options as to how you access your email: via an Internet Service Provider (POP/IMAP) or via Outlook Web Access. Choose Outlook Web Access and click Next.
  7. Next fill in the information requested:
    1. Outlook Web Access URL: In our setup it is ‘http://www.domain.com’
    2. User Name: This must include the domain prefix like this: ‘domain\username’
    3. Password: Enter the same password you use to login to your PC at the office.
    4. Email Address: Enter your complete email address ‘first.last@domain.com’
    5. Mailbox Name: This is your username + @ + domain.local like this: ‘usern@domain.local’
  8. If all goes well, you should see a message telling you it was a success and the new account should show up in your list of accounts. You should also receive an email from Blackberry confirming the new setup.

We have recently added a few XP x64 PC’s to our network and thought it would be simple since there are x64 drivers for the CM4521 and I managed to get it to work on Vista x64. Either I forgot what I did or Vista x64 works a little differently that XP x64, but we could not get the Account Tracking to work. The dialog where users would normally enter their acct code was grayed out and inaccessible. For those who use the Oce CM series printers or Konica-Minolta and NEC equivalents with Account Tracking, you know that users cannot print without having their code entered in the local printer properties.

The x64 driver was installed on the print server (see my earlier post on how that went), and when I added a network printer using the Add a Printer Wizard, it would actually show up in the list of available printers. However, as I mentioned, the “Authentication/Account Track…” button in the Default Settings for the printer only opened an inaccessible dialog box. After much trial and error, I decided to just install the printers locally using TCP/IP port for a direct connection to the device. This at least gave me access to enter the Account Tracking codes and get the printers working.

I noticed that when I did this, there was quite a bit of file/driver activity while the printer was being installed – even though I had already installed it once from the print server. So I decided to give installing from the server another shot and  – ta-da – it worked.

Here are my steps as best I can remember them:

  1. Add a local printer and create a new “Standard TCP/IP Port” using the IP address of the printer.
  2. Navigate to where you saved the x64 drivers (preferably on the network somewhere) and select the appropriate driver for your device.
  3. If prompted replace the existing drivers SELECT YES!
  4. Give it a name you will recognize (you’re going to delete it later).
  5. Set it as default (or not) and DO NOT print a Test Page.
  6. Don’t bother configuring the printer…
  7. Now add the network printer. It should be a pretty quick install.
  8. Open the properties for the network printer and verify you can access everything you need.
  9. Enter the user’s Account Tracking code and print a test page.
  10. If the page comes out OK, then delete the local printer you installed by right clicking and select Delete.
  11. DONE!
Apr
01

Revit Local File Creation Tool

Posted by admin

It’s no secret that Revit MEP is not “all there” yet, but the folks at Autodesk are really making great progress (and we appreciate it!). We are still waiting for the hardware to catch up to Revit’s voracious needs and hopefully when the Core i7’s are mainstream, we’ll be there. In the mean time we are always looking for ways to make our Revit lives a little easier. To that end, I created a little tool in VB.NET – Revit Local File Creator – that keeps track of your local files and will automatically rename them and create local files in a local folder of your choice. It basically turns what was once daily chore of navigating, right clicking, copy and pasting, renaming, and opening into an operation of only a few clicks. There is a pretty good help file included with the install that walks you through how it works. The file is available for download here: http://www.ramlug.org/?page_id=187 (our local Autodesk User Group website).LocalFileCreator

In a nutshell, you have to configure a few parameters first. These include the local folder where you want local files to go, whether you want your name and/or date appended to the file, and if you want text replaced in the central file name (ie. “central” to become “local”). The dialog box below comes up the first time you run the program and you must at least choose a local folder.

LFC_Settings

  • You also have the option to elect to use your windows username (which is typically your Revit username) or your initials.
  • For the date you can choose a long date (MM-DD-YYYY), short date (MM-DD), or the weekday (Monday).

 

 

 

 

Some folks expressed they would like to keep local files in separate subfolders in their local file directory. Not my preference, but not a bad idea so the program includes some advanced folder settings.

LFC_Advanced

If you click the Advanced button, you will see the option to select a sample central file location. Once selected, you can see the folders in the selected path are parsed to a list below. The item you select in the list will identify the level the program will look at on a real central file in order to create the subfolder.

In the example, the first directory under the root (H:\) represents a project number. I want to use the project number to define my local subfolders, so I select that from the list. Now regardless of the project I am copying the central file from – the program look at the path where my selected central file is located and select the first folder past the root (in this case 09456) and use that to name the local folder. Get it?

You also have the options to add a prefix and/or suffix to the local subfolder name. (You can clear these settings by clicking the Simple button…)

Once you get past the settings (which you can always go back and change from the Edit menu), the Main Screen will appear (first image above).

LFC_Main_filledAs you can see, I have selected a sample central file (using the Browse button) and you get a Local File Name Preview that should incorporate all of the settings you configured.  If it all looks good, you can click the button to Create Local File and in a few seconds you will be asked if you want to open it. Done!

From that point on, the central file location you selected will be in this list so you just open the Local File Creator, select the local file from the drop down list and click Create Local File.

There are other options and features available as well such as:

  • Pruning the central file list
  • Disabling the prompt to open the local file once created
  • Disabling the logo link (that big banner across the bottom is a link to the company website)
  • Plus adding the option to choose which version of Revit to use when opening a local file (especially handy when you have projects still using the last version of Revit, or if you are beta testing the newer version).

So please feel free to download and install the program, check out the help file, and while I don’t have time to “support” the program, I am always interested to hear your ideas and especially if you run across any bugs.  Enjoy!

Revit Local File Creator

Subscribe to KDCAD Tech Blog
Technorati