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: .lnk files for All Programs menu

24 Feb 2010   #21
Merlin2000

Windows 7
 
 

Quote:
go to the all users folder and (take ownership if you need to), give your user (merlin?), full control, and let it propagate down to all files and any sub folders.
- Bear with me here, I'm a Vista/Win 7 newb. What's the "User's Folder" - I have C:\Users or C:\Users\Merlin (access denied to this one)

If I open a window, type "%UserProfile%", it takes me to Merlin, but there is no way to move up one level, or grab the address from the top address bar location :/


My System SpecsSystem Spec
.
24 Feb 2010   #22
Merlin2000

Windows 7
 
 

I noticed "C:\Users\All Users" I guess this is what you mean by "all users" folder?

Do you know how I give myself (Merlin) full control?

I right-clicked on "All users" folder, went to properties, Security, then Edit

I added a new user "Merlin" - hit check names to make sure it's formatted correct (then it showed up with an underline).

When I hit OK, it tries to apply the changes, and then comes back with a "Access is Denied"

When I deleted the new Merlin user I added, it comes back with the same Access is Denied window (attached)

I do have the option to "Take Ownership" of the All Users folder, I think it's the LockHunter program that does that, but I'm not sure if that would screw anything up, so I won't try it unless you suggest it.


Attached Images
.lnk files for All Programs menu-access.denied.jpg 
My System SpecsSystem Spec
24 Feb 2010   #23
arkhi

Windows 2000 5.0 Build 2195
 
 

Have you ever done an offline chkdsk? as in chkdsk /f? chkdsk fixes security descriptors sometimes. Maybe it might be able to fix yours.
My System SpecsSystem Spec
.

25 Feb 2010   #24
Barman58

Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu
 
 

Sorry again, should be more specific, the folder I mean is the All Users start menu folder at ...

C:\ProgramData\Microsoft\Windows\Start Menu

And use the properties - security tab to add Full control to your username
My System SpecsSystem Spec
25 Feb 2010   #25
Merlin2000

Windows 7
 
 

Quote:
And use the properties - security tab to add Full control to your username
- For "Merlin (Merlin-PC\Merlin)" and "Users (Merlin-PC\Users)" I checked "Full Control" under allow. It didn't work, but I verified the permissions were successfully sent to sub folders/files.

Quote:
Have you ever done an offline chkdsk? as in chkdsk /f? chkdsk fixes security descriptors sometimes. Maybe it might be able to fix yours.
- I thought chkdsk was just to fix logical drive problems? BarMan, do you suggest I do this?
My System SpecsSystem Spec
25 Feb 2010   #26
Barman58

Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu
 
 

I am at a loss here to understand exactly what is causing the dialogue to be presented.

As you do not receive the prompt when running as administrator but only when running as a standard user, the changes to the permissions on the shortcuts should have solved the issue, as your user now has the same rights as the administrator.

There is definitely some form of corruption here and It may be in many places

One thing we could try here is to create a new user account (administrator not standard) - log in as the new user and see if the issue remains - if the issue is gone then the corruption is with your current user account and it should be possible to migrate your settings to a new user account as a cure then delete the original corrupt account.

The other possible cause would be a permissions issue but on the actual exe files rather than the shortcuts

Can you run an .exe file directly from somewhere in c:\program files\... ?

Also if you right click on an exe file in c\program files\... and send a shortcut to the desktop will this run correctly?

As for the question of a chkdsk /f it should do no harm and may cure the issue as stated by arkhi, but I would not expect this in this case

Another command line option would be a system file check (sfc /scannow), which may cure a corrupted system file
My System SpecsSystem Spec
25 Feb 2010   #27
Merlin2000

Windows 7
 
 

Quote:
Can you run an .exe file directly from somewhere in c:\program files\... ?
- Works perfectly fine running it directly like that. It ONLY happens when I open the shortcut within the start menu folder.

I'll run both of those commands, report back, and then create a new user account.

Btw, I think the only registry changes I've done, are outlined here: Get Windows XP Styled Classic All Programs List in Windows Vista and 7 - Tweaking with Vishal - I went all the way through step 3, but did not complete step 4 and onward. Since then, I've reverted my changes.

Can you tell me what your value is for the registry key "Favorites" located at "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"?

Should it be:

C:\Users\Merlin\Favorites

OR


%USERPROFILE%\Favorites
My System SpecsSystem Spec
25 Feb 2010   #28
Barman58

Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu
 
 

reg entry should be C:\users\merlin ... although the %userprofile% string should actually equate to the same thing, if you are logged in as merlin.

Mine is actually re-directed to a data drive as I do not store my settings on the system drive but the principle applies just the same

Edit

one extra thing to try - open the start menu right click on the all programs link and select open, (not open all users), check the permissions for your user on the programs folder that you see there. (shortcuts are held in two locations and it could be that the personal location is what is corrupted, rather than the general one which we have already changed)
My System SpecsSystem Spec
25 Feb 2010   #29
Merlin2000

Windows 7
 
 

Quote:
reg entry should be C:\users\merlin ... although the %userprofile% string should actually equate to the same thing, if you are logged in as merlin.
- Ok, well that's how mine so, so that's not the problem

Quote:
one extra thing to try - open the start menu right click on the all programs link and select open, (not open all users), check the permissions for your user on the programs folder that you see there. (shortcuts are held in two locations and it could be that the personal location is what is corrupted, rather than the general one which we have already changed)
- I just verified that the start menu for Merlin (C:\Users\Merlin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs) works perfectly fine. It's only the start menu @ C:\ProgramData\Microsoft\Windows\Start Menu that has the problem.

Could it have something to do with the "Group Policy Settings" program? Maybe something I need to change in that program?

I modified the shortcut icon for .pdf documents. Apparently the entry is stored via the registry, so I modified that icon only. Not sure if that could effect this.

I'm going to try a new user account right now and report back. I ran the "sfc /scannow" command and all reported to be ok. I can run the chkdisk later tonight when I'm done with work, I need the computer on today so I can't run chkdisk just yet.

Just created a 2nd user, logged into that user, and I have the SAME problem. Same exact behavior!!!!

Is there a way to always run lnk files as the administrator? I found this post at EE that may have a solution inside, I don't have an account so I can't view it: http://www.experts-exchange.com/Micr..._23911975.html

I think I'm going to smelt my Windows 7 disc and see if that helps

If I go to the shortcut properties, and check to always run as admin, it does not display the prompt.

Another edit: I Found this post http://www.tabletpcquestions.com/sho...Warning-window that talks about using icacls

I did
cd C:\ProgramData\Microsoft\Windows\Start Menu
icacls links /setintegritylevel (OI)(CI)low

And it shows it affected 1 file, but did not fix the problem.

Another Edit: Here's another thread that looks to be similar!!! Help Classic Menu - Shortcuts attributes - BIG mistake
My System SpecsSystem Spec
25 Feb 2010   #30
Merlin2000

Windows 7
 
 

Holy shit! It worked!!!

Anyone with my problem, please check out this tutorial: Help Classic Menu - Shortcuts attributes - BIG mistake

Thanks Barman for working with me on all of this. After endless troubleshooting, I was getting ready just to accept the fact I need to live with it lol.

(If you don't mind, you may want to edit the post I linked to and remove the extra space between the / and word "setintegritylevel" right now it shows up as "/ setintegritylevel" and it should be "/setintegritylevel")

The solution, repeated (credit given to poster in my link above), is:

- Click Start and in Accessories find the CommandPrompt (or click start and type cmd)
- Right click on the found CommandPrompt or cmd.exe and choose: 'Run as Administrator'
- Type the following commands (each line followed by <enter>)
Quote:
CD \ProgramData\Microsoft\Windows\
icacls StartM~1 /setintegritylevel (CI)low
CD Start Menu
icacls Programs /setintegritylevel (CI)low
My System SpecsSystem Spec
Reply

 .lnk files for All Programs menu




Thread Tools




Similar help and support threads
Thread Forum
Problem with "Search programs and files" in Start menu.
This started a few weeks ago, don't know how or why. If i go to Start (globe on lower left), and in "Search programs and files", e.g. type "car", it gives me the info essentially in triplicate - it lists: "Control Panel (21)"; "Documents (1786)", which lists 5 files; "Pictures (1786)"...
Performance & Maintenance
Problem with Start Menu "Search programs and files"
Hello! This is a major issue to me. I open the start menu, and I want to search something up. Nothing comes up. When I press "See more results", it gives me a error message. What do I do to solve this?
Music, Pictures & Video
Start Menu search programs and files not working
Just recently I have found that typing a program name into the start menu no longer returns the programs that match. I tried to install a hotfix which didn't work (update not applicable to my computer). I've seen other posts about deleting a registry key, but I don't have that registry key in the...
General Discussion
missing "search programs and files" on start menu.
Dumb question. When using start option (lower left corner)on win7 laptop, you should have an option to search for anything in pc. This option is below the "all programs" selection. My laptop lost it somewhere. Same thing when looking at control pannel screen in the upper right hand corner is...
General Discussion
Start Menu Search - Programs, Files categories
I want to customize my start menu search. In Vista, I just told the indexing service to search only in the start menu folder, and monitored the folder myself (added and removed shortcuts as I wish). It was great, and it replaced Launchy very comfortably. I made shortcuts to folder locations on my...
Customization
Search Programs and files (from start menu), Tooltips
Please correct me if im wrong but im sure the last time i used the search bit on the start button the i could see the location (path) of folders/files on the tooltip, but now i cant? Did i imagine it or has something changed? Thx.
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 00:17.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App