Solved

Windows 8 file access to c:

Posted on 2013-06-25
3
233 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 55

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 55

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
OfficeMate Freezes on login or does not load after login credentials are input.
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…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

717 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