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: Items missing in "New"-menu when right-clicking in folders on ext HDD

11 Dec 2016   #1
Hunnicat

Windows 7 Home Premium 64-bit
 
 
Items missing in "New"-menu when right-clicking in folders on ext HDD

Hello.

I just got a used Dell from my cousin, who installed Windows 7 on it for me, replacing my old Win XP notebook. I am going through the process of finding out how to use it, and working out the kinks of getting it to work with the way I like things to work.

One problem I noticed, was that when I try to right-click in a folder to make a new text file by using the "New"->"Text File" item in the context menu, most of the items are missing - including "Text File" - except for "Folder"!

This is the case on my external harddisk, as well as the new C:\ root drive of the harddisk which Windows is installed on. I can tell Windows doesn't want me to put files in the C:\ dir, but I am puzzled about my external drive. It works fine in all the other folders on the internal HDD in the computer.

I tried to search google for answer, but I couldn't find anyone discussing this issue, except for one thread on this site:
Right click context menu options

I tried to do what was mentioned in the thread, changing the owner of a folder on the external drive, but it didn't seem to make any difference. I have never understood the security settings in Windows, so maybe I am doing it wrong. Windows said "If you have just taken ownership of this object, you will need to close and reopen this object's properties before you can view and change permissions". I don't know what this means.

But anyway, it didn't work.

Does anyone know what the problem is? I use the "New textfile" pretty regularly, so I would not like to give up on it.

Thank you.


My System SpecsSystem Spec
.
11 Dec 2016   #2
cyanna

windows 7 ultimate x64
 
 

Check THIS post. Modify the drive letter in the script to the drive letter of your connected external drive. You can do the same for the C: drive.
My System SpecsSystem Spec
12 Dec 2016   #3
Pyprohly

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

It’s not abnormal to have ‘Folder’ be the only option under ‘New’ in the context menu while viewing the root of a drive. When this happens it means that your user account does not have full write access over that location. All four of the write permissions are required for a populated New menu, specifically the permissions,
  • Create files / write data
  • Create folders / append data
  • Write attributes
  • Write extended attributes
Lacking any one of these rights will result in a New menu with only one option, ‘Folder’. If your user lacks the ‘Create folders / append data’ permission, a UAC shield will precede this label.


For a populated New menu, ensure that you have all write permissions to that location. The following commands grant the Users group write permissions to the C drive, non-propagating and the other propagating, respectively.
Code:
icacls C:\ /grant Users:(W)
Code:
icacls C:\ /grant Users:(OI)(CI)(W)
My System SpecsSystem Spec
.

16 Dec 2016   #4
Hunnicat

Windows 7 Home Premium 64-bit
 
 

Thank you so much, Cyanna and Pyprohly!


The HDD in which the "new" menu only has the "folder" option is my E: drive. I see from your replies, that I have to use the icacls.exe command. When I type "icacls e:", this is the output it gives:

C:\Windows\system32>ICACLS e:
e: BUILTIN\Administrators:(OI)(CI)(F)
NT AUTHORITY\SYSTEM:(OI)(CI)(F)
CREATOR OWNER:(OI)(CI)(IO)(F)
BUILTIN\Users:(OI)(CI)(RX)
BUILTIN\Users:(CI)(AD)
BUILTIN\Users:(CI)(IO)(WD)
Everyone:(RX)

I have never been able to understand the security and permission settings of Windows, but on the surface it looks to me as if the settings are already in a way which should give the access I need, isn't it? I am logged in as an administrator.

By the way, why are the BUILTIN\Users account listed three times in the output?

Do you still think I should try the commands you suggested?


Thanks again.
My System SpecsSystem Spec
17 Dec 2016   #5
Pyprohly

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

Quote   Quote: Originally Posted by Hunnicat View Post
I have never been able to understand the security and permission settings of Windows
[...]
By the way, why are the BUILTIN\Users account listed three times in the output?
Because the propagation flags differ. You must understand NTFS permissions if this is to make any sense. There’s no other way to put this simply, so, the long answer...

A new Access Control Entry (ACE), aka ‘rule’, occurs when the type (allow or deny), trustee, or propagation flags differ, basically anything but the permissions themselves. In the case of those “BUILTIN\Users” groups you see, the propagation flags differ.

The propagation tokens are (OI), (CI), (IO), and (NP), for Object Inherit (files), Container Inherit (folders), Inherit Only (only apply these permissions to child items), and No Propagation inherit (only apply this rule only level deep).

The token (D) means that this is a deny entry, (I) means that this ACE is inherited. Any other token you see either represents a single permission or a set of permissions.

E.g., for the rule “BUILTIN\Users:(OI)(CI)(RX)”, it says to apply the permission ‘(RX)’ (read and execute) to this object (because ‘(IO)’ is absent), sub files and folders (‘(OI)’ and ‘(CI)’ are present).

Quote   Quote: Originally Posted by Hunnicat View Post
it looks to me as if the settings are already in a way which should give the access I need, isn't it? I am logged in as an administrator.
As from what I said earlier, you need all four write permissions to some folder for a populated ‘New’ menu. In the root location of E drive you only have one of the four: ‘(AD)’ (create folders / append data). Although the third Users rule has ’(WD)’ (Create files / write data) it does not apply to E: because the rule states to inherit only.

You might be looking at the first rule, “BUILTIN\Administrators:(OI)(CI)(F)”, and notice the (F) token meaning ‘Full Control’. It’s a common mistake for people to think to assume they have these rights, because they are in the Administrators group after all.

The catch is, this rule is only included in your rights when programs run with administrative rights. I.e., when you “Run as administrator”. Windows Explorer doesn’t with administrative rights so the “BUILTIN\Administrators” does not apply and you don’t get the Full Control.


Quote   Quote: Originally Posted by Hunnicat View Post
Do you still think I should try the commands you suggested?
Your computer is your oyster. Here, I’ll help describe what they do and you can answer this question for yourself.

Code:
icacls E:\ /grant Users:(W)
The token (W), standing for ‘write’, represents the four write permissions. Running this will create a fourth “BUILTIN\Users“ entry on E drive. As (OI) and (CI) are absent, this access rule applies to E: and only E:.

Code:
icacls E:\ /grant Users:(OI)(CI)(W)
This does the same as the above, but as you can see, (OI) and (CI) are included this time, meaning the rule would apply to E: and all sub files and folders. Because there already exists a Users entry with the same propagation flags on E:, when this command is run, the “BUILTIN\Users:(OI)(CI)(RX)” ACE would become “BUILTIN\Users:(OI)(CI)(RX)(W)”.
My System SpecsSystem Spec
20 Dec 2016   #6
Hunnicat

Windows 7 Home Premium 64-bit
 
 

Pyprohly,

Thank you so much for your great explanation. I see I have to read up on this to even scratch the surface.

I tried the latter of the commands, and I am waiting for it to finish - I don't know if it is doing anything, or is just frozen. I regret not trying the first one first, to see if it did the trick, and then trying the second one. I didn't think.

Thank you.
My System SpecsSystem Spec
20 Dec 2016   #7
Pyprohly

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

Quote   Quote: Originally Posted by Hunnicat View Post
I tried the latter of the commands, and I am waiting for it to finish - I don't know if it is doing anything, or is just frozen.
Yes, as the second one propagates it might take time to complete on a large drive. Though you should notice the effects immediately.

There’s no real harm in stopping it if it takes too long.
My System SpecsSystem Spec
20 Dec 2016   #8
Hunnicat

Windows 7 Home Premium 64-bit
 
 

Quote   Quote: Originally Posted by Pyprohly View Post
Quote   Quote: Originally Posted by Hunnicat View Post
I tried the latter of the commands, and I am waiting for it to finish - I don't know if it is doing anything, or is just frozen.
Yes, as the second one propagates it might take time to complete on a large drive. Though you should notice the effects immediately.

There’s no real harm in stopping it if it takes too long.
Oh, that's good to hear. I turned off the power, because I was having problems trying to write to a USB-stick, and the Windows froze.

I didn't see effects. I mean, ICACLS just showed a blinking cursor on the next line, after I entered the command. And when I tried saving a text file in the root dir of E:, notepad still said I didn't have permission to do that, and needed the administrator to give me permission or something.

Wait! Now I was just trying it again, with the non-propagating one, and here's what happened:

C:\Windows\system32>icacls e:\ /grant /User:(W)
Invalid parameter "/grant"
My System SpecsSystem Spec
20 Dec 2016   #9
Hunnicat

Windows 7 Home Premium 64-bit
 
 

Oh, sorry. I see.

Now I tried:

C:\Windows\system32>icacls e:\ /grant User:(W)
User: No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 1 files
My System SpecsSystem Spec
20 Dec 2016   #10
Hunnicat

Windows 7 Home Premium 64-bit
 
 

Jesus. My nerves are on the fritz. I am making silly mistakes. Sorry.
My System SpecsSystem Spec
Reply

 Items missing in "New"-menu when right-clicking in folders on ext HDD




Thread Tools




Similar help and support threads
Thread Forum
"Desktop As Shortcut" Command Is Missing from the "Send To" Menu
Can anyone help me with this ? i got a picture ... i cant sendto desktop as shortcut the icon is missing .. help !!:cry:
Customization
add items to "new" option of right click menu
hi guys. i have a question. how can i add wordpad and a program to "new" option of right click menu:(i mean the menu at the picture below)
Customization
Make folders default to "general items" optimization
It seems like every folder I don't change to be optimized for "general items" defaults to "pictures." This, of course, leads to massive thumbnails. It seems like, if even one file in a folder is a picture, or has a picture available for the thumbnail (such as a PDF with a cover image), the folder...
General Discussion
Right-clicking menu with "Fade or slide menus into view" seems laggy
Hello my question is very simple, I'm just wondering if this happens to anybody else because I dont remember if this always happened for me or just start happening. When I right-click with the Performace Setting "Fade or slide menus into view" it doesnt really "slide" into view it just displays...
Performance & Maintenance
Context Menu of Jumplist Items Missing "Open file location"?
Is there anyway to add the "Open file location" to the context menus of files that appear in jumplists? For example, my media player is pinned to the task bar. Right clicking on it brings up the jumplist with a list of recent TV episodes I've watched. It would be nice to have the ability to...
General Discussion
Possible to "Rename" items in Context Menu?
Is it possible to rename the Windows Media Player to Windows Media Player x86? cause I will be making Windows Media Player x64 as my default player and the last time I did that Windows automaticaaly added another Windows Media Player to the right click context menu, in the end 2 entries of "Windows...
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 02:37.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App