Author Topic: AutoCAD as administrator Win_8  (Read 2100 times)

0 Members and 1 Guest are viewing this topic.

TopoWAR

  • Newt
  • Posts: 135
AutoCAD as administrator Win_8
« on: August 06, 2014, 12:36:33 PM »
Hello everyone! I have a question, maybe one of you help me! I've noticed q now in windows 8 if autocad is not started as administrator Lisp can not even create a folder in program files, you must start the autocad as administrator, although the session windows is an administrator, the question is : no way to know if the autocad lisp is started as administrator?

something better than this??
Code: [Select]
(if (null (vl-mkdir "c:\\prueba"))
(alert "no admin")
)

as always thanks
Thanks for help

GDF

  • Water Moccasin
  • Posts: 2081
Re: AutoCAD as administrator Win_8
« Reply #1 on: August 06, 2014, 01:57:02 PM »
I just loaded AutoCAD 15 at home on Windows 8...a BIG difference from AutoCAD12 on Windows 7






a pain in the ass

Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: AutoCAD as administrator Win_8
« Reply #2 on: August 06, 2014, 02:11:59 PM »
I believe that's more of a windows issue then an ACAD issue, although it rears its ugly head whenever you try to write or update a file.  You must make the directory you are trying to write to a read & write directory in windows.

I use the attached batch file to unlock (make writeable) the specified directories. (works windows 7, should also work in windows 8, since its a dos function)

To use the attached file, rename to a .bat file then double click on it.
« Last Edit: August 06, 2014, 02:16:09 PM by snownut2 »

TopoWAR

  • Newt
  • Posts: 135
Re: AutoCAD as administrator Win_8
« Reply #3 on: August 06, 2014, 02:22:30 PM »
snownut , Thanks, this may work for the files, the other issue is, whether autocad is started as administrator or not? but I point out that DOS_lib libraries has a work to change the attribute to files, the problem is to do it from autocad win_8 is ridiculous that the windows feel this admin user I have to say to start programs as an administrator, ridiculous, crap of win_8
Thanks for help

cmwade77

  • Swamp Rat
  • Posts: 1447
Re: AutoCAD as administrator Win_8
« Reply #4 on: August 06, 2014, 06:22:53 PM »
snownut , Thanks, this may work for the files, the other issue is, whether autocad is started as administrator or not? but I point out that DOS_lib libraries has a work to change the attribute to files, the problem is to do it from autocad win_8 is ridiculous that the windows feel this admin user I have to say to start programs as an administrator, ridiculous, crap of win_8
Actually, this is the way a secure operating system should have always behaved (look at Linux, etc.)

Bottom line is non-administrative users shouldn't be able to write to system directories (something that Program Files technically is). Best practices dictate that you really should be writing to a different folder than the folder that AutoCAD is installed to.

TopoWAR

  • Newt
  • Posts: 135
Re: AutoCAD as administrator Win_8
« Reply #5 on: August 06, 2014, 06:32:38 PM »
cmwade77 , not only happening in autocad folder, any folder happens, I disagree with you, if the user account is administrator for blocking script files ? is assumed that the administrator account is !!! It's silly, I agree on accounts other than administrator, these programs are not allowed to ercribir, but in a program administrator that do not have write permissions is illogical

I think the windows should tell the program to write, because I'm in a session as an administrator, is simple !!!
« Last Edit: August 06, 2014, 06:37:51 PM by TopoWAR »
Thanks for help

cmwade77

  • Swamp Rat
  • Posts: 1447
Re: AutoCAD as administrator Win_8
« Reply #6 on: August 07, 2014, 07:20:49 PM »
No, you should always have to enter a password to write to system folders, of course Windows should ask for the password when writing to a system folder, but that's another story.

But as for folders that you should be able to write to without needing administrator privileges:
Temp
Documents
Desktop

And of course any subfolders withing these folders.