Showing posts with label Windows Vista. Show all posts
Showing posts with label Windows Vista. Show all posts

Wednesday, September 19, 2012

How to solve problem when setup says AutoCAD is installed

Have you run into a problem when the installer says on Configure Installation that AutoCAD is already installed and trying to clear out remaining folders, files and registry keys does not help? AutoCAD is not installed but still the setup says it is. It might be that you had tried to manually uninstall AutoCAD (or Revit or whatever it is) and failed to do it 100%. What to do?

This trick might help to solve the problem. Note that the GUID (the code at the end in italics) is different for different applications and versions so you might need to search in the parent folder or go through them all to find what you look for.

Locate this folder and delete it with its content. Make a backup if you want to be on the safe side.
C:\Windows\Installer\{5783F2D7-B001-0000-0102-0060B0CE6BBA}

Use regedit, locate this registry key and delete it with its content. Make a backup if you want to be on the safe side.
HKEY_CLASSES_ROOT\Installer\Products\7D2F3875100B0000102000060BECB6AB

After that hopefully you will find that you can run the setup and install AutoCAD or whatever product you had in mind to install. Now you know how to install AutoCAD even if AutoCAD is already installed even though it was just the installer thinking so.

See also Completely clean out traces of AutoCAD installations

Wednesday, March 21, 2012

System Requirements for AutoCAD 2013

AutoCAD 2013 is soon to be released and now the System Requirements have been made public.

Note that Windows Vista is not supported by Autodesk for AutoCAD 2013. Autodesk to cease support of Windows Vista even though Microsoft changed their mind Autodesk didn’t follow.

There is nothing that restricts you from running AutoCAD 2013 on Windows Vista but you're on your own. Other than that if you already run AutoCAD 2011 or AutoCAD 2012 your system will probably work the same.

As always with system requirements these are minimal requirements for AutoCAD to run. For professional usage you surely want to have much better hardware.

32-bit version

Operating System:

  • Service Pack 3 (SP3) or later of the following:
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Home
  • The following operating systems:
    • Microsoft Windows 7 Enterprise
    • Microsoft Windows 7 Ultimate
    • Microsoft Windows 7 Professional
    • Microsoft Windows 7 Home Premium

Hardware:

  • CPU
  • Memory: 2 GB (4 GB recommended)
  • Disk: Installation requires 6 GB space
  • Display: 1,024 x 768 with true color (1,600 x 1,050 with true color recommended)

Misc.

  • Browser: Internet Explorer 7.0 or later web browser
  • File Formats: (New file format in AutoCAD 2013):
    • Save-as Support
      AutoCAD R14, AutoCAD 2000, AutoCAD 2004, AutoCAD 2007, AutoCAD 2010, AutoCAD 2013.
    • DXF Support
      AutoCAD R12, AutoCAD 2000, AutoCAD 2004, AutoCAD 2007, AutoCAD 2010, AutoCAD 2013
  • API
    • LISP are compatible
    • Scripts are compatible
    • ObjectARX application will need to be recompiled

64-bit version

Operating System:

  • Service Pack 2 (SP2) or later of the following:
    • Microsoft Windows XP Professional
  • The following operating systems:
    • Microsoft Windows 7 Enterprise
    • Microsoft Windows 7 Ultimate
    • Microsoft Windows 7 Professional
    • Microsoft Windows 7 Home Premium

Hardware:

  • CPU
    • AMD Athlon 64 with SSE2 technology
    • AMD Opteron with SSE2 technology
    • Intel Xeon with Intel EM64T support and SSE2
    • Intel Pentium 4 with Intel EM64T support and SSE2 technology
  • Memory: 2 GB (4 GB recommended)
  • Disk: Installation requires 6 GB space
  • Display: 1,024 x 768 with true color (1,600 x 1,050 with true color recommended)

For both 32 & 64-bit Misc.

  • Browser: Internet Explorer 7.0 or later web browser
  • File Formats: (New file format in AutoCAD 2013):
    • Save-as Support AutoCAD R14, AutoCAD 2000, AutoCAD 2004, AutoCAD 2007, AutoCAD 2010, AutoCAD 2013.
    • DXF Support AutoCAD R12, AutoCAD 2000, AutoCAD 2004, AutoCAD 2007, AutoCAD 2010, AutoCAD 2013
  • API
    • LISP are compatible
    • Scripts are compatible
    • ObjectARX application will need to be recompiled

For both 32 & 64-bit using 3D modeling workflows:

  • Memory 4 GB RAM or more
  • 6 GB free hard disk available not including installation requirements
  • 1,280 x 1,024 True color video display adapter 128 MB or greater, Pixel Shader 3.0 or greater support by your graphics card, Direct3D capable workstation class graphics card.

Via Between the Lines

Wednesday, February 1, 2012

Autodesk to cease support of Windows Vista

Still using Windows Vista? If you plan on using Autodesk 2013 products on Vista read this:

Microsoft Windows Vista Support FAQ by Autodesk

Beginning January 1, 2012, Autodesk will have formally ceased support of the Microsoft Windows Vista Operating System for all new (and upgraded versions) of its products and services released in 2012.

Currently shipping versions and previous versions of our software (delivered prior to January 1, 2012) will continue to be supported on this operating system.

Why is Autodesk ending support for Windows Vista in 2012?

Microsoft ended sales support for Vista in 2011, and will end mainstream support in 2012. Our research and customer engagement on this topic has shown that an overwhelming majority of our installed base has already moved off of this operating system. Customers looking to upgrade their hardware and operating system have indicated Microsoft Vista is not a viable option given the availability of Windows 7.

UPDATE: A week after this post Microsoft extended support for Vista. ref Will Autodesk follow?

Where can I find information on Microsoft’s planned support for its Operating Systems?

You can find information on Microsoft’s Windows lifecycle (both sales and support) here: http://windows.microsoft.com/en-us/windows/products/lifecycle

Why are you ending support for Windows Vista when XP, an older operating system, is still supported?

Through Autodesk’s research and customer engagement, there is still a large population of customers utilizing this Operating System in their work environments. We will work with our customers in the coming 12-24 months to understand their transition plans and make a support decision about Windows XP when it is appropriate to do so.

If I upgrade my Windows Vista computer to Windows 7, will my existing 2012 licensed products still work?

If you are intending to upgrade your Operating System, it is recommended that you reinstall your Autodesk products once that upgrade is complete. Your existing product license is still a valid, but the product will need a new authorization code to work with the new operating system once installed.

If I choose to buy a new computer with Windows 7, can I reinstall my 2012 products on the new computer or will I have to buy new licenses?

Yes, you can continue to use your current Autodesk products with this new operating system. Once installed, you will have to obtain a new authorization code.

How do I migrate my older licensed Autodesk products to a Windows 7 computer? I lost the install discs and serial numbers a while ago.

Please contact the reseller or company where you originally purchased the Autodesk software for a copy of the product and your original serial number. If you are on Autodesk Subscription you can just go to the Subscription website and access the previous three versions of the product.

When will Autodesk support Windows 8?

Depending on Microsoft’s own release schedule for this new operating system, Autodesk will test its product line with Windows 8 and release a support statement when it is appropriate to do so.

Will the Autodesk software/application I recently purchased (i.e. 2012 version) work on Windows Vista even though Autodesk is ceasing support for this Operating System?

Yes, the current Autodesk product line (version 2012) will continue to be supported on Microsoft Vista. Support will cease for new versions of Autodesk products released beginning January 1, 2012.

How does this ‘ending support’ affect me and the products that I currently own (version 2012 and earlier)? I am still on Windows Vista and do not have the ability to migrate to other Windows OS.

Autodesk will continue to support you and your existing, purchased products on Windows Vista in alignment with our current product support policies.

What do I do if I run into issues with Autodesk products on Windows Vista? Who do I contact for support?

You can continue to utilize your existing Autodesk support channels for Windows Vista issues for Autodesk products/versions which have shipped prior to January 1, 2012. For new versions of Autodesk software shipping after this date, please refer to the Autodesk Discussion Forums for peer-to-peer support if you decide to install these Autodesk products on the Windows Vista operating system.

I’m running Microsoft Vista with my Autodesk Products – can I still purchase apps and plug-in’s from Autodesk Exchange beyond January 1, 2012?

If you are installing apps from Autodesk Exchange, please check with the supplier/developer of the app for system and product requirements pertaining to Microsoft Vista support for your particular Autodesk product(s).

Via Microsoft Windows 7 and Windows Vista Compatibility

Sunday, August 21, 2011

How to remove all Autodesk products from Windows

Sometimes this is needed. I’ve done it many times both on my machines and on users machines.

How to remove all Autodesk products from a Windows system

From Autodesk’s Knowledge base: TS45252

Issue

A previous attempt to install or uninstall an Autodesk® product failed to successfully complete and now you are unable to install or reinstall an Autodesk product on your system.

Solution

In these cases, it is strongly recommended that you clean your system by uninstalling all Autodesk products and supporting applications (add-ins, utilities, enablers, etc.), and by removing related files and settings before attempting to reinstall. The end result is a clean system on which you can install your new Autodesk product.

Before you begin
  • These procedures are intended to completely remove Autodesk products and related support files from your computer including customization files such as menus, AutoLISP, PGP files, etc. If you wish to preserve any existing customization, you must manually back up those files before executing the procedures that follow.
  • Before you starting uninstalling your Autodesk products, we recommend you restart your system to ensure that any pending Windows OS updates get applied first.
  • Some options are presented differently depending on the version of Windows you are running. The following procedures include descriptions for the Windows® 7, Windows Vista®, and Windows XP operating systems. Follow the appropriate  instructions for your operating system.

For most Windows-based Autodesk products, the process of uninstallation is handled through the Windows Control Panel:

  1. From the Windows Start menu, open the Control Panel.
  2. Select “Uninstall a program” (Windows 7/Windows Vista) or “Add or Remove Programs” (Windows XP).


Windows 7 / Window Vista


Windows XP

The first thing to note is that each Autodesk product is listed separately and must be uninstalled separately.


List of installed applications

Even though you may have installed all of the products in a suite in a single installation, each individual Autodesk product and related add-in, enabler, bonus pack, or other supporting application must be uninstalled separately.


Uninstall peripheral applications

If you're going to uninstall a product, you should uninstall the related peripheral applications before uninstalling the main application. For example: if you're going to uninstall 3DS Max Design, you should first uninstall the FBX add-in for 3DS Max Design. Uninstall this and any other related add-ins and then uninstall the main applications. This also applies to modules such as the VBA enabler, Subscription Advantage packs, and Autodesk material libraries.

Note: When uninstalling the Autodesk material libraries it’s important to remember that these libraries are shared across all Autodesk products and should not be removed unless you are removing all Autodesk products from the system.

  1. Select the product to be uninstalled and click the “Uninstall/Change” link (Windows 7/Windows Vista) or the “Change/Remove” button(Windows XP).
  2. In most cases this will launch an uninstaller for the selected component, allowing you to uninstall it from the system.

Repeat this process for all add-ins and supporting applications before beginning uninstall of the main Autodesk products.

When uninstalling the material libraries, it's best to uninstall from largest to smallest. Begin by uninstalling the medium resolution image library–assuming that library is installed on your system–followed by the base resolution image library, and then the Autodesk material library.


Uninstall Autodesk products

Once you have uninstalled all peripheral applications, you can begin uninstalling the main Autodesk products:

  1. Select the product to be uninstalled and click the “Uninstall/Change” link (Windows 7/Windows Vista) or the “Change/Remove” button(Windows XP).
  2. At this point, the Autodesk installer will open in maintenance mode offering you the options to: Add or Remove Features, Repair or Reinstall, or Uninstall the selected product. 


    AutoCAD 2011 installer in Maintenance Mode
  3. Click the Uninstall option and click Next to confirm that you want to remove the product from your computer (if you are prompted to remove shared files, click Yes to All).
  4. After the Uninstall is complete, click Finish to close the installer.

Repeat steps 1-3 for each Autodesk product to be uninstalled.

Note: The uninstall procedure for some Autodesk products may require you to restart the computer when the uninstall has completed. If this is the case, restart the computer as instructed, return to the Control Panel and continue removing any remaining Autodesk products.


Delete remaining Autodesk product files and folders

Warning: The following steps instruct you to delete folders at locations that would affect all installed Autodesk products. These steps assume you have previously uninstalled all Autodesk products and related peripherals and that it is safe to remove those folders.

1. Using Windows Explorer, locate and delete the installation folder for each Autodesk product that was uninstalled in the previous procedures, e.g.,  "C:\Program Files\AutoCAD 2010" or "C:\Program Files\Autodesk\AutoCAD 2012".

2. Delete the folder, "C:\Program Files\Common Files\Autodesk Shared"
Note: These locations may be different if your OS is configured to store the Program Files folder on a drive other than C: or if you installed your Autodesk product to another drive and folder name.

3. Delete the following user profile folders (substitute your login name for %username%):

Windows 7/Windows Vista

  • C:\Users\%username%\AppData\Roaming\Autodesk
  • C:\Users\%username%\AppData\Local\Autodesk
  • C:\ProgramData\Autodesk

Windows XP

  • C:\Documents and Settings\%username%\ Application Data\Autodesk
  • C:\Documents and Settings\%username%\Local Settings\Application Data\Autodesk
  • C:\Documents and Settings\All Users\Application Data\Autodesk

Windows 7 and Windows Vista: Depending on your system settings, Windows Explorer may not automatically display all the subfolders under the Users folder. If you cannot locate these folders by navigating to the folder, copy and paste the above folder locations into the Windows Explorer address bar.


Windows Explorer address bar


Delete remaining Autodesk product entries from the Windows registry

Warning: Improperly editing the Windows registry could render your operating system unusable. Microsoft provides a wealth of critical information that you need to know about the registry in the Microsoft Knowledge Base at http://support.microsoft.com/support.

Use the Microsoft® Registry Editor at your own risk and only after backing up the registry. Instructions on backing up your registry can be found in the following Microsoft Knowledge Base articles:

Additional information about the registry is available in the Help topics in the Microsoft Registry Editor.

  1. Log on to the workstation as a member of the local Administrators group.
  2. Launch the Run dialog by typing [Windows key] + R (Windows 7/Windows Vista) or clicking Start > Run (Windows XP).
  3. In the Run dialog, enter REGEDIT in the “Open” edit field and click OK.
  4. In the Registry Editor, locate and delete the following subkeys:
    - HKEY_CURRENT_USER\Software\Autodesk
    - HKEY_LOCAL_MACHINE\Software\Autodesk 

    Deleting a subkey in the Registry Editor
  5. Close the Registry Editor.
  6. Restart the computer.

Before reinstalling any Autodesk products

At this point, each of the previously installed Autodesk products—along with residual files, folders, and registry settings—should now be gone from the system and you are almost ready to start installing (or reinstalling) your Autodesk products. Before you begin, we recommend you perform the following tasks to help ensure a successful installation:

  1. Reboot your computer. You should really do this even if you have not been prompted to reboot. Restarting your system before installation helps ensure that any pending Windows OS updates get applied before you starting installing your Autodesk products.
  2. In Windows Explorer, delete the contents of your Windows Temp folder, but do not delete the Windows Temp folder itself. You can locate the Temp folder by entering %TEMP% in the Address bar of Windows Explorer.
  3. Close all running applications. Some applications—Microsoft Outlook, for example—can interfere with the installation process. So, before you begin installing, it's just a good idea to shut down other applications that are running.
  4. Disable any virus-checking software running on your system. Virus-checking applications may block certain activities detected as suspicious, e.g., accessing the registry or adding/removing/updating DLL files, even though these activities are common when installing or removing programs. Not only can it slow down the installation process, but it can actually introduce corruption. So make sure that your virus checking software is turned off before you install, and make sure you turn it back on when you're complete.

Several anti-virus programs can be disabled by right-clicking its system tray icon and selecting Disable from the shortcut menu (for more information about disabling your anti-virus software, refer to the vendor of that software). In some cases, disabling the anti-virus application from the system tray may not be sufficient and it may be necessary to use the task manager to end the process for the anti-virus software that is still running.

To verify that an anti-virus program is not still running in the background:

  1. Press [Ctrl] + [Alt] + [Delete].
  2. Click Task Manager.
  3. On the Processes tab of the Task Manager, select the process for the anti-virus program and then click “End Process”.

You are now ready to install your new Autodesk products on the clean system.

More Information

For more information on uninstallation techniques, please refer to the following solutions:

Tuesday, July 12, 2011

API enhancements for Windows in KB2533623

With this week’s update you may find the Update for Windows 7 for x64-based Systems (KB2533623) and is available for Windows Vista, Windows Server 2008, Windows 7 and Windows Server 2008 R2.

Microsoft has released new API enhancements for Windows to help developers correctly and securely load external libraries. For more information, visit the following Microsoft webpages describing these three APIs.

SetDefaultDllDirectories
Specifies a default set of directories to search when the calling process loads a DLL. This search path is used when LoadLibraryEx is called with no LOAD_LIBRARY_SEARCH flags.

AddDllDirectory
Adds a directory to the process DLL search path.

RemoveDllDirectory
Removes a directory that was added to the process DLL search path by using AddDllDirectory.

Microsoft has also released a Microsoft security advisory about this issue for IT professionals. The security advisory contains additional security-related information. To view the security advisory, visit the following Microsoft website: http://www.microsoft.com/technet/security/advisory/2269637.mspx

Insecure Library Loading Could Allow Remote Code Execution.

The update in Microsoft Knowledge Base Article 2533623 implements Application Programming Interface (API) enhancements in Windows to help developers correctly and securely load external libraries. This update for Windows is available in the "High Priority" Updates category for customers who have not already received the update through automatic updating.

Developers can help to ensure their programs load DLLs properly to avoid "DLL preloading" or "binary planting" attacks by following the guidance provided in Microsoft Knowledge Base Article 2533623 to take advantage of the API enhancements provided by this update.

Friday, June 10, 2011

.NET code problem on Windows Server 2003 solved

I spent several hours hunting down a problem a customer had with JTB FlexReport on Windows Server 2003 SP2. The solution was in the end a single row. Things worked fine on Windows XP, Windows Vista, Windows Server 2008, Windows Server 2008 SP2  and Windows 7, but for some reason it failed on Windows Server 2003.

In the code I narrowed down that this call failed but I could not figure out why:

Database db = DatabaseFactory.CreateDatabase();

I got this error using Microsoft Enterprise Library 2.0:

Object reference not set to an instance of an object.

I was wondering if it had to do with the Enterprise Library version but I got this error using Microsoft Enterprise Library 5.0:

Activation error occured while trying to get instance of type Database, key ""

I then wondered if the problem was that I had one .exe made by VB.NET and a DLL made by C#, or that it was running as a Windows Service, or that some code had been upgraded all the way from VB6 etc.

Eventually I was able to scale away a copy of my program to just a few rows and still had the problem. Then I created a similar program from scratch and got it running. I could then start to compare the two file by file using DiffMerge and eventually I was able to find that in app.manifest I had to add the following:

<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>

just before <trustInfo

Now that I found the solution I looked up more details and found that reading any configuration settings from the applications .config file is not working. I also found that it actually is due to a bug in Windows Server 2003. Calls to System.Configuration.ConfigurationManager.AppSettings return null. In Windows Server 2003, if the application has the following SxS manifest, then CLR will not use the application config file even if it exists. This bug does not exist in Windows XP, Windows Vista or Windows 7. Application config file is not used if the application has certain SxS manifest and Lesson Learned: Missing language attribute in ‘assemblyidentity’ element can cause SxS (SideBySide) application loading failure on Windows XP and Server 2003

Monday, May 30, 2011

DPI scaling issue with AutoCAD 2012

2012: AutoCAD framework issues when running at high DPI scaling

Issue

You are running an Autodesk 2012 product on a system whose screen resolution is scaled to 150% and you are seeing abnormalities in the standard buttons and ribbon controls including:

  • A detached and floating red A (upper left corner)
  • The X button to close AutoCAD (upper right corner) does not work
  • Many ribbon controls do not perform as expected

Solution

Autodesk 2012 products may exhibit these issues on systems where the screen scaling is set to 150%. You can work around this by setting the screen resolution of your system to 96 DPI (or 100%).

An alternative method is to right-click on the AutoCAD icon, select the Properties settings, and select the option to "Disable display scaling on high DPI settings."

(When I tried this the Compatibility Settings where disabled and grayed out. I found that this only works for 32-bit programs and not for 64-bit programs. Too bad.)

Applies to:
AutoCAD 2012
AutoCAD Architecture 2012
AutoCAD Civil 3D 2012
AutoCAD Electrical 2012
AutoCAD LT 2012
AutoCAD Map 3D 2012
AutoCAD Mechanical 2012
AutoCAD MEP 2012
AutoCAD P&ID 2012
AutoCAD Plant 3D 2012

Via TS17063118

Wednesday, April 27, 2011

Autodesk Network License Manager for IPv4 and IPv6

Some useful info for CAD managers and others managing network licenses (FlexNet/FLEXlm) for Autodesk products and software ranging from version 2010 to 2012 of everything from AutoCAD to Inventor and Revit.

Included is:

  • lmtools.exe version 11.9
  • lmgrd.exe version 11.9
  • lmutil.exe version 11.9
  • adskflex.exe version 11.9.0.3

This is the same NLM.msi that comes on the installation media on for example AutoCAD 2012.

Autodesk IPv4 Network License Manager for Windows

From Knowledge base: DL16273699 including downloads

The Autodesk Network License Manager for IPv4 networks using Microsoft® Windows® Server 2003 and 2003 R2, Microsoft® Windows® Server 2008 and 2008 R2, Windows XP, Windows Vista®, and Windows 7.

To install the Autodesk Network License Manager

  1. Double-click the nlm_ipv4Support_Win32.exe file on your desktop. This will extract the NLM.msi file to C:\install\Autodesk\NLMIPv4Support_Win32 and start the installer wizard.
  2. If the installer wizard does not start automatically, locate the new NLM.msi file and double-click it to start the installer wizard. Follow instructions on the screen.
  3. After installation is complete, click Close.

To start the Network License Server

You should be logged in with Administrator rights when working with the LMTOOLS utility.

  1. Right-click the LMTOOLS icon on the desktop and click Run As Administrator.
  2. Click the Config Services tab and provide all necessary information.
  3. Click the Save Service button and then click the Start/Stop/Reread tab.
  4. On the Start/Stop/Reread tab, click Start Server.
  5. Close lmtools.exe.

Autodesk IPv6 Network License Manager for Windows

From Knowledge base: DL10976858 including downloads

The Autodesk Network License Manager for IPv6 networks using Microsoft® Windows® Server 2008 and 2008 R2, Windows Vista®, and Windows 7.

This implementation supports mixed IPv4/IPv6 and IPv6-only environments. It does not support network license checkouts in an IPv4-only environment.

For license trackinglicense reporting and network license management see JTB FlexReport.

Wednesday, April 13, 2011

Tips if AutoCAD’s cursor is slow or jerky

These tips from Autodesk’s Knowledge Base TS15127843 might be useful if you have this problem.

Issue

You experience that the cursor in AutoCAD®, AutoCAD® Map 3D® or AutoCAD® Civil 3D® is slow or jerky.

Solution

There may be many causes to this issue. Here are a few suggestions that may resolve the issue.

  • If you have an active virus scan application, such as Bitdefender, running on your workstation, diabling or removing the virus scan application may help.
  • If the issue occurs and appears to get worse through out the day, restarting you computer may help.
  • Disabling Selection Cycling by typing SELECTIONCYLING at the command line and setting the value to 0 may help.
  • If you are experiencing the issue on an HP, Dell or other band of laptop that has a biometric scanner, disabling the Digital Persona (or other fingerprint authentication software) service may help.
  • If you are running Windows Vista or Windows 7, try turning off Aero themes and/or diabling the BitLocker feature.

There may be many other machine variables and configuration that may affect this type of issue. While this may not be a complete list of all of the services/features that may cause this issue, it includes many of them that have previously solved the issue for customers reporting it.

Wednesday, December 29, 2010

How to start a new process de-elevated after installation

I was trying to launch an application at the end of an installation I’ve created with Visual Studio. My problem was that the installation is running with elevated privileges as administrator (UAC) and I want the application to run as a normal user.

One problem with the application that was launched by the installer was that when reading and writing to the registry it ended up at HKEY_USERS\.DEFAULT instead of HKEY_CURRENT_USER. I noticed that the process was run by NT AUTHORITY\SYSTEM instead of the expected COMPUTERNAME\USERNAME. This will also cause problems if you want to open a webpage after the installation and there is no current Web Browser running.

I knew how to elevate the process using the verb runas.

p.StartInfo.UseShellExecute = true; p.StartInfo.Verb = "runas";

But I could not find any way to use the verb to de-elevate. I searched for a solution online but could only find convoluted ways like using CreateProcessAsUserW, Code Injection in the shell process or using the task scheduler to register a task to run as the currently logged on desktop user.

I found this post and tried using the User Account Control Helpers to no avail for some reason.

Process p = UacHelpers.UserAccountControl.CreateProcessAsStandardUser("notepad.exe", "");

Eventually I came up with this simple C# code thinking it might do the trick. It actually runs the new program with reduced permissions but not as the intended user. This could be useful in other situations though.

Process p = new Process(); p.StartInfo.FileName = "runas.exe"; p.StartInfo.WindowStyle = ProcessWindowStyle.Normal; p.StartInfo.Arguments = "/trustlevel:0x20000 notepad.exe"; p.Start();

Unfortunately it didn’t help me here.

I then turned back to the UacHelpers source code and commented out these rows because I noticed that the process was not really elevated from the start so I did not want the simple way to start the process.

//if (!IsCurrentProcessElevated) //{ // return Process::Start(exePath, arguments); //}

Using this trick it was possible to have an application like my setup that runs with administrator privileges (thanks to UAC) to start another process with standard user privileges and as the expected user.

For more details on the subject see also Aaron Margosis’ WebLog.

Please comment if this helps you or if you have any related suggestions on better approach.

Tuesday, February 23, 2010

Licensing error 1.5.-15 in Network License Manager

When you started the network version of AutoCAD 2009 or AutoCAD 2010 on a Microsoft Windows Vista or Windows 7 workstation, you received licensing error 1.5.-15.

Basically the solution is to open Local Area Connection Properties dialog box and clear the "Internet Protocol Version 6 (TCP/IPv6)" check box. Hopefully a better solution will come as IPv6 might be needed eventually.

Knowledge Base document has all details: Licensing error 1.5.-15 when running the Network License Manager on Microsoft Windows Vista or Windows 7

Here is another identical error but another solution: AutoCAD 2007 network license manager Error 1.5.-15

Monday, November 16, 2009

SmartPurger 3.0 for AutoCAD scripting now with 64-bit support

Finally SmartPurger 3.0 is released with a refreshed look and available as 32-bit and 64-bit application making it possible to use together with AutoCAD 32-bit and 64-bit on both Windows 32-bit and 64-bit operating systems.

Many customer uses SmartPurger because of its ease to purge different objects within drawings/DWG files to make them smaller.

Others uses SmartPurger to process scripts (SCR or LSP) on thousands of drawings unattended over night or weekend as it does not halt for dialog boxes or corrupted drawings.

The free trial without license file is fully functional except that you can only batch process 3 drawings per session to give you the chance to confirm that the program works as expected. When you purchase you can use SmartPurger with no limitations.

Contact us for a license to activate the time limited fully functional version for free.

Saturday, October 10, 2009

Solution to registering of DLL problem on 64-bit systems

I was preparing installers for DWG Explorer Column Handler (DWG Columns) when I run into problem with the 64-bit versions for Vista and Windows 7. I used Visual Studio 2008, a C++ project and a basic setup project with a couple of custom actions to register and unregister a DLL file. The 32-bit setup worked without problems.

I first got the following error on Vista 64-bit and Windows 7 64-bit.

Error 1723. There is a problem with this Windows Installer package.
A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.
Action _474A8F1D_82B8_4FC0_8E65_22E8CDBD2B7B, entry: _InstallPropertySchema@4, library:
C:\Program Files\JTB World\DWG Explorer Column Handler\DWGPropertyHandler.dll

After trying to create the setup directly on a 64-bit system I was able to install but the uninstall failed like this.

Error 1723. There is a problem with this Windows Installer package.
A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.
Action _8B4F6610_75E7_462C_AB3D_BDC92ECCF640, entry: _UninstallPropertySchema@4, library:
C:\Program Files\JTB World\DWG Explorer Column Handler\DWGPropertyHandler.dll

I first figured out that I could edit the MSI file with Orca. In the table CustomAction I found the Actions I needed to change.

was changed to

This worked good but needed to be done manually each time.

I then tried to use a trick to change how the DLL is built so it will use the correct name. I tried with the following link step in
Visual Studio>Project Properties>Linker properties>Command Line>Additional options

/export:_InstallPropertySchema@4=InstallPropertySchema /export:_UninstallPropertySchema@4=UninstallPropertySchema

And that worked just great. Now I have installers working for XP, Vista, Windows 7 and both 32-bit and 64-bit.

Monday, September 28, 2009

DWG Explorer Column Handler released

Enhance Your Explorer Experience with the New DWG Explorer Column Handler.

  • Show the DWG properties in Explorer columns or even in file dialog boxes within AutoCAD or other applications.
  • Sort files in Explorer based on any of the columns available like a revision.
  • Use DWGPROPS in AutoCAD and add information in the Summary or Custom tabs and you can show this information in columns in Windows Explorer.
  • The columns can show the version of the DWG file, up to 10 custom properties, title, subject, author, comments, created, hyperlink base, keywords, last saved by, last updated, revision number. Click to see a larger version with more columns
  • No need to have AutoCAD installed. That means that everyone at your company can see this information.
  • No need to open the drawing to know information like revision and other valuable information in the drawing.
  • Supported extensions are DWG, BAK, DWT, DWS, SW$ in any DWG file version.
  • Column names can be customized for example from "DWG Revision" to "Rev" or into other languages.

Contact us for a trial.

Thursday, September 10, 2009

JTB FlexReport 5.1 released

JTB FlexReport 5.1 adds the new feature JTB Process Monitor making usage reports on most any application possible.

This opens the door to monitor usage of standalone applications like Word, Excel, Outlook and AutoCAD LT.

There is a service part and a client part of the application and two separate installers. The data is saved into the main JTB FlexReport database JTBFlexReport.NET.mdb and reports on the usage can be done in the normal way. This means that JTB FlexReport also needs to be installed. The client computer does not need to be connected to the network all the time. It still can monitor the usage and when connected again it will send back the data to the server.

JTB Process Monitor is useful while preparing to covert standalone licenses to network licenses as it will help to know how much the applications are used and by what users.

Another usage scenario is to identify users that might not need a full license.

If you have a need to split costs of software based on usage JTB Process Monitor will be a big help.

Upgrade from 5.0 to 5.1 is only needed if you want the new functionality.

JTB Process Monitor is priced in relation to an estimation of number of clients. The price per license is approximately 1/5 of the price for the main JTB FlexReport application.

Existing customers that wants this feature can request a quote for the upgrade.

Download the JTB Process Monitor Documentation PDF for more details.

Download of the installers are available from the JTB FlexReport site.

Contact us to get a time limited license file for free. You can try it in your environment with your real data for a few weeks with full functionality.
Full support is provided during trial period.

Get ready to optimize network license and most any software usage.

Thursday, May 21, 2009

SSMPropEditor 3.0 released

Sheet Set Manager Properties Editor version 3 is now available. Now you can copy and paste properties easily between sheets or sheet sets as well as edit sheet set properties. This makes it possible to work more effective with Sheet Sets, save time and tedious manual work. See all the news below.
Downloads are available on the SSMPropEditor website.

A Camtasia Screencast is available here if you cannot access the above YouTube video.

SSMPropEditor is compatible with all AutoCAD based applications that uses Sheet Set Manager or Project Navigator. SSMPropEditor does not require AutoCAD to run.
AutoCAD 2010 as well as Windows 7 32-bit and 64-bit are supported.

Here are all news in version 3.0:

  • There is a Ribbon, Application Menu, Quick Access Toolbar.
  • Increment values. Think of revisions for example. Even if you have different revisions on different sheets they will be incremented individually. You can even use custom incremental series if needed for each Sheet Set.
  • Sheet Set Properties and Sheet Set Custom Properties can be edited.
  • An option to always have a backup of the Sheet Set DST file created whenever you open a Sheet Set.
  • Disable ToolTips if you want.
  • Choose if you want to show properties as soon as you make a selection in the tree view or if you want to show them when you press the button. The reason there is a manual way is that it is quicker if you make large selections of sheets.
  • Copy properties from one sheet to one or many other sheets, even between sheet sets. Check the “Show Copy Checkboxes” checkbox first and then select what properties you want to copy and paste.
  • There is a button allowing you to paste the Sheet count of the Sheet Set into the currently selected property.
  • Export data to a format that you can use in Excel for example.
  • Create reports that you can print.
  • Access to previously opened Sheet Sets.
  • Unlock/Lock button that let you release the lock of the Sheet Set so you can see changes directly in AutoCAD.
  • Have changes applied automatically as an option.

Contact us to get a time limited license file for free.
Full support is provided during trial period.

Wednesday, May 20, 2009

AdskHwCertificationDatabase.xml location

Certified Hardware XML Database Update as well as this Update Graphics Card Driver page are having details on how to download the latest Hardware Certification Database file as well as how to install it.

What it is missing is to tell where the AdskHwCertificationDatabase.xml file is located on AutoCAD 2009 and 2010 as it only describes how to update it from within AutoCAD.

This can be useful to know if AutoCAD for some reason cannot install it as it should or if you want to distribute the newest file to multiple users in your network.

Here is one “Performance Tuner Update” error using 3DCONFIG and Check for Updates that can show up: “Performance Tuner failed to update. Please check your network connection and make sure you have write permission to the file.

The location used to be in the DRV folder where AutoCAD is installed like:
c:\program files\AutoCAD 2008\DRV
%PROGRAMFILES%\AutoCAD 2008\DRV

So where can AdskHwCertificationDatabase.xml be found?

Here are some locations where this file can be found in newer AutoCAD versions:
<ROOT>\Autodesk\AutoCAD 2009\R17.2\enu\PTXML
<ROOT>\Autodesk\AutoCAD 2010\R18.0\enu\PTXML
<ROOT>\Autodesk\ACA 2010\enu\PTXML

<ROOT> to be replaced with either of the following in Windows XP:
C:\Documents and Settings\All Users\Application Data
%ALLUSERSPROFILE%\Application Data

<ROOT> to be replaced with either of the following in Windows Vista and Windows 7:
%ALLUSERSPROFILE%
%PROGRAMFILES%
C:\ProgramData

Now you can use any of your favorite scripting method like KiXtart, VBScript, plain old BAT or CMD or why not PowerShell and have it run as a login script. You can even do it from a single location if you have enough permissions. See this example.

For the Graphics Hardware List see http://www.autodesk.com/autocad-graphicscard

Monday, May 11, 2009

Windows 7 RC performance benchmark for CAD

According to this test in PC World:

We also measured a noteworthy 7 percent speed increase in our Autodesk 3ds max 8.0 SP3 (DirectX) test on the HP Pavillion desktop, which had an nVidia GeForce 9300GE graphics board. nVidia's drivers appear to be better optimized for Windows 7 than Windows Vista.

My real world experience running Windows 7 RC on a low end and low priced notebook has been very positive compared to using Vista on the same hardware and with the same software (Office 2007 SP2, Visual Studio 2008, SQL Server 2008, AutoCAD 2010, AutoCAD Architecture 2010, etc). I actually can use most of these software at the concurrently up and running something that was not possible on Vista.

I love the boot speed, shutdown speed, general speed in day-to-day usage, lower memory consumption, stability as well as I do like some of the new look and features.

The notebook is an AMILO Pa 2510 with AMD Turion 64 X2 Mobile Technology TL-58 (1.9 GHz), 2GB RAM and an 120GB hard disk with 5400 revs, ATI Radeon X1200 video card and 1280x800 WXGA screen. Have to test a stationary later on. More on this notebok.

I’m pretty sure you get a better performance also on a high end stationary PC.

What is your experience?

Sunday, April 26, 2009

Expression Web installation error 2203 solution

I tried to install Microsoft Expression Web 2 on Windows Vista 64-bit today and got this error during the setup: “Error: Installation of the "Microsoft Expression Web 2" product has reported the following error: 2203.”

The solution in my case was to disable Carbonite online backup during the installation.

Thursday, March 26, 2009

Restore the Show desktop icon on Quick Launch toolbar

I got a question how to solve this and here is a tip that works for XP.

How to re-create the Show desktop icon on the Quick Launch toolbar in Windows XP

If you have Vista try this solution instead.


Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner