I Changed Ownership of Most of C: - Do I need immediate help?

Page 1 of 2 12 LastLast

  1. Posts : 524
    win10
       #1

    I Changed Ownership of Most of C: - Do I need immediate help?


    Trying to find out how to get to be able to write a .bat file to C: in order to install and use harbour I came to these forums and started reading about other people who couldn't write to their hard drives.

    With various solutions offered.

    One of which said change all ownerships of C:

    Which I did - or got started on it - and then I browsed over to another solution at https://www.tenforums.com/tutorials/...dows-10-a.html where I read warning in red:

    Warning
    Do not change the owner of your Windows drive (ex: C: ). Doing so could result in Windows becoming very unstabl

    So now I'm in trouble.

    How do I get out of it? I stopped the change when it was still in progress.

    C: currently shows 'SYSTEM' as owner.

    p.s. still can't save from notepad++ to c:
    I'm logged on a the sole user/administrator as usual
      My Computer


  2. Posts : 8,103
    windows 10
       #2

    It depends what you changed and how mny folders were cant you save files to?
      My Computer


  3. Posts : 524
    win10
    Thread Starter
       #3

    I couldn't save to C: was the only place. my documents, etc,. everything was okay

    can I step back somehow? does it make automatic restore points ? I know I haven't tried to make any.

    I installed it on a new 1T drive. I should have partitioned the drive 50/50 right then I guess. don't remember it giving me the option. but almost straight away got hassles with it telling me c: was the system drive... starts off not wanting to show you the contents for instance and you have to alter that...
      My Computer


  4. Posts : 4,201
    Windows 10 Pro x64 Latest RP
       #4

    The only practical way to "solve" this type of issue is the re-install windows, or possibly an Inplace upgrade which should reset most security permissions

    This is even more the case with each issue of windows with the use of specialist user accounts such as trusted installer.

    You may get away with it for a while, but you will be running with a compromised security model and thus more vulnerable to possible malware attacks, so it's best to "bite the Bullet as soon as it's convenient, make sure you keep regular external backups of your data just in case the worst happens
      My Computers


  5. Posts : 524
    win10
    Thread Starter
       #5

    there's no 'check' software that i can run that will see if things are seriously wrong or not?

    .originally it was pure. new system. three months ago maybe.

    .i was operating as admin. sole user.

    . i think i tried to change ownership to my username (still admin rank - the only admin user)
    but i don't think that took. because nothing happened. no windows, no messages, nothing.

    . but when i decided to change it back (because it didn't work, still couldn't save a file) to system i got a message window and details of files being processed whirring past...

    .as it was proceeding i suddenly realised that many things might become system owned that shouldn't be..

    . so i stopped it.

    . and somewhere in there I also saw that warning post on these forums.

    so it is possible that all i effectively did was attempt to change to system stuff that already was system -

    and change other 'private' stuff to system.

    how bad could that be? surely not as bad as changing system stuff to private? different ballgame, surely?

    saw amongst the posts someone talking about using kaspersky and switching it to 'windows' mode or something - and it looks for windows faults.. could that be a checker?

    i've just spent three weeks slowly and painfully ( as usual ) identifying required software and installing it here in order to build the workstation I want... now any sort of reinstall is going to scrap all of that, isn't it?
      My Computer


  6. Posts : 8,103
    windows 10
       #6

    What cmd did you issue and did you run it as admin ie right click and choose run as admin. Its possible it didnt take but we cant be sure. Its common not to be able to write to c:\ system owns it and admin has rights but users dont have write and as admin is part of users it cant write to it its so oyou cant screw up system files in the root
      My Computer


  7. Posts : 524
    win10
    Thread Starter
       #7

    Samuria said:
    What cmd did you issue and did you run it as admin ie right click and choose run as admin. Its possible it didnt take but we cant be sure. Its common not to be able to write to c:\ system owns it and admin has rights but users dont have write and as admin is part of users it cant write to it its so oyou cant screw up system files in the root
    I didn't issue a command. I chose the option somewhere in the screens. Security file managing.

    A couple of things have already popped up. I went to log in to one prog and it said the password was no good because there must not be any spaces or special characters. The thing is: I didn't put any spaces or special characters.

    And then just now I'm trying to use visual studio and a similar thing happens. It will not accept a filename or something I was doing there because it didn't like the input. But the input wasn't what it was saying it was.

    Something screwing up between the keyboard buffer and the progs. Unless that's a pure coincidence and the system's alright but the keyboard has gone mad.... but it's writing all this alright, isn't it?

    I think it looks like a complete reinstall.

    that's a lot of work to lose. not much data but a hell of lot of installing and configuring.

    perhaps I can do a new install on this same disk but have it partition the disk first and then install on the empty partition.

    It has 800 gig free of 1 Tera. If I split that. Give it 400 gig. Then at least I'll have all my install files right there, them that are downloads.

    christ. just because bloody win10 wouldn't let me write a batch file to c:. Even when I'm the admin. And the only user. And the owner of the whole thing. Etc..

    Just had a look and I can shrink the drive and partition to get a free 400gig which I could put another win10 on.

    That leaves the boot partition still on that drive. How will that go? I'll boot off the install disk, install on the empty partition and then..? It'll boot off the old partition or the new? Or I'll get one of those menu choice, which instance do I want?

    Any bad news doing it that way? I've heard people say never install on anything but a clean new disk. which is what i did this time. and one tiny batch file...
    Last edited by abrogard; 23 Dec 2016 at 03:32.
      My Computer


  8. Posts : 4,201
    Windows 10 Pro x64 Latest RP
       #8

    The restrictions on access to the root of the system drive (normally C:\), is not something new with Windows 10 but was introduced with Windows 7 (or an update), to try and prevent the way that certain malware, (Rootkits), were running.

    I agree it can be a PITA for those of us who were trained in a time before Malware. The fault has to be laid squarely at the feet of the scum that infest us with malware

    Now for the post horse bolting advice

    With complex setups it's good policy to make disk images to an external drive of the install of all applications at regular intervals, during the Install Process ...


    • Immediately after the install of the OS
    • After the inevitable post install updates
    • After the install of all applications
    • After any major application change


    You can use free software to make the images the Go-to here is Macrium Reflect Free

    With these backups images a complete restore can be made in less than an hour
      My Computers


  9. Posts : 31,630
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #9

    abrogard said:
    ...win10 wouldn't let me write a batch file to c:. Even when I'm the admin. And the only user. And the owner of the whole thing. Etc...
    No - writing it to C:\ is not allowed. If you really must have a .bat on the root of C:\ (though I can't think why) then you can. Just write it somewhere else first, then copy or move it to the root of C:\. That works, I've just done it (and then deleted it). Both actions get the 'you need administrator privileges...' pop-up, but will complete if you click Continue. Oh, and once it's there you can't edit it either (that counts as a direct write to C:\ too).

    Another place with the same restrictions (can't write directly, only allowed to copy/move there) is the Start menu for all users. Same reason, it's a place malware would like to write to.
      My Computers


  10. Posts : 524
    win10
    Thread Starter
       #10

    I can see the sense of it. Can't see the sense of not making it clear to the admin though. There's plenty of space typically on the relevant screens when changing permissions, giving ownerships and whatever to spell out exceptions to what you'd take to be natural operation.

    .
    Just write it somewhere else first, then copy or move it to the root of C:\.
    I did a drag and drop and that worked. cut and paste wouldn't though. i got that error message " Error 0x80070522 a required privilege was not held by the client"

    No idea what that privilege might be or how to fix it. Been getting that a few times since the screw up. that's a nuisance, too, not being able to select and copy those messages at times like this.

    (though I can't think why)
    me neither. i was following instructions blindly at the time. used to be we had an 'auto' bat that set the paths and such but this wasn't that.

    anyway, the point is: what can I do about this situation? still looks like nothing but reinstall?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:59.
Find Us




Windows 10 Forums