How to setup user's rights to modify Windows Firewall Rules?

I would like to have an account in my system that doesn't have any other administrative privileges besides rights to modify the Windows Firewall rules by means of Firewall API. How to setup a minimal set of rights for this account to do the task?
Right now what I see is that if I try to call INetFwRule::put_RemoteAddresses from an account without administrative privileges, the call fails with access denied. There is no means to find out access to what is needed. The call fails even if the process
is run under high integrity level.
I tried to setup global security audit, but there were no relevant events logged.
I tried to monitor the process with procmon, there were no any access denied events logged.
I tried to give the full access for this account to the correspondent registry keys. It didn't help.
I stepped firewallapi.dll in a debugger and found out that what fails is an RPC call to some COM interface proxy. I assumed that probably it is a remote call to some HNetCfg.FwRule method. I tried to add the user account to the HNetCfg.FwRule launch and
access permission ACLs in the DCOM configuration utility. It didn't help either.
Dear Microsoft, why did you do such a simple thing as settings user rights so difficult? Can you reveal the secret what rights and privileges I have to set?
Thanks in advance.
Dei nostra Matrix est.

Here is what I found so far.
The firewall service calls RpcServerRegisterAuthInfo to setup RPC security from FwRpcAPIsRegisterAuthInfo. It happens during registration of RPC interfaces in FwRpcAPIsInterfaceCreate. FwRpcAPIsInterfaceCreate is called from FwRpcAPIsInitialize. And FwRpcAPIsInitialize
is used from FwServiceAsyncStartupRoutine.
After calling FwRpcAPIsRegisterAuthInfo function FwRpcAPIsInterfaceCreate calls ConvertStringSecurityDescriptorToSecurityDescriptor, which converts a textual description of a security descriptor to some binary form.
So my guess is that access rights are hard coded inside mpssvc.dll and what I have to do is just to find the textual representation of the correspondent descriptor.
I found 8 descriptors inside mpssvc.dll:
O:SYG:SYD:(A;;RCWD;;;BA)(A;;RCWD;;;NO)
O:SYG:SYD:(A;;RCWD;;;S-1-5-80-2940520708-3855866260-481812779-327648279-1710889582)(A;;RCWD;;;S-1-5-80-3526382388-830156861-4107432654-3665941875-1028450966)
O:SYG:SYD:(A;;RCWD;;;S-1-5-80-62724632-2456781206-3863850748-1496050881-1042387526)
O:SYG:SYD:(A;;RCWD;;;S-1-5-80-979556362-403687129-3954533659-2335141334-1547273080)
O:SYG:SYD:(A;;RC;;;BA)(A;;RC;;;NO)(A;;RCWD;;;CY)
O:SYG:SYD:(A;;RCWD;;;BA)(A;;RCWD;;;NO)(A;;RC;;;CY)
O:SYG:SYD:(A;;RCWD;;;BA)(A;;RCWD;;;NO)(A;;RC;;;AU)
O:SYG:SYD:(A;;RC;;;AU)
I don't know yet which one corresponds to changing a firewall rule.
Dei nostra Matrix est.

Similar Messages

  • How do I simulate a right-click in Windows when connected with Remote Desktop 8.0 for Mac OS X?

    When connecting to a remote Windows 7 OS from Mac OS X 10.8.5 with Microsoft Remote Desktop 8.0.24091, I'm not able to simulate a right-click with the Apple magic mouse.  
    On an older version Microsoft Remote Desktop Client version 2.1.1, I can hold down shift+ctl on the Mac and click the magic mouse to simulate a right-click in Windows.  With this new version RDP 8.0, I can't find any way to simulate a right-click,
    other than to select "Swap mouse buttons" under settings, and then every click is a right-click and then I'm no longer able to left-click (which is even worse).  I've tried several key combinations and nothing seems to work.  Am I missing
    something simple here with the new RDP 8.0 application, or is the right-click simulation not (yet) functional?  
    Any help is greatly appreciated, thanks!

    In order to make use of the right-click inside an open session you have three options:
    Standard PC two button USB mouse
    Apple Magic Mouse: To enable right-click, clickSystem Preferences in the dock, click Mouse, and then enable Secondary click.
    Apple Magic Trackpad or MacBook Trackpad: To enable right-click, click System Preferences in the dock, click Mouse, and then enable Secondary click.
    Extracted from "Remote desktop Client on Mac: FAQ"
    http://technet.microsoft.com/en-us/library/dn473006.aspx

  • How to setup users so they can see their orders only  not all BP orders.

    I setup a contact on B1 and assigned a user name and password for webtools, now  when this user logs on he can see all the sales orders for that BP. How can we setup so the contact will only view his/her sales order or any other releated data

    Hi Bryce,
    That only works with sales orders but what if we do not want them to see all available shipto address except default shipto address for that logon.
    Tkx

  • How to setup User-level LaunchDaemons and scp/rsync

    We are trying to rsync/scp scripts from a Xserve 10.6 (just installed) to an Xserve 10.4, both of which which run scientific models, and transfer output files between systems automatically. These scripts must start automatically on reboot. This is easily done via cron jobs on our older Xserves.
    Taking the plunge into converting cron jobs to launchd jobs has, for the most part, gone relatively smoothly. However, I am unable to locate instructions/examples on how to do the following:
    While it is possible to set up a LaunchDaemon *.plist on a System(root) level by placing it in /Library/LaunchDaemons, it is unable to do an scp or rsync (without needing the password), because it does not have a root id_dsa.pub installed on the remote Xserve (I really do not want to do that!). An scp/rsync job should be done at the user level.
    According to the man pages, there is no such thing as a ~user/Library/LaunchDaemons, only ~user/Library/LaunchAgents, which if I understand correctly, are only executed when the user logs in.
    So how do I permit user-level scp/rsync operations (easily done in cron) using launchd?

    Thank you for your comment and suggestion. I will give your suggestion a try. However, it seems the question is still open:
    If a user wants to write a program/script that does an scp/rsync that transfers a file from one host to another (assuming the .ssh keys are properly set up), and put it into a launchd process that executes like it would under a cron (i.e., they do not need to be logged in, and it persists after a reboot), how is this accomplished without using the root-level /Library/LaunchDaemon?
    Am I miss-informed that a users LaunchAgents are executed only when the user logs in?
    At least in the scientific arena, using a cron to transfer files is a very regular practice. It would be a major headache if the system administrator had to manually add each users launchd files to /Library/LaunchDaemon

  • How To Setup User Row Level Security In Answers From Values In Table

    I am trying to setup row level security when a user logs into BI Answers. Basically I want the user to create any report that they would like but only see the data that they are associated to being retrieved in the Answer Report results. I have users stored in an Oracle authentication table where they have multiple values for schools that they can view. I have data in my RPD file that contain tables with multiple rows for schools. What I would like is to capture the associated school values for the user logged into BI Answers and place a filter on the data being retrieved in the RPD file to only show rows for the user's associated schools. Can I add a WHERE clause on the Business Model and Mapping layer of the RPD that would retrieve the multiple associated schools in my authentication table and filter/match them (IN clause maybe) to the school values in the RPD data being retrieved?
    Thank you in advance for any information you my have to help me along,
    Kyle

    Turribeach,
    I appologize, I did not use those exact words to search on in the forum. I should have and what I did use didn't turn anything up for my situation.
    Thank you for the link. It helped me find the below link which describes the setup in detail and resolved my issue:
    http://oraclebizint.wordpress.com/2008/06/30/oracle-bi-ee-1013332-row-level-security-and-row-wise-intialized-session-variables/
    What I needed was a row-wise variable/initialization block that stored the multiple school values for my logged in user. I then edited the "Content" tab of the Logical Table Source with a WHERE/IN clause that filtered down the result set based on my variable/initialization block SQL query.
    This solution works great!
    Thanks again!

  • How to Setup User Folders Automatically when the user is being created

     Hi All
    I am setting up a new Windows Server 2012 R2 Standard Edition with Full/GUI install.
    Q.1. Is there a way to create User Folders on Data Drive (D: Drive - OS is installed on C) automatically as I create Users?
    Q.2. Additionally can these folders be assigned appropriate permissions automatically?
    Q.3.What is the best approach If appropirate permissions are not assigned automatically. I have drive D: as a share with Full permissions to all. Is there a better way.
    Thanks
    Respectfully
    Jamal

    Hi,
    Not sure you mean local computers or domain environment. In domain, we can create folder redirection GPO.
    With this policy we can redirect folder to a shared folder or another local drive.
    For your information:
     Configuring Folder Redirection
    http://technet.microsoft.com/library/cc786749.aspx
    Security Recommendations for Folder Redirection
    http://msdn.microsoft.com/en-us/library/cc736916(v=ws.10).aspx
    Hope this helps.

  • How to setup the 'Client Licensing Mode' for Windows server?

    Hello,
    We will install the SBO server:
    OS: Windows Server 2003 Standard Edition
    SBO Clients: 150
    How should we setup the 'Client Licesing Mode' for the windows server?
    If we select the mode "Per server,Number of concurrent connections", how to set the connection number?
    Thanks in advance.
    Don

    Hi..
    you can set License to Particular user using License under Administration and Client will automatically fetch License using License Manager on License Server
    Regards,
    Bhavank

  • How to set user flag for a local windows user account.

    In my C# client I am getting the directory entry of the user in the following way :
    DirectoryEntry userDE = new DirectoryEntry("WinNT://machinename/User12", "MachineName\\Administrator", "Password");
    I want to add a userflag to this user.
    I tried the following :
    userDE.Properties["UserFlags"].Add(65536);
    But the issue is that it is updating the user with new user flag instead of adding it to the userflag.(for example the user already had the flag 'User cannot change Password' and i tried adding 'Password never Expires'.But after the operation the user only
    had the flag 'Password Never Expires')

    chek these link, does it help you
    http://support.microsoft.com/kb/305144/en-us

  • How to setup photo structure after switch from Windows?

    Hi Colleagues,
    Have changed all computers at home from Windows into Mac. As a result have new Air and Pro Retina plus NAS system by Qnap.
    WIth windows was having a regular photo file structure that was stored on NAS. This "library" has approximately 100GB and is manually structured in folders that represent events. So far was downloading pics to Win computer, making some adjustments, cleaning and only then moving them to NAS.
    Now what is the best practice to organize such files with Mac and iPhoto provided that I would like to have access to this database from both MAC's. How to go forward with current taken pics? Where to import them, store, etc?
    Look forward for your advices.
    Adam

    Picasa - you mean the google app and storage?
    Was using it for sharing pics, but it had limited space.
    There is a Picasa photo manager for the Mac - it is from Google but it is not th eonline version (although it integrates to that) - it is local to your mac - You will have to seperately research its abilities and if it will meed your needs
    NAS gave me same options so was not utilizing picasa for a long time.
    OK - but you can not use your NAS for their iPhoto library so people are suggesting alternatives
    Regarding file structure need to explore if I can change it on NAS.
    You can not - a NAS is not a disk drive - it is a headless computer and it has its own file system that can not be changed -
    You either need to change what you want to do and use iPhoto the way it works or change the software you use to a system that will work with your NAS
    Once again  You can not use either iPhoto nor Aperture with their libraries on a NAS
    You could use Aperture in a referenced mode with the original photos on the NAS and all of the edits, changes, etc on your mac
    You can use other programs - Picassa is a potential - and a Digital Asset Manager (DAM) discussion site will have others - there are soem that work fine with a NAS
    LN

  • How to setup SMBX client for work with Windows 2003 server's shared folders?

    Dear community,
    Some folders within shared folder on Windows 2003 Server is not visible for MacOS 10.8 client.
    How should I set up SMBX? Is there manual?
    I know, there is simple solution to type exact pathname (with those invisible folders) in connection dialog, but it is not usefull for me.
    Thank you  in advance

    Hi,
    Please remove the 3 non-exists DC from environment using the metadata clean-up process using script from below article. then manually delete the records from DNS management console as given below.
    https://gallery.technet.microsoft.com/scriptcenter/d31f091f-2642-4ede-9f97-0e1cc4d577f3
    Manual steps to clear the records.
    Dnsmgmt.msc [Dns Management]
    A.Expand the forward lookup zones\_msdcs folder
    i. Make sure only the actual domain controllers are listed, delete wrong Alias recordsremove wrong name server records
    ii. Select the container [forward lookup zones\_msdcs.domain.com\dc\_sites_\sitename\_tcp] > delete incorrect _ldap and _kerberos records are listed.
    iii. Select the container [forward lookup zones\_msdcs.domain.com\dc\_tcp] and delete incorrect _ldap and _kerberos records
    iv. Expand the [forward lookup zones\_msdcs.domain.com\domains\guid\_tcp] and delete incorrect _ldap entries
    v. Select [forward lookup zones\_msdcs.domain.com\gc] – delete incorrect HostA records
    vi. Expand the [forward lookup zones\_msdcs.domain.com\gc\_sites\sitename\_tcp] – delete incorrect _ldap entries
    vii.Select the [forward lookup zones\_msdcs.domain.com\gc\_tcp] – delete incorrect _ldap entries
    viii. Select the [forward lookup zones\_msdcs.domain.com\pdc\_tcp] – delete incorrect _ldap entries
    B.Expand the forward lookup zones\domain.com folder
    i.Delete Host(A) records of dc’s which are non-existant.
    ii.Correct the NameServer (NS) records
    iii. Follow steps similar to ’ A ii ‘ >> ‘ A viii’
    · Dssite.msc [Sites and Services]
    A.Expand the [Sites\Sitename\Servers] – delete incorrect server’s
    B.Delete incorrect subnet configurations [Sites\Subnets]
    C.Delete incorrect site links [Sites\IP]
    · Make sure the domain controllers are pointing to the correct dns servers in tcp\ip settings.
    · Force replication – ‘repadmin /syncall’

  • OpenSSH: How to setup non-interactive SSH/SFTP/SCP

    Hi,
    Anyone has any idea how to setup/configure OpenSSH on Solaris (Client) & Windows (Server) for sftp/scp transfer in non-interactive host-based authentication.
    I need to setup this for secure file transfer from a solaris client to a windows server without having to enter a password. My external script will run in crontab to tap on sftp/scp for file transfer.
    Pls advise. thanks.

    I'd go for key-based authentication and simply don't provide a password for the key. You're on your own about how to implement this on Windows, so far I wasn't even aware Windows had a SSH service.

  • SYBASE user rights to modify datatbase content

    Hi, I'm new with ZCM11.
    My need is to update Serial Number and Asset Tag for computers, which has not written these numbers in BIOS memory.
    ZCM Inventory doesn't let to edit them.
    I tried to define triggers or modify any NC_WORKSTATION table content with ODBC but "zenadmin" cannot do it.
    The error is:
    08001(-98)[Sybase][ODBC Driver][SQL Anywhere]Authentication violation
    The only user I found is "zenadmin", but this user has no rights to modify database content.
    How to set proper rights to the user?
    Or there is another user with rights to write/modify?
    Or there is another way to modify these serial or asset tag numbers in ZCM?

    The OEM Licensing of the Sybase Database is the reason for that error.
    The ZCM code contains the licensing details to allow for the connection.
    This is why your ODBC calls are not working.
    DBISQL can be used to update the tables, but i'm not sure of a remote
    way like ODBC without knowing how to get past the license restriction on
    Sybase.
    On 6/27/2011 1:06 PM, mikrosc wrote:
    >
    > Hi, I'm new with ZCM11.
    >
    > My need is to update Serial Number and Asset Tag for computers, which
    > has not written these numbers in BIOS memory.
    > ZCM Inventory doesn't let to edit them.
    >
    > I tried to define triggers or modify any NC_WORKSTATION table content
    > with ODBC but "zenadmin" cannot do it.
    > The error is:
    > 08001(-98)[Sybase][ODBC Driver][SQL Anywhere]Authentication violation
    > The only user I found is "zenadmin", but this user has no rights to
    > modify database content.
    >
    > How to set proper rights to the user?
    > Or there is another user with rights to write/modify?
    >
    > Or there is another way to modify these serial or asset tag numbers in
    > ZCM?
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • How to create the file on a location where user having rights?

    Hi,
    I have requirement, in my application a lot program thatcreating a report in a file and it is written into a user location. Now it specified directly like ( c:\ or d:\......).
    The problem is that the user doesn't have rights to access that directories. What i suggest or feel i want to create that particular reports on a location where the end user having rights.
    Basically in Windows system %userprofiles% having right to do anyting. Suppose the OS installed in C: the %userprofiles% c:\documents and settings\username or D: then D:\Document and settings\username.
    How to achieve this please help me.
    Good help will be appreciated.
    kanish

    Hello,
    The best practice would be to create the file in My Documents for the current connected user to the windows.
    Unfortunately, you did not mention your forms version. In older version like 6.x there is function in d2kwutil library called Read_Registry in win_api_environment section and in latest versions the same function availble in webutil library with client_ name.
    So, you can read the registery for current connected user by using the above mentioned function from the following path of registry.
    My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    There is an entry called Personal. Read the path from that entry at runtime while generating/saving file to the client's location and save the file into that path.
    -Ammad

  • How to disable the Super User menu - (Right click windows icon menu) - Server 2012 R2 - RDS

    Greetings all,
    Can anyone please advise how to remove the Administrator / Super User menu that appears when you right click the Windows Icon (old start button) in Server 2012 R2 - for RDS users. I have searched and been able to disable access to each of these menu items (Control
    Panel, Event Viewer, Run, etc). But I am searching for a way to completely remove the menu. This menu also appears when you use Win-X shortcut.
    Hope someone can help.
    Terry

    Hi Terry,
    You can try following points, might helpful in your case. Go to 
    C:\Users\Default\AppData\Local\Microsoft\Windows 
    there you will see file called WinX 
    Right click this file and copy then go to
    C:\Users\YOUR_USERNAME\AppData\Local\Microsoft\Windows 
    then paste the file into the folder.
    NOTE: replace YOUR_USERNAME with your actual username. 
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How would you setup users to have different versions of Flash Player?

    I am looking to test some setups with different versions of Flash, but wanted to know how to setup one user to have Flash Player Version 6, one with version 7, 8, etc.
    How would I go about doing this?
    Thanks,
    Russ

    Create a new folder named Internet Plug-Ins inside the Library folder of the home folder of some of your user accounts, and move the different versions of the plugin into this folder, one per user account. The copy of the Flash plugin in the main Library folder is accessed when an account doesn't have a copy in its home folder.
    (13732)

Maybe you are looking for

  • EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.

    I'm trying to create a new subscriptions on an existing report and get the following error. An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Get Online Help EXECUTE permission deni

  • PWA issues after Office 2010 SP2 upgrade

    We recently upgraded some client machines that have Project 2010 Professional installed to Project SP2.  Several of these users also use PWA.  After the upgrade, I heard from a few of these users that in PWA, the Workflow Approval buttons were unavai

  • How to create a Separate Servlet application?

    Hi, Till now i have been servlet programs by placing the class files in the following directory path... ie ROOT/WEB-INF/CLASSES... and i access it like this http://localhost:8080/servlet/hello.. My friend also works in my system... so i get confused

  • Can I open a 2nd Browser

    I am new to Mac. On my PC I could have more than one browser open at the same time. Is this possible with my Mac with Safari? Thank you! Laura

  • Cisco Unity Express (NME-CUE) Compatibility for CUCM 9.1.2

    I unable to find latest Compatibility matrix for Cisco Unity Express (NME-CUE) module for integrating with CUCM 9.1.2 The URL:  http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/unity_exp/compatibility/cuecomp.html is updated with CUCM 9.0 only. Req