Posts

Showing posts from March, 2024

Attrib Command Examples

Image
'Attrib' Command Syntax & Switches The command takes the following general form: attrib  [ +a | -a ] [ +h | -h ] [ +i | -i ] [ +r | -r ] [ +s | -s ] [ +v | -v ] [ +x | -x ] [ drive : ][ path ][ filename ] [ /s  [ /d ] [ /l ]] If you're not sure how to interpret the attrib command syntax you see above or shown in the table below, it's advised to  learn how to read command syntax . Attrib Command Options Item Explanation attrib Execute the attrib command alone to see the attributes set on the files within the directory that you execute the command from. +a Sets the archive file attribute to the file or directory. -a Clears the archive attribute. +h Sets the hidden file attribute to the file or directory. -h Clears the hidden attribute. +i Sets the 'not content indexed' file attribute to the file or directory. -i Clears the 'not content indexed' file attribute. +r Sets the read-only file attribute to the file or directory. -r Clears the read-only attrib...

How to Use the Icacls Command to Manage File Permissions

Image
IC ACLS  Syntax Copy icacls <filename> [/grant[:r] <sid>:<perm>[...]] [/deny <sid>:<perm>[...]] [/remove[:g|:d]] <sid>[...]] [/t] [/c] [/l] [/q] [/setintegritylevel <Level>:<policy>[...]] icacls <directory> [/substitute <sidold> <sidnew> [...]] [/restore <aclfile> [/c] [/l] [/q]] Icacls is a Windows command-line utility that IT admins can use to change access control lists on files and folders. One of the most common tasks that an IT Pro or system administrator performs is modifying permission on a file server. Using the icacls command is a very efficient way to do that, and we’ll explain how to use this command in this guide. How to use the icacls command Based on my own personal experience, modifying file permissions on Windows is usually done using File Explorer. For many IT folks, it’s very intuitive to open File Explorer, browse to the network location causing issues for some users’ access, and change thei...

Social Media 2 Podcast

Image
Facebook Pages influencer Group  Instagram Pages influencer  Group Youtube channels influencer  Tiktok channcels influencer  Social Media