?
Solved

Windows 8 file access to c:

Posted on 2013-06-25
3
Medium Priority
?
234 Views
Last Modified: 2013-06-25
When scripting installation of program on a Win8 machine I can not put anything directly on c:. Normally I put a .tst file there for check if the program is install or not. This work for Win7 but not for Win8. Why?
0
Comment
Question by:fsandve
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 56

Accepted Solution

by:
McKnife earned 1500 total points
ID: 39274670
Hi.

Short answer: don't use c:, use %temp% and all is well.
Long: Since xp (and vista and 7), you can only write to c: if you are admin. Since vista, you would also need to write there elevated. With UAC off, this elevation restriction does not apply.
0
 

Author Comment

by:fsandve
ID: 39276063
Thanks for the suggestion. Sorry i forgot to mention that i am an administrator. That is i put domain users in the local administrators group so i should have the rights to write the file. Looks to me that even as a member of the local administrators group i am not allowed to write anything to the root. Thus these rights apply to the user and not to the Group?
0
 
LVL 56

Assisted Solution

by:McKnife
McKnife earned 1500 total points
ID: 39276180
>  i put domain users in the local administrators group so i should have the rights to write the file - no, not correct. That would require elevation, being admin alone does not help. This is 100% as it was with 7, by the way. If the UAC is off on your win7 System, that would explain the difference.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question