Author Topic: Kill the InfoCenter in 2008?  (Read 3146 times)

0 Members and 1 Guest are viewing this topic.

KewlToyZ

  • Guest
Kill the InfoCenter in 2008?
« on: September 27, 2007, 02:34:11 PM »
I can do a reg file like this:
Code: [Select]
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.1\ACAD-6006:409\Applications\InfoCenterAcConn]
"LOADCTRLS"=dword:00000000
"LOADER"="C:\\Program Files\\AutoCAD MEP 2008\\AcInfoCenterConn.DLL"
"DESCRIPTION"="AutoCAD InfoCenterAcConn addin"
"MANAGED"=dword:00000001

I was wondering how to do it with the acad.lsp file if possible?

ronjonp

  • Needs a day job
  • Posts: 7529
Re: Kill the InfoCenter in 2008?
« Reply #1 on: September 27, 2007, 02:51:58 PM »
Something like this? Where XXX is your value...

Code: [Select]
      (setq HKLM (strcat "HKEY_LOCAL_MACHINE\\"
(vlax-product-key)
"\\Applications\\InfoCenterAcConn"
)
      )
      (vl-registry-write HKLM "LOADCTRLS" XXX)
      (vl-registry-write HKLM "LOADER" XXX)
      (vl-registry-write HKLM "DESCRIPTION" XXX)
      (vl-registry-write HKLM "MANAGED" XXX)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

KewlToyZ

  • Guest
Re: Kill the InfoCenter in 2008?
« Reply #2 on: September 27, 2007, 03:57:44 PM »
I tried it a few different ways and didn't have any luck.
So I tried another route:

We use a standard .bat file to handle workstation modifications when logging into our network domain.

An example of what we ended up using:

 

REM -------- MEP Implementation File Copy Dialogs -----------

if not exist "c:\_MEP" mkdir "C:\_MEP"

if not exist "c:\_MEP\support" mkdir "c:\_MEP\Support"

if not exist "C:\_MEP\Autosave" mkdir "C:\_MEP\Autosave"

if not exist "C:\_MEP\Logs" mkdir "C:\_MEP\Logs"

if not exist "C:\_MEP\Temp" mkdir "C:\_MEP\Temp"

if not exist "C:\_MEP\XREF Temp" mkdir "C:\_MEP\XREF Temp"

 

if not exist "C:\Documents and Settings\All Users\Desktop\MEP.lnk" copy /Y "\\myserver05\AutoCAD\_MEP\MEP.lnk" "C:\Documents and Settings\All Users\Desktop\MEP.lnk"

if not exist "C:\_MEP\Support\MdiTab17.arx" copy /Y "\\myserver05\AutoCAD\_MEP\MdiTab17.arx" "C:\_MEP\Support"

 

if exist "C:\Program Files\AutoCAD MEP 2008\acad.exe" regedit.exe /s AutoCAD-InfoCenterRemoveFromRegistry.reg

 


--------------------------------------------------------------------------------

The text file saved as a .reg file:


--------------------------------------------------------------------------------

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.1\ACAD-6006:409\Applications\InfoCenterAcConn]

"LOADCTRLS"=dword:00000000

"LOADER"="C:\\Program Files\\AutoCAD MEP 2008\\AcInfoCenterConn.DLL"

"DESCRIPTION"="AutoCAD InfoCenterAcConn addin"

"MANAGED"=dword:00000001


--------------------------------------------------------------------------------

That’s all it took, problem solved without redoing 85+ workstation installations J

 


ronjonp

  • Needs a day job
  • Posts: 7529
Re: Kill the InfoCenter in 2008?
« Reply #3 on: September 27, 2007, 05:53:30 PM »
If you are deleting registry keys, you can use the - path like so to take em all out at once  ;-).

Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.1\ACAD-6006:409\Applications\InfoCenterAcConn]

Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Kill the InfoCenter in 2008?
« Reply #4 on: September 27, 2007, 06:14:42 PM »
If you are deleting registry keys, you can use the - path like so to take em all out at once ...

Forgive me for cutting in Ron but my conscience is forcing my hand ...

Just a quick warning to the general reading community -- be very careful when using potentially destructive and difficult to recover from code / techniques like this. Efficient? Yes. Dangerous? Yes.

We now return you to your regularly scheduled mania.

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

ronjonp

  • Needs a day job
  • Posts: 7529
Re: Kill the InfoCenter in 2008?
« Reply #5 on: September 27, 2007, 06:21:43 PM »
Deleting random registry keys is dangerous?  :-P

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Kill the InfoCenter in 2008?
« Reply #6 on: September 28, 2007, 09:25:29 AM »
Is that a rhetorical question?  :-P
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

daron

  • Guest
Re: Kill the InfoCenter in 2008?
« Reply #7 on: September 28, 2007, 09:27:16 AM »
Wouldn't just renaming the offending commcntr.dll files suffice? worked for me. Stopped it from crashing too.

KewlToyZ

  • Guest
Re: Kill the InfoCenter in 2008?
« Reply #8 on: September 28, 2007, 09:32:09 AM »
Deleting files or keys usually causes more hangs, especially when the main profile uses a network based customization structure.
I didn't delete, I just set one key to Zero. If only it were that easy to add zero's to my paycheck  :ugly:

ronjonp

  • Needs a day job
  • Posts: 7529
Re: Kill the InfoCenter in 2008?
« Reply #9 on: September 28, 2007, 03:16:35 PM »
Deleting files or keys usually causes more hangs, especially when the main profile uses a network based customization structure.
I didn't delete, I just set one key to Zero. If only it were that easy to add zero's to my paycheck  :ugly:

So this would not do it?

Code: [Select]
(vl-registry-write
  (strcat "HKEY_LOCAL_MACHINE\\"
  (vlax-product-key)
  "\\Applications\\InfoCenterAcConn"
  )
  "LOADCTRLS"
  0
)


« Last Edit: September 28, 2007, 03:20:41 PM by ronjonp »

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC