Solved

Windows 8 file access to c:

Posted on 2013-06-25
3
228 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
  • 2
3 Comments
 
LVL 53

Accepted Solution

by:
McKnife earned 500 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 53

Assisted Solution

by:McKnife
McKnife earned 500 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now