Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

How to check permissions using icacls command

Permissions, Group Policy, IPSec, Virus, Spam, Spyware, Malware.

How to check permissions using icacls command

Postby chicagotech » Fri Mar 02, 2007 12:14 am

Use icacls command to check the permissions. For example the XP IP is 192.168.1.2, do "icacls \\192.168.1.2\d". Post back with the result.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com

Q: I shared some folders in my windows 7 with full control. However, when accessing them from other computers, I get read only.
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 7084
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Postby chicagotech » Thu Jul 12, 2007 9:14 pm

You can use cacls or perms. Or this may help,

How to: check permissions using ...Use icacls command to check the permissions. For example the XP IP is 192.168.1.2, do "icacls \\192.168.1.2\d". Post back with the result. ...
viewtopic.php?t=439


Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 7084
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Postby blin » Wed Jul 18, 2007 3:38 pm

FYI, The CACLS.EXE command line utility does not provide a /Y switch that automatically answers Yes. However, you can use the echo command to pipe the character Y as input to the Y/N prompt when you call Cacls.exe in a batch file. For example, "echo y| cacls filename /g username:permission"
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3643
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Postby chicagotech » Wed Jul 18, 2007 3:50 pm

To check the permissions of subfolder, do this:
cacls c:\temp\* /t >c:\temp\test3.txt
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 7084
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Postby chicagotech » Wed Aug 29, 2007 11:28 am

Also check this link,

windows tools
You can use the netsh command in Windows 2000 to script the process of ... showpriv.exe - Display the permission assigned to users and groups on the local ...
www.chicagotech.net/wintools.htm
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 7084
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Postby guest » Mon Apr 13, 2009 9:52 pm

here is example to check permissions in remote Vista public folder.

H:\>icacls \\10.0.5.9\public
\\10.0.5.9\public BUILTIN\Administrators:(OI)(CI)(F)
CREATOR OWNER:(OI)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(OI)(CI)(F)
NT AUTHORITY\INTERACTIVE:(OI)(CI)(IO)(M,DC)
NT AUTHORITY\INTERACTIVE:(RX,WD,AD)
NT AUTHORITY\SERVICE:(OI)(CI)(IO)(M,DC)
NT AUTHORITY\SERVICE:(RX,WD,AD)
NT AUTHORITY\BATCH:(OI)(CI)(IO)(M,DC)
NT AUTHORITY\BATCH:(RX,WD,AD)
Everyone:(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm


Return to Security

Your Ad Here

Who is online

Users browsing this forum: No registered users and 1 guest