Bookmark and Share

Author Topic: Folder Redirection Error- Recycling Bin  (Read 47292 times)

0 Members and 1 Guest are viewing this topic.

Offline samh

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2013
  • Posts: 43
  • Karma: 0
Folder Redirection Error- Recycling Bin
« on: July 27, 2013, 07:53:59 AM »

Hi there,

Now that the port forwarding problem is out of the way (thanks Shane and Evan!), I can finally focus on finishing setting up the server.

So far I've gotten the domain, users, dns + dhcp, permissions, etc setup. I am now finishing up the project with the folder redirection and department shares.

Currently, I'm getting an error message that the Recycling Bin is corrupted (first for Videos, then pictures, then music. None for Documents though). See pic-

Now I'm getting this on every user account, on every computer I try. Is this issue permissions related or something else? How can I fix it?


Thanks-
Sam

PcWinTech.com Forums

Folder Redirection Error- Recycling Bin
« on: July 27, 2013, 07:53:59 AM »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Folder Redirection Error- Recycling Bin
« Reply #1 on: July 29, 2013, 01:09:11 PM »
Looks like a lot of people have this problem.

Open an cmd.exe window as administrator and try this command

rd /s /q C:\$Recycle.bin

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline samh

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2013
  • Posts: 43
  • Karma: 0
Re: Folder Redirection Error- Recycling Bin
« Reply #2 on: July 30, 2013, 12:22:41 PM »
Looks like a lot of people have this problem.

Open an cmd.exe window as administrator and try this command

rd /s /q C:\$Recycle.bin

Shane

Hi- Thanks for replying.

After running the command, I get the following error:

"C:\$Recycle.bin\S-1-5-~2 - Access is denied.
C:\$Recycle.bin\S-1-5-~3 - Access is denied.
C:\$Recycle.bin\S-1-5-~1 - Access is denied.
Access is Denied."

The funny thing is when I try to change the permissions I also get an permissions error!  :confused:

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Folder Redirection Error- Recycling Bin
« Reply #3 on: August 01, 2013, 04:18:14 PM »
Did you open the cmd window as administrator?

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline samh

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2013
  • Posts: 43
  • Karma: 0
Re: Folder Redirection Error- Recycling Bin
« Reply #4 on: August 01, 2013, 05:10:08 PM »
Did you open the cmd window as administrator?

Shane


No, I did not at first, but even if I do run the command as an administrator- which gives no errors, I still get the original error on logon.

Sam

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Folder Redirection Error- Recycling Bin
« Reply #5 on: August 01, 2013, 06:39:18 PM »
Is that network path it is looking at still available?

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline samh

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2013
  • Posts: 43
  • Karma: 0
Re: Folder Redirection Error- Recycling Bin
« Reply #6 on: August 01, 2013, 07:39:17 PM »
Is that network path it is looking at still available?

Shane

Yes, it is- I'll double check tomorrow.

(But even if it didn't exist, wouldn't it be created automatically?)

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Folder Redirection Error- Recycling Bin
« Reply #7 on: August 04, 2013, 03:09:12 PM »
If it is on the network you should then be able to remotely the recycle bin and then the problem should go away.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline samh

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2013
  • Posts: 43
  • Karma: 0
Re: Folder Redirection Error- Recycling Bin
« Reply #8 on: August 04, 2013, 03:27:07 PM »
If it is on the network you should then be able to remotely the recycle bin and then the problem should go away.

Shane

Well, this error is happening on every computer, including the server!

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Folder Redirection Error- Recycling Bin
« Reply #9 on: August 04, 2013, 03:37:24 PM »
Can you go to the network path it is complaining about and delete that folder, or even remove that share?

Also is this network share accessed by everyone?

Such as the network files folder and then each computer can see the folders under it?

If so that would explain why ever computer is seeing it. That folder that it is complaining about, the my videos, must have something corrupt in it, deleting it may be the first step.

Have you also ran a chkdsk on the cts server 1?

Doing that would do 2 things.

1. It would make you reboot Windows, which ever a server needs every now and then.
2. It has to reboot in order to do a chkdsk on the drive. If the file system simply needs fixed this may correct the problem as well.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline samh

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2013
  • Posts: 43
  • Karma: 0
Re: Folder Redirection Error- Recycling Bin
« Reply #10 on: August 09, 2013, 09:55:50 AM »
Can you go to the network path it is complaining about and delete that folder, or even remove that share?

Also is this network share accessed by everyone?

Such as the network files folder and then each computer can see the folders under it?

If so that would explain why ever computer is seeing it. That folder that it is complaining about, the my videos, must have something corrupt in it, deleting it may be the first step.

Have you also ran a chkdsk on the cts server 1?

Doing that would do 2 things.

1. It would make you reboot Windows, which ever a server needs every now and then.
2. It has to reboot in order to do a chkdsk on the drive. If the file system simply needs fixed this may correct the problem as well.

Shane

I ran a chkdsk and rebooted the server and I still get the same error. And I can't delete the users' Documents, Videos, Pics, etc folder because there are files in them.

I then tried redoing the permissions, and it turns out I get an "Access is denied" when I try to replace permissions on the My Documents (contains Vids, pics, etc) with the "replace all child object perissions with inheritable permissions from this object" box checked. When I went in, I could change permissions on each individual file, and that fixed it... except that isn't practical for 15 users and who knows how many thousands of files... How could I change the permissions without doing each one one at a time?

Sam

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Folder Redirection Error- Recycling Bin
« Reply #11 on: August 10, 2013, 12:55:08 AM »
You could do it with a batch file.

You can grab the subinacl.exe file from the files folder in my windows repair tool at tweaking.com

And in the bat file you could do this

subinacl.exe  /file "C:\Users" /grant=administrators=f /grant=system=f /grant=users=f /grant=everyone=r /setowner=administrators
subinacl.exe /subdirectories "C:\Users\*.*" /grant=administrators=f /grant=system=f /grant=users=f /grant=everyone=r /setowner=administrators

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline samh

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2013
  • Posts: 43
  • Karma: 0
Re: Folder Redirection Error- Recycling Bin
« Reply #12 on: August 10, 2013, 10:58:51 AM »
You could do it with a batch file.

You can grab the subinacl.exe file from the files folder in my windows repair tool at tweaking.com

And in the bat file you could do this

subinacl.exe  /file "C:\Users" /grant=administrators=f /grant=system=f /grant=users=f /grant=everyone=r /setowner=administrators
subinacl.exe /subdirectories "C:\Users\*.*" /grant=administrators=f /grant=system=f /grant=users=f /grant=everyone=r /setowner=administrators

Shane

I ran this:
subinacl.exe  /file "C:\NetworkFiles" /grant=Domain Admins=f /setowner=Domain Admins
subinacl.exe /subdirectories "C:\NetworkFiles\*.*" /grant=Domain Admins=f /grant=system=f /setowner=Domain Admins

The permissions did not apply. Now inside "NetworkFiles", there are individual user folders (first initial + last name) with their Documents, etc in them.

How could I modify that code to make Domain Admin as the owner of all files, and setup "JDoe" with full permissions of folder "JDoe" and "ESmith" with full permissions of the folder "ESmith"?

Thanks so much.
Sam
« Last Edit: August 10, 2013, 11:11:45 AM by samh »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Folder Redirection Error- Recycling Bin
« Reply #13 on: August 11, 2013, 09:51:46 PM »
You cant have spaces in cmd.exe commands.

Try
subinacl.exe  /file "C:\NetworkFiles" /grant="Domain Admins"=f /setowner="Domain Admins"
subinacl.exe /subdirectories "C:\NetworkFiles\*.*" /grant="Domain Admins"=f /grant=system=f /setowner="Domain Admins"

The commands work with any user account name there is.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline samh

  • PcWinTech Full Member
  • **
  • Join Date: Jul 2013
  • Posts: 43
  • Karma: 0
Re: Folder Redirection Error- Recycling Bin
« Reply #14 on: August 12, 2013, 10:15:40 AM »
You cant have spaces in cmd.exe commands.

Try
subinacl.exe  /file "C:\NetworkFiles" /grant="Domain Admins"=f /setowner="Domain Admins"
subinacl.exe /subdirectories "C:\NetworkFiles\*.*" /grant="Domain Admins"=f /grant=system=f /setowner="Domain Admins"

The commands work with any user account name there is.

Shane

Hi Shane-

Thanks for the help as usual.

I tried to run that and I got an error on the second line of code. See screenshot. I still have the Recycle Bin error too.



Man, this recycling bin error is really driving me crazy!...

Sam

PcWinTech.com Forums

Re: Folder Redirection Error- Recycling Bin
« Reply #14 on: August 12, 2013, 10:15:40 AM »

 

email