Robbie Hatley
2013-12-15 05:45:49 UTC
Greetings, group. My first post here. (I used to hang out on
the Win2000 groups a lot, then WinXP; but now that I'm using
Windows 8.1, I figure *this* group is more appropriate.)
I ran into a problem today: I found that I cannot create new
files in the root directory of my C: drive (ie, "C:\").
I've never had reason to try to do so in the 2 months or so
I've had this Asus notebook running Windows 8.1, until today,
when I tried making a batch file called "substs.bat" with
the following content:
subst D: C:\D
subst E: C:\E
subst F: C:\F
subst G: C:\G
(The reason is, I have many makefiles, shortcuts, etc linking
to things on drives D and E, left over from the days when I
had a tower system with multiple physical hard disks. So rather
than manually alter all those references when moving or copying
operations to new computers, I just make folders called C, D,
E, F on whatever large drive is available, copy appropriate
contents to those, and subst the drive letters DEFG to the
folders DEFG.)
I tried to save the file in "C:\", but I got this error message:
"Error 0x80070522: A required privilege is not held by the client."
(I wonder what "client" means in this context?)
On googling that, I found thousands of people with the same problem,
with lots of Microsoft engineers giving them absurd advice such as:
"Just share your root drive with 'Everyone'"
[extreme security breach!!! no way in bloody hell I'm going to share
all my files with my neighbors! and they WOULD get access, as I'm
sharing my network key with the neighbors in my building]
or
"Set security on C:\ to allow 'Everyone' full control, for that
folder, subfolders, and files, and replace permissions on all
subfolder and files with those permissions"
[another extreme security breach].
Lots of people writing back saying "tried that, didn't work",
or "refuse to try that, too big a security breach", or
"tried that, then I couldn't even log onto my machine", or
in one case "An admin can't even write to his own hard disk?
What kind of @#%$@^ OS is this? I'm going back to Linux. Bill
Gates can suck my #^#%$^#^%%!!!!!!"
But one observant and resourceful person said:
'Just create the files ELSEWHERE, then copy or move them to "C:\"
Once the file is in "C:\", you can edit it in place at will, or
delete it; it's apparently only attempts to CREATE files on
root directories of drives that causes the error.'
I tried that, and it works.
But I'm curious: Why can't I CREATE a new file directly in "C:\"?
Is there some valid reason for this, or is it a bug? And if it's
a bug, why hasn't it been fixed? (I see complaints from people
on the web having this issue in Windows Vista as far back as 2009.)
And, is there a FIX for this, or do we just have to create files
elsewhere and MOVE them to "C:\" when we want/need to create new
files there?
(Yes, I'm aware that MOST new files should NOT go in "C:\".
But there are some files -- such as batch files intended
to run when Windows or the "cmd" DOS box start -- which just
naturally seem to belong in "C:\".)
Thanks in advance for any answers, questions, solutions, comments
anyone may offer. I'm all ears regarding this strange problem.
(PS: I can't find any newsgroups specifically for Windows 8, so I
posted this to several windows groups which looked like they might
be relevant; my apologies if anyone gets duplicates, or if this
post is seen as being off-topic.)
the Win2000 groups a lot, then WinXP; but now that I'm using
Windows 8.1, I figure *this* group is more appropriate.)
I ran into a problem today: I found that I cannot create new
files in the root directory of my C: drive (ie, "C:\").
I've never had reason to try to do so in the 2 months or so
I've had this Asus notebook running Windows 8.1, until today,
when I tried making a batch file called "substs.bat" with
the following content:
subst D: C:\D
subst E: C:\E
subst F: C:\F
subst G: C:\G
(The reason is, I have many makefiles, shortcuts, etc linking
to things on drives D and E, left over from the days when I
had a tower system with multiple physical hard disks. So rather
than manually alter all those references when moving or copying
operations to new computers, I just make folders called C, D,
E, F on whatever large drive is available, copy appropriate
contents to those, and subst the drive letters DEFG to the
folders DEFG.)
I tried to save the file in "C:\", but I got this error message:
"Error 0x80070522: A required privilege is not held by the client."
(I wonder what "client" means in this context?)
On googling that, I found thousands of people with the same problem,
with lots of Microsoft engineers giving them absurd advice such as:
"Just share your root drive with 'Everyone'"
[extreme security breach!!! no way in bloody hell I'm going to share
all my files with my neighbors! and they WOULD get access, as I'm
sharing my network key with the neighbors in my building]
or
"Set security on C:\ to allow 'Everyone' full control, for that
folder, subfolders, and files, and replace permissions on all
subfolder and files with those permissions"
[another extreme security breach].
Lots of people writing back saying "tried that, didn't work",
or "refuse to try that, too big a security breach", or
"tried that, then I couldn't even log onto my machine", or
in one case "An admin can't even write to his own hard disk?
What kind of @#%$@^ OS is this? I'm going back to Linux. Bill
Gates can suck my #^#%$^#^%%!!!!!!"
But one observant and resourceful person said:
'Just create the files ELSEWHERE, then copy or move them to "C:\"
Once the file is in "C:\", you can edit it in place at will, or
delete it; it's apparently only attempts to CREATE files on
root directories of drives that causes the error.'
I tried that, and it works.
But I'm curious: Why can't I CREATE a new file directly in "C:\"?
Is there some valid reason for this, or is it a bug? And if it's
a bug, why hasn't it been fixed? (I see complaints from people
on the web having this issue in Windows Vista as far back as 2009.)
And, is there a FIX for this, or do we just have to create files
elsewhere and MOVE them to "C:\" when we want/need to create new
files there?
(Yes, I'm aware that MOST new files should NOT go in "C:\".
But there are some files -- such as batch files intended
to run when Windows or the "cmd" DOS box start -- which just
naturally seem to belong in "C:\".)
Thanks in advance for any answers, questions, solutions, comments
anyone may offer. I'm all ears regarding this strange problem.
(PS: I can't find any newsgroups specifically for Windows 8, so I
posted this to several windows groups which looked like they might
be relevant; my apologies if anyone gets duplicates, or if this
post is seen as being off-topic.)
--
Cheers,
Robbie Hatley
lonewolf [at] well [dot] com
http://www.well.com/user/lonewolf/index.html
https://www.facebook.com/robbie.hatley
Cheers,
Robbie Hatley
lonewolf [at] well [dot] com
http://www.well.com/user/lonewolf/index.html
https://www.facebook.com/robbie.hatley