Solved Run As Administrator - Lost Rights?

Thanks for all the help. I've tried the process in the linked thread and it didn't work for me.

I've attached the Powershell results as a pdf as the txt file it generated was around 6 meg
 

Attachments

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 64 Pro
CPU
Intel Core i7-3770k @ 3.50GHz
Motherboard
Gigabyte Z77x-D3H
Memory
16GB DDR3 SDRAM PC3-12800
Graphics Card(s)
AMD Radeon HD 6750
Sound Card
On Board MB
Monitor(s) Displays
Iiyama ProLite B2280HS-W1 22" LED HDMI Monitor
Screen Resolution
1920x1080
Hard Drives
Crucial MX500 250GB
Samsung SSD 250GB
Hitachi 500GB
PSU
Blue Storm
Case
Thermaltake Soprano
Cooling
Fan
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
100mb
Antivirus
Eset
Browser
Waterfox
My suggestion:
- Back up your data.
- If you have a OEM computer, do a Factory Recover or
- Do a clean install.

For the updates MS releases SP2 for Windows 7
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
I've tried the process in the linked thread and it didn't work for me.
I forgot to mention it: did you use Icacls or did you perform the changes through the GUI? I expected the changes be done through Explorer. The Icacls examples in this thread are meant for files, if you apply it to folders the permissions won’t propagate.

Don’t touch anything. I’ll post you the appropriate commands to fix everything after I get the permission info from you…

I've attached the Powershell results as a pdf as the txt file it generated was around 6 meg
I see what happened. Didn’t take into account SF’s file size cap. A 1MB file is permitted for txt files.

I can’t work off a PDF. The data in the file is not meant for direct human interpretation.

Here, upload the file to my public FTP server. Enter the following URI into the Windows Explorer (not Internet Explorer) address bar and drop the file in there.
Code:
[Removed link]
Hopefully I don’t get too much spam. Please notify me immediately when you do this.


My suggestion:
- Back up your data.
- If you have a OEM computer, do a Factory Recover or
- Do a clean install.
Megahertz07, what are you expecting this to do? A clean install doesn’t alter any program files or their permissions, and I don’t think a factory install is appropriate.
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
TXT file is in your ftp thanks. I applied icalcs using CMD
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 64 Pro
CPU
Intel Core i7-3770k @ 3.50GHz
Motherboard
Gigabyte Z77x-D3H
Memory
16GB DDR3 SDRAM PC3-12800
Graphics Card(s)
AMD Radeon HD 6750
Sound Card
On Board MB
Monitor(s) Displays
Iiyama ProLite B2280HS-W1 22" LED HDMI Monitor
Screen Resolution
1920x1080
Hard Drives
Crucial MX500 250GB
Samsung SSD 250GB
Hitachi 500GB
PSU
Blue Storm
Case
Thermaltake Soprano
Cooling
Fan
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
100mb
Antivirus
Eset
Browser
Waterfox
The file’s still damaged? I’m unable to import its contents without errors:

Code:
PS C:\Users\Pyprohly> $a = Import-Clixml C:\Users\Pyprohly\Desktop\aclfile_Photoshop.txt                                                            
Import-Clixml : Unexpected end of file has occurred. The following elements are not closed: Objs. Line 43685, position 9.
At line:1 char:6
+ $a = Import-Clixml C:\Users\Pyprohly\Desktop\aclfile_Photoshop.txt
+      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Clixml], XmlException
    + FullyQualifiedErrorId : System.Xml.XmlException,Microsoft.PowerShell.Commands.ImportClixmlCommand
 
PS C:\Users\Pyprohly>

Try repeating the PowerShell line and then verify you are able to import it like I have (tired) above.

Maybe zip it before uploading as well. Not sure what went wrong.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
Uploaded to ftp again. I get errors in Powershell, but it will open (allfiles) in Powershell ISE
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 64 Pro
CPU
Intel Core i7-3770k @ 3.50GHz
Motherboard
Gigabyte Z77x-D3H
Memory
16GB DDR3 SDRAM PC3-12800
Graphics Card(s)
AMD Radeon HD 6750
Sound Card
On Board MB
Monitor(s) Displays
Iiyama ProLite B2280HS-W1 22" LED HDMI Monitor
Screen Resolution
1920x1080
Hard Drives
Crucial MX500 250GB
Samsung SSD 250GB
Hitachi 500GB
PSU
Blue Storm
Case
Thermaltake Soprano
Cooling
Fan
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
100mb
Antivirus
Eset
Browser
Waterfox
Worked that time.

Now to run a bunch of commands. Get your elevated Command Prompt ready. First, these lines will revert the changes made to the amtservices.dll files that I asked you to try. Copy-paste and enter the entire thing at once.
Code:
icacls "C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\amtservices.dll" /remove Users
icacls "C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\amtservices.dll" /remove "%username%"
icacls "C:\Program Files (x86)\Adobe\Adobe Bridge CS5\amtservices.dll" /remove Users
icacls "C:\Program Files (x86)\Adobe\Adobe Bridge CS5\amtservices.dll" /remove "%username%"
icacls "C:\Program Files (x86)\Adobe\Adobe Device Central CS5\amtservices.dll" /remove Users
icacls "C:\Program Files (x86)\Adobe\Adobe Device Central CS5\amtservices.dll" /remove "%username%"
icacls "C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\amtservices.dll" /remove Users
icacls "C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\amtservices.dll" /remove "%username%"
icacls "C:\Users\ARD\AppData\Local\Adobe\OOBE\PDApp\LWA\amtservices.dll" /remove Users
icacls "C:\Users\ARD\AppData\Local\Adobe\OOBE\PDApp\LWA\amtservices.dll" /remove "%username%"

Here are some new changes, based off the suggestion in that Adobe forum.
Code:
icacls "C:\Program Files\Adobe" /remove "%username%"
icacls "C:\Program Files\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files\Common Files\Adobe" /remove "%username%"
icacls "C:\Program Files\Common Files\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files\Common Files\Macrovision Shared" /remove "%username%"
icacls "C:\Program Files\Common Files\Macrovision Shared" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files (x86)\Adobe" /remove "%username%"
icacls "C:\Program Files (x86)\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files (x86)\Common Files\Adobe" /remove "%username%"
icacls "C:\Program Files (x86)\Common Files\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files (x86)\Common Files\Macrovision Shared" /remove "%username%"
icacls "C:\Program Files (x86)\Common Files\Macrovision Shared" /grant "%username%":(IO)(CI)F
icacls "C:\ProgramData\Adobe" /remove "%username%"
icacls "C:\ProgramData\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\ProgramData\FLEXnet" /remove "%username%"
icacls "C:\ProgramData\FLEXnet" /grant "%username%":(IO)(CI)F
icacls "C:\Users\%username%\AppData\Roaming\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Users\%username%\AppData\Local\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Users\%username%\AppData\LocalLow\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Users\%username%\AppData\Local\VirtualStore\Program Files\Common Files\Adobe /grant "%username%":(IO)(CI)F

Try Photoshop immediately after doing this.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
Applied all changes and...................................IT WORKS!!!!!!!!!!!!!!!!!!!!!!! Thank you, I really do appreciate your time, help and expertise.:thumbsup::thumbsup::thumbsup::thumbsup::thumbsup::thumbsup::thumbsup::thumbsup:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 64 Pro
CPU
Intel Core i7-3770k @ 3.50GHz
Motherboard
Gigabyte Z77x-D3H
Memory
16GB DDR3 SDRAM PC3-12800
Graphics Card(s)
AMD Radeon HD 6750
Sound Card
On Board MB
Monitor(s) Displays
Iiyama ProLite B2280HS-W1 22" LED HDMI Monitor
Screen Resolution
1920x1080
Hard Drives
Crucial MX500 250GB
Samsung SSD 250GB
Hitachi 500GB
PSU
Blue Storm
Case
Thermaltake Soprano
Cooling
Fan
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
100mb
Antivirus
Eset
Browser
Waterfox
Glad there was progress in doing that but there’s really no surprise to be had here as the changes made where brute force like. This fix is a work around rather than a solution because the root cause of the problem has not been identified.

It may not be worth your time, but if you’re willing to do a few more tests a more feasible solution can be found and this would be invaluable information for others with a similar issue.

Otherwise, hope to see you around.


One more thing. The fix only applies to your user account. If you want the fix applied to all your user accounts you can swap ‘%username%’ for ‘Users’, but know that these changes are not as easily reversible and will limit your ability to find the root cause of the problem if you wish to do so.
Code:
icacls "C:\Program Files\Adobe" /grant Users:(IO)(CI)RX
icacls "C:\Program Files\Common Files\Adobe" /grant Users:(IO)(CI)RX
icacls "C:\Program Files\Common Files\Macrovision Shared" /grant Users:(IO)(CI)RX
icacls "C:\Program Files (x86)\Adobe" /grant Users:(IO)(CI)RX
icacls "C:\Program Files (x86)\Common Files\Adobe" /grant Users:(IO)(CI)RX
icacls "C:\Program Files (x86)\Common Files\Macrovision Shared" /grant Users:(IO)(CI)RX
icacls "C:\ProgramData\Adobe" /grant Users:(IO)(CI)RX
icacls "C:\ProgramData\FLEXnet" /grant Users:(IO)(CI)RX
icacls "C:\Users\%username%\AppData\Roaming\Adobe" /grant Users:(IO)(CI)RX
icacls "C:\Users\%username%\AppData\Local\Adobe" /grant Users:(IO)(CI)RX
icacls "C:\Users\%username%\AppData\LocalLow\Adobe" /grant Users:(IO)(CI)RX
icacls "C:\Users\%username%\AppData\Local\VirtualStore\Program Files\Common Files\Adobe /grant Users:(IO)(CI)RX
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
I would gladly do further tests to help others and I am interested to know what actually caused the issue in the first place
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 64 Pro
CPU
Intel Core i7-3770k @ 3.50GHz
Motherboard
Gigabyte Z77x-D3H
Memory
16GB DDR3 SDRAM PC3-12800
Graphics Card(s)
AMD Radeon HD 6750
Sound Card
On Board MB
Monitor(s) Displays
Iiyama ProLite B2280HS-W1 22" LED HDMI Monitor
Screen Resolution
1920x1080
Hard Drives
Crucial MX500 250GB
Samsung SSD 250GB
Hitachi 500GB
PSU
Blue Storm
Case
Thermaltake Soprano
Cooling
Fan
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
100mb
Antivirus
Eset
Browser
Waterfox
Great to hear, ARD.

I realised that I made a mistake with the Icacls grant commands in post 27. Instead of ‘(OI)(CI)’, which means “apply this permission to sub files and folders”, I did ‘(IO)(CI)’, which means “apply this permission to subfolders only, but not the object itself”. I’m surprised it still worked. This actually turns out to be a good thing because we now know that Photoshop had been crashing over access to some folder rather than some file, which honestly is not what I would have anticipated, but there you go.

It seems we must be hunting a folder down.

One method for determining which folder was causing Photoshop to crash would be to play the game of elimination on the folders’ permissions.

Here’s how it’s going to work. For each folder, there will be an Icacls command. Each Icacls command will either be removing permissions on a folder or it will be applying permissions to it. After running the pool of Icacls commands, launch Photoshop and take note of whether it fails. Depending on the case, Icacls commands will be removed from the pool accordingly.

The following are examples of what I mean by a Icacls command that applies or removes permissions, in respective order.
Code:
icacls "filename" [COLOR="Red"]/grant "%username%”:(IO)(CI)F[/COLOR]
icacls "filename" [COLOR="red"]/remove "%username%"[/COLOR]
The part in red is the part you will switch out for for each Icacls command.

Use the following as a template. Such as the most efficient way to correctly guess a chosen random number between 1 and 100, I suggest going halves each time. I’ve started for you, the first half are set to apply permissions (for simplicity, lets’ call them ‘on’) and the rest are set to remove the permissions (call them ‘off’).
Code:
icacls "C:\Program Files\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files\Common Files\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files\Common Files\Macrovision Shared" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files (x86)\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files (x86)\Common Files\Adobe" /grant "%username%":(IO)(CI)F
icacls "C:\Program Files (x86)\Common Files\Macrovision Shared" /grant "%username%":(IO)(CI)F
icacls "C:\ProgramData\Adobe" /remove "%username%"
icacls "C:\ProgramData\FLEXnet" /remove "%username%"
icacls "C:\Users\%username%\AppData\Roaming\Adobe" /remove "%username%"
icacls "C:\Users\%username%\AppData\Local\Adobe" /remove "%username%"
icacls "C:\Users\%username%\AppData\LocalLow\Adobe" /remove "%username%"
icacls "C:\Users\%username%\AppData\Local\VirtualStore\Program Files\Common Files\Adobe /remove "%username%"


The Elimination Method
  1. Run the pool of Icacls commands.
  2. Try Photoshop and record observation, i.e., does it crash?
  3. Do Case 1 or 2 depending on whether or not the application crashed in step 2.
    Case 1 — it crashes:​
    If crash, eliminate the Icacls commands that are on in the pool (no need to remove permissions from these folders before doing this). For the remaining off commands, let half be on. This will be the new pool of Icacls commands to work with.

    E.g., the new pool (as by the beginning template) will be,
    Code:
    icacls "C:\ProgramData\Adobe" /grant "%username%":(IO)(CI)F
    icacls "C:\ProgramData\FLEXnet" /grant "%username%":(IO)(CI)F
    icacls "C:\Users\%username%\AppData\Roaming\Adobe" /grant "%username%":(IO)(CI)F
    icacls "C:\Users\%username%\AppData\Local\Adobe" /remove "%username%"
    icacls "C:\Users\%username%\AppData\LocalLow\Adobe" /remove "%username%"
    icacls "C:\Users\%username%\AppData\Local\VirtualStore\Program Files\Common Files\Adobe /remove "%username%"

    Case 2 — no crash:​
    If Photoshop starts successfully, eliminate the Icacls commands that are off in the pool. For the remaining commands, make half be off.

    E.g., the new pool (as by the beginning template) will be,
    Code:
    icacls "C:\Program Files\Adobe" /remove "%username%"
    icacls "C:\Program Files\Common Files\Adobe" /remove "%username%"
    icacls "C:\Program Files\Common Files\Macrovision Shared" /remove "%username%"
    icacls "C:\Program Files (x86)\Adobe" /grant "%username%":(IO)(CI)F
    icacls "C:\Program Files (x86)\Common Files\Adobe" /grant "%username%":(IO)(CI)F
    icacls "C:\Program Files (x86)\Common Files\Macrovision Shared" /grant "%username%":(IO)(CI)F
  4. Repeat this until you are able to single out a folder, such that removing or applying permissions to this one folder determines whether or not Photoshop crashes. When a folder is singled out, restart the process with a new pool of Icacls commands consisting of this folder’s subfolders and further hone in on the problem item.

Report back where this process leads you.

You may reapply the changes from post 27 at any time to get Photoshop working again, but please do not at any point run the changes mentioned in post 29.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
I'll get on it this evening and let you know the outcome
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 64 Pro
CPU
Intel Core i7-3770k @ 3.50GHz
Motherboard
Gigabyte Z77x-D3H
Memory
16GB DDR3 SDRAM PC3-12800
Graphics Card(s)
AMD Radeon HD 6750
Sound Card
On Board MB
Monitor(s) Displays
Iiyama ProLite B2280HS-W1 22" LED HDMI Monitor
Screen Resolution
1920x1080
Hard Drives
Crucial MX500 250GB
Samsung SSD 250GB
Hitachi 500GB
PSU
Blue Storm
Case
Thermaltake Soprano
Cooling
Fan
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
100mb
Antivirus
Eset
Browser
Waterfox
Slowly working my way through, will take me a while but I'll finish it
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 64 Pro
CPU
Intel Core i7-3770k @ 3.50GHz
Motherboard
Gigabyte Z77x-D3H
Memory
16GB DDR3 SDRAM PC3-12800
Graphics Card(s)
AMD Radeon HD 6750
Sound Card
On Board MB
Monitor(s) Displays
Iiyama ProLite B2280HS-W1 22" LED HDMI Monitor
Screen Resolution
1920x1080
Hard Drives
Crucial MX500 250GB
Samsung SSD 250GB
Hitachi 500GB
PSU
Blue Storm
Case
Thermaltake Soprano
Cooling
Fan
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
100mb
Antivirus
Eset
Browser
Waterfox
I've tried everything, to the best of my ability, and cannot get it to not work now, or not run without Admin Rights. It runs everytime straight away. I'll re do it again to see if I missed something because it would be good to know so others can benefit if it happens to them. I'll report back again soon
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
N/A
OS
Windows 7 64 Pro
CPU
Intel Core i7-3770k @ 3.50GHz
Motherboard
Gigabyte Z77x-D3H
Memory
16GB DDR3 SDRAM PC3-12800
Graphics Card(s)
AMD Radeon HD 6750
Sound Card
On Board MB
Monitor(s) Displays
Iiyama ProLite B2280HS-W1 22" LED HDMI Monitor
Screen Resolution
1920x1080
Hard Drives
Crucial MX500 250GB
Samsung SSD 250GB
Hitachi 500GB
PSU
Blue Storm
Case
Thermaltake Soprano
Cooling
Fan
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
100mb
Antivirus
Eset
Browser
Waterfox
Back
Top