Any one else having issues with the Windows UAC security settings being set to high. Is there any way to ensure that a LISP function will complete its task, especially if writing files etc.
No, but as I manage both CAD & IT here, I've intentionally granted user permissions to AutoCAD-related folders, etc... User's don't need access to entire Program Files, or AppData folders, just those pertaining to the product(s) with which they work... Perhaps you can request same from your IT group?
Has anyone tried this approach to changing the UAC settings for specific directories;
(defun unlockdir
( dir uname
/ str
) )
)
);defun
Any serious draw backs ?
Here is link to explanation - http://ss64.com/nt/xcacls.html
I just use these from the File Explorer context menu instead.
... This to Unblock one or more files at a time:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\powershell]
@="Unblock Files"
"Extended"=""
"HasLUAShield"=""
"Position"="Bottom"
[HKEY_CLASSES_ROOT\*\shell\powershell\command]
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe Unblock-File -LiteralPath '%L'"
... And this to Take Ownership of a given folder:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"Extended"=""
"HasLUAShield"=""
"Position"="Bottom"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"Extended"=""
"HasLUAShield"=""
"Position"="Bottom"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
I've had issues modifying the the default menu file, to add toolbars to it.
Like my first comment above, you, or someone more qualified needs to effectively communicate how locking users out of all files/folders is actually hindering your ability to be more efficient/proficient. You're not asking for everything, and instead reasonably asking for only permissions to AutoCAD-related folders. Presented correctly, I cannot imagine why this would be an issue (and I'm also IT/Server admin!).
If they don't go for it, or have concerns, let me (us?) know... I'm certain we can help to clarify the legitimate need here, for them to properly assess within the confines of their Vogon-like policies.
Cheers