Skip to content

Start Anaconda Prompt in a Environment where executing Bat-Files from certain locations is restricted #9450

@KoenigMax

Description

@KoenigMax

Actual Behavior

When Starting Anaconda Prompt I recieve the Message

Dieses Programm wurde durch eine Gruppenrichtlinie geblockt. Wenden Sie sich an den Systemadministrator um weitere Informationen zu erhalten.

This amounts in English to

This program was prevented from running by a group policy. Please contact your System Administrator for further Information.

After having talked to our System Administration we could gather that the called upon script %CondaHome%\Scripts\activate.bat calls a temporary .bat file in the Users Folder. This is not allowed in our System:

Die Ausführung von %OSDRIVE%\USERS\E_504KD\APPDATA\LOCAL\TEMP\6\TMP73PTTOPJ.BAT wurde verhindert.
Die Ausführung von %OSDRIVE%\USERS\E_504KD\APPDATA\LOCAL\TEMP\6\TMPVY3DTOM3.BAT wurde verhindert.

(Translates to The execution of ... was prevented.)

Is there a way to explicitly tell anaconda to use a different temporary location or something like this?

Anaconda or Miniconda version:

Anaconda 5.1.0, x86

Operating System:

Windows 10

conda info

I do not know how to run conda without the anaconda prompt running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions