Solved

Group Policy Files - Access Denied Error 4098

Posted on 2014-04-01
8
3,983 Views
1 Endorsement
Last Modified: 2015-03-18
Dear Experts,

I have a computer GPO which is set to do 2 things:
1) Copy a file from a network share to all users profile desktop
2) Delete a specific file called "Remote Desktop.RDP" from all users profile desktop.

I use group policy preferences --> file to do this. The copying of the file works absolutely perfectly, however, the deleting of the file from the desktop only works on Windows XP machines. For Win 7 machines in the event viewer you get the following 4098 error:

The computer 'Remote Desktop.RDP' preference item in the 'Desktop Icons {84149EEF-6A4E-49A5-91E3-6638166B6663}' Group Policy object did not apply because it failed with error code '0x80070005 Access is denied.' This error was suppressed.

Any ideas?
1
Comment
Question by:Bladey001
[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
8 Comments
 
LVL 16

Expert Comment

by:max_the_king
ID: 39968903
Hi,
if you're using a user GPO you may try and check "Run in logged-in user's security context".
It once made me solve a similar problem

hope this helps
max
0
 

Author Comment

by:Bladey001
ID: 39969141
Tried adding the user setting into the same GPO and selecting that but still no luck :(
0
 
LVL 16

Expert Comment

by:max_the_king
ID: 39969383
please keep in mind that computer's gpo sa priority over user's gpo
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 39970571
because it is an all users shortcut a standard user cannot delete it ergo you need to do it in the computer preferences and not the user preferences.
0
 

Author Comment

by:Bladey001
ID: 39977607
So any other ideas?
0
 

Accepted Solution

by:
Bladey001 earned 0 total points
ID: 40001811
I managed to get around this by putting the direct path i.e. C:\Users\Public\Desktop

I guess it must not have like the %ALLUSERSPROFILE%
0
 

Author Closing Comment

by:Bladey001
ID: 40011175
Solved by doing this workaround
0
 

Expert Comment

by:jollywhitefoot
ID: 40673277
This is old, but I thought I would chime in.  The reason this worked on XP but did not work on Windows 7 machines when using the variable %ALLUSERSPROFILE% is because the variable in Windows 7 for the Public folder is %PUBLIC%.  In Windows 7 %ALLUSERSPROFILE%  is for ProgramData.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

688 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