Solved

How to remove exclusion group

Posted on 2016-08-05
10
41 Views
Last Modified: 2016-08-10
Hi,

I have created exclusion groups using

caspol.exe -m -ag 1 -url "file:////\\computername\sharename\*" FullTrust -exclusive on

Now I am seeing duplicate entries,, my question is How I can remove the duplicate exclusion group

Thanks

F.
0
Comment
Question by:toronto2456
  • 6
  • 4
10 Comments
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41744257
Did you do this for using both the 32bit and 64bit caspol?

Link:  https://msdn.microsoft.com/en-us/library/cb6t8dtz(v=vs.110).aspx

Dan
0
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41744268
0
 

Author Comment

by:toronto2456
ID: 41744347
Yes, Actually site was working fine after running this command to trust the remote share.It wasgiving me the error message before.

But after that I have run the command again , and it starts giving me error messages   (  More than one exclusive group is not allowed ).

When I list the groups, I can see the double entries, Now I am trying to figure out the syntaxt to remove the duplicate entry ? I don't want to run this command without knowing

Thanks
0
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41744366
Link:  https://msdn.microsoft.com/en-us/library/4z8tf9wx(v=vs.100).aspx

Syntax is:  caspol [-enterprise|-machine|-user] –remgroup {label|name}

For Example:  caspol –remgroup My_Group

Link:  https://forums.iis.net/t/1161517.aspx?More+than+one+exclusive+group+is+not+allowed+error

Dan
0
 

Author Comment

by:toronto2456
ID: 41744395
Hi dan,

(((((     I don't know why but as if there is no one who has been good on IIS except you. You should write a book about IIS. There are lots info about simple stuff such as creating web site etc, but not detailed information about the real application in real production environment. and Microsoft articles, they are not written in a simple way. this is my last project on IIS :) I won't touch it again ))))))

when I list my groups,I have few same entry such as: ( the code sits in www folder )

   1.15.  Url - file:////\\torontodata\www$\TRI\www\*: FullTrust (Exclusive)
   1.16.  Url - file:////\\torontodata\www$\TRI\www\*: FullTrust (Exclusive)
   1.17.  Url - file:////\\torontodata\www$\TRI\www\*: FullTrust (Exclusive)

I think it should be like this : caspol –remgroup 1.15 and caspol –remgroup 1.16 so that there should be only 1.17 left.

Interesting I saw this site during my search on the net , but I didn't notice this command,

F.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:toronto2456
ID: 41744417
caspol –remgroup 1.15  didn't work for me
0
 

Author Comment

by:toronto2456
ID: 41744428
I tried  ( caspol - m –remgroup 1.15 ) too
0
 
LVL 26

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 41745622
You're running the commands in a console with "Run as Admin", right?

Have you tried both the 32bit & the 64bit caspol?

Dan
0
 

Author Comment

by:toronto2456
ID: 41750620
Yes, Dan. Thanks.Now it starts working with in reason.

I don't get this IIS.
0
 

Author Comment

by:toronto2456
ID: 41750630
could you also look at my new post ;;;
-------------------------------------------------------------------------------------------------------------------------------------
I have an Front Tier and App Tier in one web application set up. When I look at the Web.Config in the Front End, I don't see any pointer to App Tier.but when I stop the App tier,Application stops working. So It talks to AppTier.

How can i find out where this pointer is defined in Front End

Thanks

F.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now