Category : admin

I want to share with you a solution to a windows 10 problem that took me a lot of time I initially found that to templatize a Windows machine with sysprep it was necessary to disable Windows Defender real-time protection (https://www.reddit.com/r/kace/comments/mubncg/how_to_disable_microsoftwindows_defender_in_win/) After following the instructions, however, I discovered that the Admin1 user (that I had ..

Read more

How can I get the UAC prompt to give my Python code Admin rights? I have tried this but Python 32 Bit or my Terminal just freezes: import os import sys import win32com.shell.shell as shell ASADMIN = ‘asadmin’ if sys.argv[-1] != ASADMIN: script = os.path.abspath(sys.argv[0]) params = ‘ ‘.join([script] + sys.argv[1:] + [ASADMIN]) shell.ShellExecuteEx(lbVerb=’runas’, lpFile=sys.executable, ..

Read more

So after trying to install gurobi for python C:Program Files (x86)win64>python3.8 setup.py install (as administrator using cmd) it fails with message error: could not create ‘C:Program Access is denied I asked gurobi support and they said When you have Python installed to your Program Files directory it requires admin privileges to add new packages. In ..

Read more