Windows 2008 Server

exhuser
exhuser used Ask the Experts™
on
I am getting this error when trying to copy a file on the C-drive:
"you'll need to provide administrator permission to copy to this folder"

The user is a member of the local admin group.
How can I disable this specific notification?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
You need to open cmd.exe in Admin Mode. Right click on cmd.exe and select Run as Administrator.

If you are using Notepad, say for the Hosts file, you need to open Notepad with Run as Administrator.

Author

Commented:
How does it fix the copying files issue?
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
It normally allows copying to protected areas like user folders and program folders
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Author

Commented:
OK. How can I disable this message permanently?
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
The message comes up when you need permissions , so it does not go away permanently . However you should not see the message if you have adequate permissions

Author

Commented:
I understand this. Are you saying there is no way to disable this message if the user is a member of the local admin group?
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
If you are admin and you are trying also to go where further elevated permissions are needed (examples above), there is no way to eliminate the message.
NVITEnd-user support

Commented:
The security permissions on the folder may be amiss. One solution is to adjust the Security for the folder or file. Clear then reassign the users / groups.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
I assume in my information above that folder permissions are correct (as is normal on a server) so please let us know if not.

Author

Commented:
The security permissions are standard -- right after the installation.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Then you need to live with the message unless you first use elevated permissions.
You may need to disable User Account Control (UAC) setting in your server.

This article may guide you further:

https://support.microsoft.com/en-us/kb/2526083
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
NEVER - NEVER disable UAC on a Server. Don't. That is the WRONG thing to do.
Lee W, MVPTechnology and Business Process Advisor
Most Valuable Expert 2013

Commented:
Question - WHY are you copying FILES to the root of the drive?  There is RARELY a good reason to do so.  You can easily make new folders and copy files to folders.  If you really MUST copy a file or two to the root, fine, deal with the error message, complete the copy - but don't do something every professional IT person I know would consider absolutely foolish - like disabling UAC!
I like the good comment option, but maybe a bad comment button is needed, for suggesting you remove UAC, I can't imagine when I'd consider doing this on a production server.

As for copying files to the Root, I can think of a couple reasons I'd consider it like avoiding local paths, being long than my User Paths, by making initial Shared C:\net but making the share "Network Shared Files" especially when moving company files from other hardware.

Basic Production Servers really shouldn't have people logged into them enough for the elevated permsions "run as Administrator" to be a big issue.

Author

Commented:
I actually found a registry fix, but as this Microsoft article says, "Under certain constrained circumstances, disabling User Account Control (UAC) on Windows Server can be an acceptable and recommended practice"

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial