Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Is temp folder locked down for non UAC applications??


08 Apr 2014   #1

Windows 7 Home Premium 64bit
 
 
Is temp folder locked down for non UAC applications??

I think windows locked the temp folder from being accessed by any program without admin rights.
When opening a file from an archive with Winrar, it just get extracted in the same folder before it is opened.
Is temp folder locked down for non UAC applications??-admin1.jpg
But goto WinRAR and File properties and then enable Run as Administrator in Compatibility settings. Everything works normal.
Name:  admin2.JPG
Views: 13
Size:  51.6 KB
The file is extracted in Temp folder before getting opened.
Is temp folder locked down for non UAC applications??-admin3.jpg

And also, MSI installers are shows up error until they are run as administrators through CMD. We know msi installers gets extracted in temp folder and then installs.
Is temp folder locked down for non UAC applications??-admin4.jpg
Is temp folder locked down for non UAC applications??-admin5.jpg

This has been happening since last one week. So My question is this. Did Windows stopped programs from accessing temp folder without admin rights. Is it time to disable UAC. Will Diasbling UAC affect system security.



My System SpecsSystem Spec
.

08 Apr 2014   #2

Windows 7 Professional x64 Sp1
 
 

UAC does protect folders. Well kind of. It protects the C/windows program files directory.


The types of actions that require elevation to administrator status (and therefore display a UAC elevation prompt) include those that make changes to system-wide settings or to files in %SystemRoot% or %ProgramFiles%. Among the actions that require elevation:
  • Installing and uninstalling applications
  • Installing device drivers
  • Installing ActiveX controls
  • Installing Windows Updates
  • Changing settings for Windows Firewall
  • Changing UAC settings
  • Configuring Windows Update
  • Adding or removing user accounts
  • Changing a user’s account type
  • Configuring Parental Controls
  • Running Task Scheduler
  • Restoring backed-up system files
  • Viewing or changing another user’s folders and files



UAC strips the administrator SID from a user's access token reducing him to a regular restricted ("normal") user. Applications can request elevation via manifests - then the entire process runs with the admin token.
If folders are not writeable with UAC enabled that means that NTFS security is set so that normal users cannot write but administrators can. As a remedy either change the permissions on those folders or run your application elevated (or redesign it so it writes to locations normal users have access to).
If you mean UAC virtualization (redirection of write attempts from system areas into the user profile): here is a good description of the feature from which I have copied the following:
  • Virtualization is only enabled for:
    • 32 bit interactive processes
    • Administrator writeable file/folder and registry keys
  • Virtualization is disabled for:
    • 64 bit processes
    • Non-interactive processes
    • Processes that impersonate
    • Kernel mode callers
    • Executables that have a requestedExecutionLevel




Sources:

http://stackoverflow.com/questions/6...otected-by-uac

http://en.wikipedia.org/wiki/User_Account_Control


And my experience.
My System SpecsSystem Spec
09 Apr 2014   #3

Windows 7 Ultimate x64
 
 

The temp folder is user-specific and therefore, it always has full control from its owner, so no, there is no need to elevate to read or write to temp. Take a look on the permissions on it. It might be possible that they've been modified from their defaults, thus giving problems to non-elevated programs.
My System SpecsSystem Spec
.


Reply

 Is temp folder locked down for non UAC applications??




Thread Tools



Similar help and support threads for2: Is temp folder locked down for non UAC applications??
Thread Forum
Temp Folder Performance & Maintenance
Screen Saver works while other applications are gone and locked General Discussion
Please Help in Identifying Recurring Locked Temp Files System Security
My Temp folder is pretty big General Discussion
Are my drivers in my temp folder, or my %temp% folder? Drivers

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:47 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33