Permissions Fiasco

Page 9 of 9 FirstFirst ... 789

  1. Posts : 56
    Win7 Home Premium x64
    Thread Starter
       #81

    These two? Run both again?

    download: PermissionPackage_win7+.bat
    download: PermissionPackage_r_win7+.bat

    I really want to get excited about this but ...
    Last edited by fotog673; 26 Jan 2017 at 13:11.
      My Computer


  2. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #82

    Some research indicates user profiles 001, 002, 003 etc are created when a users profile has not logged off properly or profiles are failing to unload properly when the user logs out or the PC is shutdown.

    That should be a separate issue to your permissions problem I think. I don't know how to fix it but there must be a fix.
      My Computer


  3. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #83

    fotog673 said:
    These two? Run both again?
    Well it’s your decision. Recall that the first one repairs just the C drive, while the second one is recursive.

    You probably only need the first one.

    fotog673 said:
    I really want to get excited about this but ...
    Haha. I assure you this time.


    Callender said:
    Some research indicates user profiles 001, 002, 003 etc are created when a users profile has not logged off properly or profiles are failing to unload properly when the user logs out or the PC is shutdown.
    If you’ve never seen it before, those suffixes are just to resolve profile naming conflicts.

    Specifically, I’ve noticed this happen after using the net user command to delete accounts. When a profile path happens to be registered (the path doesn’t necessarily have to exist) at the time you first login to an account, the profile folder will be suffixed with “.ComputerName”. Subsequent conflicts will be handled by appending a dot and an additional 3-digit zero-padded incrementer on to this, e.g., “User.ComputerName.001”, “User.ComputerName.002”, and so on. Don’t ask what happens when you reach a thousand profiles. I'll leave that for someone else to discover.

    Try it. Create a user, “ExampleUser”, delete it with net user then recreate the user “ExampleUser”. It’s profile won’t end up as ‘C:\Users\ExampleUser’.

    Perhaps the permission issue was a catalyst in this case. It’s easy to fix through trial and error.
      My Computer


  4. Posts : 56
    Win7 Home Premium x64
    Thread Starter
       #84

    Well first of all I guess I should just say...


    FREAKING BRILLIANT!!!

    Finally access. With a few aspects missing. Ran the first one but it wouldn't give access. Then the recursive one and it let me in with errors. Too tired to try to understand them but here is the err file. But what I am left with though is a working C: drive but my data is mostly gone. Like my profile has been stripped. Can't find any doc files or jpg files or xls files and all the programs are like they are newly installed. Hoping this is a recoverable glitch but I can mostly just congratulate you on writing a wonderful piece of code and you should be quite pleased with yourself. Running Winderstat to see what's seeable but I think bed is for me soon. So I will pick this up again tomorrow.
    Permissions Fiasco Attached Files
      My Computer


  5. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #85

    Good news, Fotog673, that’s great to hear.


    Thanks for sending the all-important error file. You know, you’re helping influence the development of this script in a positive direction. Know your invaluable contributions will soon fuel the benefit of those who find themselves in the same situation.

    Error looks good. Well, not the error itself, but the fact that there’s only one and that it’s fairly negligible. I’m sure this will be last error we see from the script in a while—it’s just one minor oversight:
    Code:
    Cannot find path 'C:\.Bin' because it does not exist.
    The path is supposed to be “C:\$Recycle.Bin” but PowerShell recognises dollar sequences as variables. I think you can see what happens here.


    fotog673 said:
    But what I am left with though is a working C: drive but my data is mostly gone. Like my profile has been stripped. Can't find any doc files or jpg files or xls files and all the programs are like they are newly installed.
    Be sure to check in all the user profiles under C:\Users.
      My Computer


  6. Posts : 56
    Win7 Home Premium x64
    Thread Starter
       #86

    FYI-
    Was finally able to run Tweaking's Window Repair. It was like a bomb had gone off in the system. The repairs it made were staggering in scope. But 7 now seems happy and thus I am too.
    Is this something I could promote for you in some way? I really would like to give a shout out but not sure what the appropriate way would be. Please suffice it to say I am stunned by the time you put into this and saved me from myself. Would love to know what happened but not a clue how to go about that. But again thanks so much. Lar
      My Computer


  7. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #87

    And thank you as well. I’m glad it happened that you were first to try out the script as the permission problem you’ve experienced was most extreme. I can now be optimistic the script is as robust as possible in terms of dominating permission settings. Nonetheless, it still has a little more tweaking to go before it’s ready for wide use.

    fotog673 said:
    Is this something I could promote for you in some way? I really would like to give a shout out but not sure what the appropriate way would be.
    I appreciate your gratitude. I plan to make a tutorial out of this script through this these forums where its mere publication makes it naturally subject to promotion. You’ve already contributed greatly to the development of this script and I ask for no more.

    For now, I’m going to request this discussion be moved to it’s own thread so that it can be found more easily. Meanwhile, I’m going to take down the links to the PermissionPackage scripts soon so that I can made further amendments on the backend.

    Once a proper tutorial is finalised I’ll provide a link to it here and also in the original thread.

    fotog673 said:
    Would love to know what happened but not a clue how to go about that.
    I hope my explanation in post #120 made sense to you. If you have any questions please ask.
      My Computer


 
Page 9 of 9 FirstFirst ... 789

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

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