Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Permissions Fiasco

26 Jan 2017   #81
fotog673

Win7 Home Premium x64
 
 

These two? Run both again?

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

I really want to get excited about this but ...


My System SpecsSystem Spec
.
26 Jan 2017   #82
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

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 System SpecsSystem Spec
26 Jan 2017   #83
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Quote   Quote: Originally Posted by fotog673 View Post
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.

Quote   Quote: Originally Posted by fotog673 View Post
I really want to get excited about this but ...
Haha. I assure you this time.


Quote   Quote: Originally Posted by Callender View Post
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 System SpecsSystem Spec
.

26 Jan 2017   #84
fotog673

Win7 Home Premium x64
 
 

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.


Attached Files
File Type: txt pp_err new.txt (37.2 KB, 1 views)
My System SpecsSystem Spec
27 Jan 2017   #85
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

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.


Quote   Quote: Originally Posted by fotog673 View Post
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 System SpecsSystem Spec
28 Jan 2017   #86
fotog673

Win7 Home Premium x64
 
 

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 System SpecsSystem Spec
28 Jan 2017   #87
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

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.

Quote   Quote: Originally Posted by fotog673 View Post
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.

Quote   Quote: Originally Posted by fotog673 View Post
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 System SpecsSystem Spec
Reply

 Permissions Fiasco




Thread Tools




Similar help and support threads
Thread Forum
SHOCKING Interview with NVIDIA Engineer about the GTX 970 fiasco
SHOCKING Interview with NVIDIA Engineer about the GTX 970 fiasco spZJrsssPA0
Graphic Cards
Olympic Tickets -- UK Fiasco but tickets available OUTSIDE the UK !!!!
Hi all I was able to get some Olympic tickets quite easily at home -- same as some colleagues of mine in Germany and Luxembourg. I have a number of colleagues who in the UK had to go through some rediculous "Casino" type of gambling for their tickets whereby they had to apply for loads of...
Chillout Room
Permissions
Due to the fact that SFC says that the uDWM.DLL is corrupt on my system, I'm attempting to replace it from the OS disc, according to Brink's tutorial. Everything seems to work fine, until the last step, and it pops an error dialog, saying that I can't, because it can't delete the original. I'm...
Performance & Maintenance
Malwarebytes vs. IObit fiasco comes to a close
Last month the interwebz was jolted by Malwarebytes' claims of IObit stealing their intellectual property and using it in IObit Security 360. Now, it seems, the fiasco has come to a happy (sort of) ending: Some weeks ago we presented evidence demonstrating that the Chinese company IObit had stolen...
System Security
Permissions and Seven
Hi, A few days ago, I restored an image of my Vista partition from within the 6801 partition. ( vista is 1st partition, System, Boot, Active ). IT restored fine, booted up fine, but I couldn't get into Vista. My Vista admin account didn't have permission. Tried changing permissions in...
General Discussion


Our Sites

Site Links

About Us

Find 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 12:40.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App