Showing posts with label Windows Tricks. Show all posts
Showing posts with label Windows Tricks. Show all posts

How to add File Attributes options to Context menu in Windows 10/8/7

Sometimes you might receive an error while trying to change and save the contents of a Read-only text file and you never realize it until the text editor itself reminds you that you don’t have permissions to edit the file contents. During such instances, you might wonder, how does Windows differentiate between a system file, hidden file or whether it is a Read-only file. Well, this happens due to File Attributes.


What are File Attributes in Windows

Each file in Windows contains some metadata associated with it which determines the general system behavior of that file. These are called File attributes, and they impart information about the file itself. These attributes have only two possible values – set or cleared. These are like a flag which can be turned On/Off.
We have seen how you can change File Attributes using attrib.exe and taken a look at Attribute Changer freeware that lets you do so in a click. Today, we’re going to take a look at how to add these file attributes to the standard context menu, so that you can easily manipulate any file by setting or clearing off its attributes.

Add File Attributes option to Context menu

You should be signed in as an Administrator for adding these file attribute options to the right-click context menu and make it accessible for all the users on your PC. Also, one more important thing to note here is that you’ll not be able to set/clear the attributes of a file/folder until you’re an Owner of it. So play along with only those files for which you’re having Owner permissions.
Below is the list of commonly used file attributes and their corresponding bit value.

Commonly used File Attributes in Windows

 

Let’s take a brief look at what each attribute means:
Read-Only (R): This attribute will prevent other users or programs from making any permanent changes to a file. It comes in handy if you want to set a file as write-protected. However, this flag does not ensure that the file will not be deleted.

Hidden (H): Any file/folder which has this attribute set will be hidden from the normal view. It will only be visible if you bypass the system settings and chose to display all hidden files and folders.
System (S): Setting this attribute ON for any file will make it a system file which can not be modified or deleted. This is how the Operating System configuration files are secured.
Directory (D): Just like LINUX, this attribute is used to differentiate the folders and sub-folders from the files.
Archive (A): This attribute is used to help effectively manage backup and archival of the files. Whenever any changes are made to a backed-up file, this attribute is set to ON so that the backup software can identify such modified files by analyzing their Archive attribute. This helps in taking ‘incremental backup’ of any intended file.
Not Content Indexed (I): If you want any file not to appear the results while using Windows Search functionality, you can set this attribute ON for the file in question. Once set, the file will be skipped when the operating system will search for any content.

Add Set/Clear options for File attributes in Context Menu

We have created a Registry Editor Entry File (.REG) file to help you easily add the file attribute option to context menu where from you can easily set/clear off the individual attributes for any file/folder. If you would want to remove these options from the context menu in future, use the other REG file that removes these registry entries made earlier.
Just download this zip file, extract its contents and run the appropriate one with Administrator privileges to add/remove the registry entries. Now, for accessing these options from the context menu, just right-click the desired file/folder and navigate to Attributes menu item in there. Select the option from sub-menu for your intended operation.



Selecting any option from the sub-menu would launch a Command Prompt window for execution of the underlying command.
Below is an example image where I have displayed all attributes for a folder, its subfolder and files as well. A CMD window popped-up displaying all the attributes for the folder.


Hope it works for you!

How to install the OneNote Class Notebook Add-in in your Organization

OneNote Class Notebook is an interactive way for teachers to save their time by collaborating and organizing the work distributed among students and increase the efficiency of their teaching methods. According to Microsoft, “OneNote Class Notebooks have a personal workspace for every student, a content library for handouts, and a collaboration space for lessons and creative activities.” Today, we’re going to talk about how to bring the native functionality of OneNote Class Notebook by installing its Add-in to your OneNote Desktop app.

Install OneNote Class Notebook Add-in

The add-in has a lot of features which promises a collaborative interaction with students. It has a content management section where you can distribute your class notebooks and content library among students. You can also quickly review the student’s work under review section of this Add-in. Managing the class notebooks and adding/removing the students or teachers is also quite easy. What’s more interesting about this Add-in is the ability to integrate, configure and connect to several Learning Management Systems through Windows Group Policy, including the very own Microsoft Classroom.
OneNote Class Notebook Add-in has two pre-requisites for installation on any computer which is as below:
  • OneNote app installed on your desktop should be of version 2013 or higher (Currently, Office 2013 and 2016)
  • Microsoft .NET 4.5 should be installed on your PC.
Apart from the above requirements, the add-in is only supported on Windows 7 or higher versions of OS. Also, it needs administrative privileges to install. If you want to try out the add-in for your OneNote desktop app, follow the below steps:

1. Download the .msi Installer file along with the Group Policy templates from the Microsoft Download Center.
2. Install the Class Notebook Add-in by deploying the MSI file using Microsoft System Center, Group Policy Software Installation or another equivalent deployment mechanism.

Handling Class Notebook Add-in updates

Deployment methods and schedules vary on an organizational basis. Based on your company’s deployment timeline, you can directly deploy the updates for this add-in soon as they become available on the Download Center website. This will, in turn, make sure that all your employees are running the latest version of OneNote Class Notebook Add-in.

OneNote Class Notebook
OneNote Class Notebook


Nevertheless, updates are not imposed on the product basis, but you can choose to take advantage of the bug fixes and new features that are rolled out in subsequent updates.
If you have brought this add-in to your Organization’s productivity suite, let us know how you like this functionality.