Link to home
Create AccountLog in
Windows Server 2008

Windows Server 2008

--

Questions

--

Followers

Top Experts

Avatar of exhuser
exhuser

Windows 2008 Server
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?

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of JohnJohn๐Ÿ‡จ๐Ÿ‡ฆ

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.

Avatar of exhuserexhuser

ASKER

How does it fix the copying files issue?

Avatar of JohnJohn๐Ÿ‡จ๐Ÿ‡ฆ

It normally allows copying to protected areas like user folders and program folders

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of exhuserexhuser

ASKER

OK. How can I disable this message permanently?

Avatar of JohnJohn๐Ÿ‡จ๐Ÿ‡ฆ

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

Avatar of exhuserexhuser

ASKER

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?

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of JohnJohn๐Ÿ‡จ๐Ÿ‡ฆ

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.

Avatar of NVITNVIT๐Ÿ‡บ๐Ÿ‡ธ

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.

Avatar of JohnJohn๐Ÿ‡จ๐Ÿ‡ฆ

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

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of exhuserexhuser

ASKER

The security permissions are standard -- right after the installation.

Avatar of JohnJohn๐Ÿ‡จ๐Ÿ‡ฆ

Then you need to live with the message unless you first use elevated permissions.

ASKER CERTIFIED SOLUTION
Avatar of neel_7575neel_7575๐Ÿ‡ฎ๐Ÿ‡ณ

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of JohnJohn๐Ÿ‡จ๐Ÿ‡ฆ

NEVER - NEVER disable UAC on a Server. Don't. That is the WRONG thing to do.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Lee W, MVPLee W, MVP๐Ÿ‡บ๐Ÿ‡ธ

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!

Avatar of R. Andrew KoffronR. Andrew Koffron๐Ÿ‡บ๐Ÿ‡ธ

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.

Avatar of exhuserexhuser

ASKER

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"

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Windows Server 2008

Windows Server 2008

--

Questions

--

Followers

Top Experts

Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.