Results 1 to 9 of 9

Thread: AutoCAD custom icon reverting to older version during mini setup

  1. #1
    I could stop if I wanted to
    Join Date
    2011-09
    Posts
    308
    Login to Give a bone
    0

    Default AutoCAD custom icon reverting to older version during mini setup

    Hey gang, hope this is the right forum for this.

    A while back I created a deployment for AutoCAD 2014. It places a custom icon on the desktop that calls a standard arg in the following location using the following text:

    "C:\Program Files\Autodesk\AutoCAD 2014\acad.exe" /p "\\ny-server\cad_common$\AutoCAD 2014\MVVA 2014 Standard r00.arg"

    Now, since the deployment was created, the server has been upgraded and its name is now ny-fs01, not ny-server. No problem, new arg, modified the deployment. Done.

    New installs work fine, existing installs work fine (after the icon has been updated).

    However, when a new user logs onto a workstation for the first time (think new employee) and runs AutoCAD for the first time on a a machine where AutoCAD was deployed prior to the server switch, the icon that is placed on the desktop has the old text and therefore throws "bad profile" errors. Likewise if I delete the reg key "HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R19.1\ACAD-D004:409" to force a mini setup, the icon placed on the desktop is the old icon.

    My question:

    Where is AutoCAD hiding this information locally on the workstation? There must be a "default" profile that AutoCAD is using to populate the registry with default settings (and the old text in the icon) when a new user runs AutoCAD for the first time.

    Any help is appreciated.

    -JP

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: AutoCAD custom icon reverting to older version during mini setup

    Quote Originally Posted by jpcadconsulting347236 View Post
    Hey gang, hope this is the right forum for this.

    A while back I created a deployment for AutoCAD 2014. It places a custom icon on the desktop that calls a standard arg in the following location using the following text:

    "C:\Program Files\Autodesk\AutoCAD 2014\acad.exe" /p "\\ny-server\cad_common$\AutoCAD 2014\MVVA 2014 Standard r00.arg"

    Now, since the deployment was created, the server has been upgraded and its name is now ny-fs01, not ny-server. No problem, new arg, modified the deployment. Done.

    New installs work fine, existing installs work fine (after the icon has been updated).

    However, when a new user logs onto a workstation for the first time (think new employee) and runs AutoCAD for the first time on a a machine where AutoCAD was deployed prior to the server switch, the icon that is placed on the desktop has the old text and therefore throws "bad profile" errors. Likewise if I delete the reg key "HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R19.1\ACAD-D004:409" to force a mini setup, the icon placed on the desktop is the old icon.

    My question:

    Where is AutoCAD hiding this information locally on the workstation? There must be a "default" profile that AutoCAD is using to populate the registry with default settings (and the old text in the icon) when a new user runs AutoCAD for the first time.

    Any help is appreciated.

    -JP
    Which Desktop... Where specifically is the application icon located within the client machine... %UserProfile%\Desktop, or %Public%\Desktop...?

    An instance of the former is required for each-and-every-single user that logs into the client machine, whereas only one (correct) instance is needed for all users with the latter. Speculatively on my part, it sounds as though your ..\netlogon\<YourLoginScriptName>.bat is replicating the bad application icon to user's Desktop, rather than the simpler, aforementioned alternative.

    More information is needed.

    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  3. #3
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095
    Login to Give a bone
    0

    Default Re: AutoCAD custom icon reverting to older version during mini setup

    Check for a hidden Default user. We have a similar LNK file there, except it calls a BAT to handle the initial set-up rather than an AutoCAD launch-with-profile.

  4. #4
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: AutoCAD custom icon reverting to older version during mini setup

    Quote Originally Posted by dgorsman View Post
    Check for a hidden Default user. We have a similar LNK file there, except it calls a BAT to handle the initial set-up rather than an AutoCAD launch-with-profile.
    Funny enough, I thought the 'common' location was Default at first (I have hidden shown), but couldn't recall the environment variable to that location... A quick search pointed me towards Public instead.

    In any event, and I think you're correct that the problem .LNK may be located there, resulting in the copying of same to each-and-every user's Desktop... To my mind, Public is still a better location for ease of maintenance if nothing else (fix once, and done for all).

    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  5. #5
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095
    Login to Give a bone
    0

    Default Re: AutoCAD custom icon reverting to older version during mini setup

    Quote Originally Posted by BlackBox View Post
    Funny enough, I thought the 'common' location was Default at first (I have hidden shown), but couldn't recall the environment variable to that location... A quick search pointed me towards Public instead.

    In any event, and I think you're correct that the problem .LNK may be located there, resulting in the copying of same to each-and-every user's Desktop... To my mind, Public is still a better location for ease of maintenance if nothing else (fix once, and done for all).

    Cheers
    For an AutoCAD or other day-to-day shortcuts, agreed. Our BAT initializer is a bit different - I want it to disappear after the first run (it does some user-specific stuff along with calling for the standard set of desktop shortcuts). If I did this in the Public folder deleting the shortcut to the BAT would mean all future users wouldn't have anything to start it with. If it was left in place all users would have this pesky Initialize shortcut they'd be tempted to delete themselves.

  6. #6
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: AutoCAD custom icon reverting to older version during mini setup

    Quote Originally Posted by dgorsman View Post
    For an AutoCAD or other day-to-day shortcuts, agreed. Our BAT initializer is a bit different - I want it to disappear after the first run (it does some user-specific stuff along with calling for the standard set of desktop shortcuts). If I did this in the Public folder deleting the shortcut to the BAT would mean all future users wouldn't have anything to start it with. If it was left in place all users would have this pesky Initialize shortcut they'd be tempted to delete themselves.
    Certainly; rather than replicating this initialization to each Client's Default (particularly if in a large organization with myriad [virtualized?] client machines), you could perhaps instead port this procedure to ..\netlogon\<YourLogonScript>.[bat [vbs]] file, which could check for registry key, folder exist, etc. in order to distinguish who has, and has not been initialized.

    That said, I've often learned a great deal from you, so if you've elected not to do such I trust that it was to your benefit nonetheless, of course.

    Cheers



    [Edit] - Wonder how the OP's getting on? *shrug*
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  7. #7
    I could stop if I wanted to
    Join Date
    2011-09
    Posts
    308
    Login to Give a bone
    0

    Default Re: AutoCAD custom icon reverting to older version during mini setup

    Sorry for the delay - the forum does not seem to be notifying me via email as I requested.

    The icon is locate din the Public desktop.

    I believe it is being copied form the Default or Default user folder, but I do not have access to it and IT is pretty unresponsive.
    I have a line in login.bat that copies the correct icon to the public desktop on login but domain users do not have write access to the public desktop, and again, our IT is slow to respond.

    Once they do this should be a non issue.

    Thanks as always for all your help.

  8. #8
    Mod / Salary / SM Wanderer's Avatar
    Join Date
    2001-12
    Location
    St. Louis
    Posts
    5,408
    Login to Give a bone
    0

    Default Re: AutoCAD custom icon reverting to older version during mini setup

    Quote Originally Posted by jpcadconsulting347236 View Post
    Sorry for the delay - the forum does not seem to be notifying me via email as I requested.
    Sorry. This issue is evidently a result of our recent server switch. It has been reported and is being worked on and should be resolved soon.
    Melanie Stone
    @MistresDorkness

    Archibus, FMS/FMInteract and AutoCAD Expert (I use BricsCAD, Revit, Tandem, and Planon, too)
    Technical Editor
    not all those who wander are lost

  9. #9
    I could stop if I wanted to
    Join Date
    2011-09
    Posts
    308
    Login to Give a bone
    0

    Default Re: AutoCAD custom icon reverting to older version during mini setup

    Thanks for the heads up Melanie.

Similar Threads

  1. 2013: How do I export to older version of Autocad 2000?
    By Bluefairy in forum Revit Architecture - General
    Replies: 3
    Last Post: 2013-05-20, 07:40 PM
  2. Windows XP - Autocad files opening in older version
    By CAD Brad in forum Operating Systems
    Replies: 6
    Last Post: 2008-08-01, 03:22 PM
  3. DWF Print setup reverting to default
    By tomnewsom in forum Revit - Plotting/Printing/Exporting
    Replies: 5
    Last Post: 2007-07-02, 03:26 PM
  4. REVERTING TO OLDER VERSIONS OF REVIT
    By shenderson in forum Revit Architecture - General
    Replies: 2
    Last Post: 2007-03-15, 01:54 PM
  5. AutoCAD 2002 - Custom icon buttons keep disappearing
    By fmertz.118882 in forum AutoCAD Customization
    Replies: 6
    Last Post: 2006-11-16, 03:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •