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

How to: check permissions using Vista icacls command

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

How to: check permissions using Vista 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
"Scott Meyers" <usenet@aristeia.com> wrote in message news:12uf45h8ojnbt02@corp.supernews.com...
I want to share my Vista D drive with the XP Pro and Win2K machines on
my network. The machines all see and can access each other, and the
Vista machine sees and can access the shared resources I have on the XP
and Win2K machines. Those machines see and can access the resources in
the Vista machine's Public folder. I've also turned on sharing for the
D drive on the Vista machine, and though the XP and Win2K machines can
see the contents of the D drive, they can't access anything, e.g., even
trying to read a file or folder leads to an access error. (This means
that the contents of the Vista D drive are shown in the explorer on the
XP and Win2K machines, but trying to read any of the shown entries leads
to an access error.)

I've turned on sharing for a couple of folders on the D drive on the
Vista machine, and that lets the XP and Win2K machines access the
contents of those directories for read-only, but though I've read the
many posts related to this issue in this newsgroup as well as the MS web
pages they refer to, I can't find a way to share my entire D drive with
the other machines on my network, nor can I find a way to give the other
machines write/modify access to the files on my Vista machine. My goal
is to give full read/write/modify access to all files on my D drive to
all machines on my network.

Any suggestions?

Thanks,

Scott
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: 5175
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. ...
http://www.chicagotech.net/netforums/vi ... .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
"crate" <tsookoo> wrote in message news:1184276919.729868.309940@d55g2000hsg.googlegroups.com...
Good Day,

Not sure this is the place to ask, but bare with me please.

At the last minute, I was asked to report on the permissions for each
folder in one of our shared drives, and it's alot. Now i mean the
overtime would be nice but I prefer to go home early after a long
day. is there a program that can do this for me.
I am running AD 2003, with the shared drive residing on a Server 2003
box.

Any help would be greatly appreciated.

Travais
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: 5175
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Postby chicagotech » Fri Jul 13, 2007 11:50 am

Thank you for the update.

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
"travais" <tsookoo> wrote in message news:1184336587.259220.172100@22g2000hsm.googlegroups.com...
Hey Thanks for the help Robert
Just a quick note though, since my drives were mapped to a name, i
just did the following command for the enitre drive.

cacls q:\* >c:\q-share-permissions.txt

Thanks again for the help.

Travais

One more thing though for future reference for anyone, the command
does not give the root permissions, the following should do this.

cacls q:\
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: 5175
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

How to Setup and Troubleshoot Wireless
http://www.wifimvp.com
blin
Site Admin
 
Posts: 799
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: 5175
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: 5175
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
Step by step troubleshooting VISTA sharing
http://www.chicagotech.net/netforums/vi ... .php?t=273

Troubleshooting Vista Wireless
http://chicagotech.net/netforums/viewtopic.php?t=300
guest
 
Posts: 3719
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 0 guests