FreeCad 0.20 on windows only runs as administrator

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
TWrecks
Posts: 25
Joined: Sun May 28, 2017 6:54 pm

FreeCad 0.20 on windows only runs as administrator

Post by TWrecks »

I installed the FreeCAD stable release from the main download page. It launched fine the first time from the installer, but subsequent attempts get an "Unknown Error" dialog. If I "run as administrator" then it launches fine.

I originally "installed for all" but tried uninstalling and re-installing just for me, but had the same issue.

Thanks for any help-

Tim

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * 3D_Printing_Tools
  * CADExchanger
  * CurvedShapes
  * Curves
  * fcgear
  * Manipulator
  * nurbs
  * Render
Last edited by TWrecks on Tue Jun 21, 2022 2:41 pm, edited 1 time in total.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: FreeCad 0.20 on windows only runs as administrator

Post by adrianinsaval »

perhaps your config was written as admin and now can only be accessed as admin, go to %APPDATA% in the file explorer and delete or rename the FreeCAD folder there then try again
TWrecks
Posts: 25
Joined: Sun May 28, 2017 6:54 pm

Re: FreeCad 0.20 on windows only runs as administrator

Post by TWrecks »

adrianinsaval wrote: Tue Jun 21, 2022 1:30 am perhaps your config was written as admin and now can only be accessed as admin, go to %APPDATA% in the file explorer and delete or rename the FreeCAD folder there then try again
I should have mentioned I also have used FreeCAD for some time (since v0.15), and currently also have 0.19 installed. 0.19 still launches fine w/o administrator privileges. The files in %APPDATA%\Roaming\FreeCAD are mostly old, but I have "full control" access to them.

I tried renaming it, v0.20 created a new FreeCAD folder w/ nothing inside and still errored out.

Tim
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: FreeCad 0.20 on windows only runs as administrator

Post by adrianinsaval »

very strange, can you check the log?
TWrecks
Posts: 25
Joined: Sun May 28, 2017 6:54 pm

Re: FreeCad 0.20 on windows only runs as administrator

Post by TWrecks »

I'm not sure what logs you are referring to? I don't see anything in the windows event viewer, and I don't see any freeCAD .log files.

Tim
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCad 0.20 on windows only runs as administrator

Post by chrisb »

TWrecks wrote: Tue Jun 21, 2022 3:18 pm I'm not sure what logs you are referring to? I don't see anything in the windows event viewer, and I don't see any freeCAD .log files.
You can start FreeCAD from the console and check the output there. And you can start it (from there) with the additional parameter --write-log which will write a log file to %APPDATA%\Roaming\FreeCAD.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
TWrecks
Posts: 25
Joined: Sun May 28, 2017 6:54 pm

Re: FreeCad 0.20 on windows only runs as administrator

Post by TWrecks »

It appears to die before even creating a log file. If I run the command shell as administrator, then it makes a log file.

Tim
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: FreeCad 0.20 on windows only runs as administrator

Post by adrianinsaval »

perhaps some antivrus is interfering? is the splashscreen shown?
User avatar
Kartoffelpüre
Posts: 161
Joined: Fri Mar 11, 2022 8:33 am

Re: FreeCad 0.20 on windows only runs as administrator

Post by Kartoffelpüre »

If you are logged in as Admin and Install
winget install FreeCAD.FreeCAD
from Terminal Freecad got installed into C:\Users\%username%\AppData\Local\ of the currently logged in administrator instead it gets installed, so all user could use Freecad.

In my opinion Freecad should only install into C:\Users\%username%\AppData\Local\ if the user do not have Admin rights.
Post Reply