Cannot copy Acaddoc.lsp to support folder in ACAD2018 on Windows 10

Cannot copy Acaddoc.lsp to support folder in ACAD2018 on Windows 10

Anonymous
Not applicable
2,426 Views
7 Replies
Message 1 of 8

Cannot copy Acaddoc.lsp to support folder in ACAD2018 on Windows 10

Anonymous
Not applicable

Hello,

 

In our office we have a logon script that copies the "Acaddoc.lsp from a server to the support path

"C:\Program Files\Autodesk\AutoCAD XXXX\Support".  This works in all of the versions of AutoCAD that we use on the Windows 7 OS.

 

When we logon to a Windows 10 PC the file (for AutoCAD 2018) does not copy due to some security setting in the OS.  Is there another support folder that this file can be copied to?  We tried to copy the file manually by copying and pasting; we get the following errors in the screen shot below when we do this.  The files can be copied to the desktop and then from there to the support path.  We really want this automated in some way since we have a large number of AutoCAD desktops.  Does anyone have any solutions to this?

 

Thanks in advance.

 

Copying the Ffle manually by using copy and PasteCopying the Ffle manually by using copy and Paste

 

Although the network location is available I get this error when trying to copy directly. The file can be copied to the desktop and then to the support path though.Although the network location is available I get this error when trying to copy directly. The file can be copied to the desktop and then to the support path though.

 

 

0 Likes
Accepted solutions (2)
2,427 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable

Would you attach the LSP?

0 Likes
Message 3 of 8

martti.halminen
Collaborator
Collaborator
Accepted solution

 

Why bother fighting with Windows security, use some other place.

 

Our system assumes being always connected to the server, so we have defined in our standard profile the support path to contain the directory on the server where our acaddoc.lsp is placed.

 

If you need this to work also on stand-alone operation, copy the file to somewhere on the local disk where the user has writing rights and add that to the support file search path.

 

-- 

 

Message 4 of 8

DannyNL
Advisor
Advisor
Accepted solution

As @martti.halminen states, just put in in a folder on network share, where all AutoCAD users have acces to and add this to the Support Paths in the AutoCAD profile at the top to make sure it's the first folder/file found.

 

Another option is to modify your script to put the AcadDoc.lsp into the users local or roaming support folder.

C:\Users\[UserName]\AppData\Roaming\Autodesk\AutoCAD 2018\R22.0\enu\Support

 

The first part of the path (C:\Users\[UserName]\AppData\Roaming is stored into the APPDATA system variable, so the script only has to add the rest of the path into the AutoCAD support folder.

 

Message 5 of 8

ASCunningham
Collaborator
Collaborator

If you are going to go this route I would recommend using the user profile switch to copy it around and not worry about individual user names. An example below would be placed into a .bat file that you would run.

 

XCOPY "F:\AutoCad\acad.pgp" "%USERPROFILE%\AppData\Roaming\Autodesk\ACA 2014\enu\Support" /y

0 Likes
Message 6 of 8

ActivistInvestor
Mentor
Mentor

On Windows 10 you can also use sync center (e.g. 'offline files'), to provide common access to customization.

 

One potential downside of putting network paths in AutoCAD's library search path is that if your network is not fast, every time AutoCAD does the internal equivalent of a (findfile), regardless of what kind of file it is searching for, you may pay a performance penalty.

 

 

0 Likes
Message 7 of 8

Anonymous
Not applicable

Sorry for the late reply,  That was put on the back burner as we are only getting ready to build test Windows 10 test boxes and I got caught up in more urgent matters this last week.

0 Likes
Message 8 of 8

Anonymous
Not applicable

Thank you everyone for your input.

0 Likes