Psexec shows Access denied when i execute a .exe file on a remote machine

Hi All,
I am using Psexec application to run exe on multiple remote machines in the domain. When i run the the .EXE i get the error message saying access is denied.
I am running this script against agents in a list.
Below is the script i am running in the batch:
"C:\Windows\system32\PsExec.exe" @C:\Test.txt cmd
1. I am first connecting to the cmd of the remote computer and it connects successfully.
2. When i enter the .exe file location on the command prompt (which is also in a shared drive but in the same domain).
3. I ran the batch file as Run as administrator
4. I am itself a member of the Domain admins and Administrators group of the domain.
5. Turned off firewall on both sides.
6. Turned off UAC fully as per the below MS article - http://technet.microsoft.com/en-us/library/cc709691(v=ws.10).aspx
7. Pressed shift and right click so i will get the Run as option and mentioned different domain admins user account and password.
Below is the screenshot for your reference: 
Restated both the machines after doing these changes. But still the same issue.
But still i get access is denied. Can anyone please help.
Gautam.75801

Few days back when i used to run the same task in this Access is denied mode its self. My destination server used to give a Audit failure event log as below.
Now a days this event log does not come.
Can this help for analysis.
Subject:
Security ID:
 Domain name\My username
Account Name:
 Gautamr
Account Domain:
My Domain
Logon ID:
 0x234992
Object:
Object Server:
Security
Object Type:
 File
Object Name:
 C:\Windows\System32\eventvwr.msc
Handle ID:
 0x0
Process Information:
Process ID:
 0x17e0
Process Name:
 C:\Windows\System32\mmc.exe
Access Request Information:
Transaction ID:
{00000000-0000-0000-0000-000000000000}
Accesses:
 READ_CONTROL
SYNCHRONIZE
WriteData (or AddFile)
AppendData (or AddSubdirectory or CreatePipeInstance)
WriteEA
ReadAttributes
WriteAttributes
Access Reasons:
READ_CONTROL:
Granted by
D:(A;;0x1200a9;;;BA)
SYNCHRONIZE:
 Granted by
D:(A;;0x1200a9;;;BA)
WriteData (or AddFile):
Not granted
AppendData (or AddSubdirectory or CreatePipeInstance):
Not granted
WriteEA:
 Not granted
ReadAttributes:
Granted by ACE on parent folder
D:(A;;0x1301bf;;;BA)
WriteAttributes:
Not granted
Access Mask:
 0x120196
Privileges Used for Access Check:
Restricted SID Count:
0
Gautam.75801

Similar Messages

  • Get "Access Denied" when click open a PDF file

    Hi Friends,
    Get "Access Denied" when click open a PDF file linked from SharePoint 2013 page.
    What are the route causes any one is remove the permissions are stopped the inheritance permissions of the library.
    Can anyone face the same issue please help me.
    Thanks,
    Tiru
    tirupal

    Hi,
    If you are able to open the same document earlier,then  anonymous access enabled on your doc library then.
    If you are facing this problem in first time,then you do not have required permission (may be custom permission level has been set ) on it.
    Murugesa Pandian.,MCTS|App.Development|Configure

  • Access Denied when trying to open a file that is encrypted on network share with EFS

    I just recently enabled EFS on the default domain policy and created a new network share, encrypted a file and added myself to that file and tried to open the file from my workstation.  I then receive an error "Access denied", I also tried
    to create a file and encrypt it on that same share and get an error "The requested operation cannot be completed.  The computer must be trusted for delegation and the current user account must be configured to allow delegation."  
    My steps.
    1. Enable group policy for EFS, removed the expired certificate that was already there and Created a new Data recovery agent.
    2. Created a network share, created a test file, enabled encryption on the file 
    3. certmgr.msc, personal and requested a new certificate, Basic EFS
    4. On the network share and properties of file, advanced, details and added the user
    5. from the workstation tried to access the file, Access Denied.  I can create any file I won't just can't add attributes to encrypt the file or open an encrypted file
    Now if I go to the server where the CA is located which is also the AD server and create share and run the same process it works as expected.  I'm guessing I have to export the cert from the CA server as a pfx and import that to both the server that
    has the network share and the workstation but that still doesn't seem to work.  Maybe I don't understand how EFS works and this is not possible?  Any suggestions would be appreciated.

    You are correct in not understanding how EFS works.
    When you connect to an encrypted file via a network share, the encryption/decryption takes place *on* the server. To enable over the network access, the server's computer account must be trusted for delegation.
    The server actually impersonates the user and creates a user profile on the server (containing the defined EFS certificate and private key). The important thing to remember is that the files is transmitted in clear text from the server to the client.
    See http://blogs.technet.com/b/instan/archive/2010/08/11/remote-efs-decryption-and-trusted-for-delegation-requirements.aspx
    Brian

  • Access denied when i run ./runInstaller file for installing beehive

    Hi every one i am new to beehive
    i have just copied beehive setup folder from my media server on oracle vm machine while logged on with oracle user.
    when i execute the ./runInstaller file it return message access denied i have set the file permission too.
    permissions are
    owner read, write, execute
    group read , execute
    others read, execute
    plzz help me out so that i start beehive installation
    Error:
    ./runInstaller: line 116: /software/V16494-01/install/runInstaller: Permission denied
    while when i open file $ vi runInstaller
    the line no 116 =
    $CMDDIR/install/runInstaller SHOW_CUSTOM_TREE_PAGE=TRUE SHOW_ROOTSH_CONFIRMATION=FALSE $*
    regards

    Most likely, some other permissions were changed when you did the copy.
    Did you set the permissions to 700, or 755 on the runInstaller binary in the install/ directory, pointed to in your error message (this binary is called from the runInstaller script)? This is probably the reason for this error message.
    However, there are also other scripts and files that need to have their permissions set correctly for the install to succeed, so check your original directory and make sure the files in the copied directory have the same permissions set.
    A faster way is probably to make sure you use the -p flag (to preserve attributes) to cp and copy it all again.

  • Access denied when trying to edit conf file in DW

    I want to connect Dreamweaver to Mysql, but keep gett an error saying I can't connect to mysql_pconnect.  I'm trying to edit the connection_php_mysql file but when I try to save changes I keep getting access denied.  How can I get the program to accept the change?

    Hi me148me,
    Can you check out the following post and see if it helps? http://forums.adobe.com/thread/725471
    Thanks,
    Preran

  • Design Manager : Access Denied when renaming folder or adding files

    Good day my apologies if this question has been answered elsewhere .
    I have a SharePoint Online subscription. I am trying to upload my design files to the master page folder on the SharePoint site, but I keep on getting access denied errors. I have managed to map a drive to my masterpage folder via explorer, and I am able
    to create a folder, but I cannot rename the folder or copy my design files.
    I am not logged into my server using the office365 admin account, but I have mapped the drive with the credential, I have also added the admin account as site owner.
    Any ideas where I could look for the problem will be appreciated.
    regards

    You can try -
    Remove currently mapped drive
    Make sure that you're authenticated to Office 365.  In Internet Explorer,
    Sign in to the SharePoint Online site by using your Office 365 account credentials, and make sure that you click to select the Keep me signed in check box.
    Make sure that the SharePoint Online URLs have been added to your Trusted sites zone in Internet Explorer.
    And re-Mapped SharePoint Library - Please follow this Microsoft article -
    How to configure and to troubleshoot mapped network drives that connect to SharePoint Online sites in Office 365
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Access Denied when access to File System Repository

    Hi,
      Our SAP Portal install in Windows 2003, and access to a unix's file system that created from File System Repository of Portal. When I access it in KM content, SAP Portal return the following message:
    System Error
    An exception occurred during the program execution. Below you will find technical information pertaining to this exception that you might want to forward to your system administrator.
    Exception Class: class com.sapportals.wcm.repository...
    Exception Message: Access denied
    If I double-click any file,
    IE return 403: The requested operation is forbidden for this resource.
    Please help me to fix this problem?
    PS: The unix's file system mode is 777.
        The permission of folder in Portal File System Repository is everyone full control.
    Message was edited by: Jeff Lien
    Message was edited by: Jeff Lien

    Hi,
    to my knowledege, this combination is not supported. You can integrated Windows-File-Shares in a Unix-Portal: http://help.sap.com/saphelp_nw04/helpdata/en/ed/b334ea02a2704388d1d2fc3e4298ad/frameset.htm but not the other way round
    Kind reagrds
    karin

  • Photoshop cs4 access denied when trying to install from disc in Windows 7 64bit.

    Photoshop cs4 access denied when trying to install from disc in Windows 7 64bit. I tried it in
    safe mode and it starts to install but get an error there as well.
    What do I do?

    So when you put the disk in it won't run correctly? When the disk is inserted you should have a window pop up with 2 options. 1 to install and the other to see what is on the disk. Choose to explore or open the disk. Go to the CS4 folder where the photoshop .exe file is (that will run the setup), right click on the .exe file and choose run as Admin and it should start. See if it will install. If not then read below.
    I am not sure how far you got in the install before so chances are you will have to run the CS4 cleanup utility. 2 levels to run at but don't use 1 or 2 just type in the number 3.
    http://www.adobe.com/support/contact/cs4clean.html
    You may need to run the windows installer cleanup utility too
    http://support.microsoft.com/kb/290301
    Before you try to reinstall the software ensure that adobe reader is not installed. If it is remove it. It has caused issues in the past with vista and CS4 installs.
    Also turn off windows Defender and any anti-virus software. You can keep UAC on in Windows 7.
    During the CS4 install at 90 percent it will almost stop and may take 5 to 10 mins to finish. This is normal. What a pain huh......
    After install is finished, reboot
    After reboot, go to the CS4 64 bit or 32 bit icon (depends on 32 or 64 bit Windows 7) in start area, right click on CS4 64 bit (if you have windows 7 64 bit) and choose properties, compatibility tab and then check run as Admin at the bottom area. Hit apply, ok to close out.
    Now start CS4 and run the updater.

  • Access Denied when Student Uploads Course in Drop Box

    All of a sudden we are getting access denied when a student tries to upload a course. We have not changed anything on our end. The tabs on the course page are set to drop box for student. The credentials sent over are:
    StudentBody@urn:mace:itunesu.com:sites:school.edu;Student@urn:mace:itunesu.com:s ites:school.edu:SPC16001002134
    The SPC16001002134 is the course identifier.
    Access to the course for student is set to download:
    Access Level: Download
    Credential Definition: Student@urn:mace:itunesu.com:sites:school.edu:${IDENTIFIER}
    Group Access Label: Student

    Hi,
    I need a bit more information. Can you please post your site's domain so that I can inspect it? It appears you have replaced this with school.edu.
    Thanks.

  • ORA-31050: Access denied when try to register XMLSchema

    Dear All
    I got ORA-31050: Access denied
    when tried to run to load XML schema with DBMS_XMLSCHEMA.registerSchema
    Can you advise me what privilege should I grant to the user?
    I tried grant XDBADMIN role but it does nto help
    Thank you in advance
    Artem Rodin

    Dear Mark!
    I realy need you help!
    I can successfully register schema which has complexType declaration as root element, like
    <schema targetNamespace="http://www.oracle.com/PO.xsd"
         xmlns:po="http://www.oracle.com/PO.xsd"
         xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="PurchaseOrderType">
         <sequence>
              <element name="PONum" type="decimal"/>
              <element name="Company">
                   <simpleType>
                        <restriction base="string">
                             <maxLength value="100"/>
                        </restriction>
                   </simpleType>
              </element>
              <element name="Item" maxOccurs="1000">
                   <complexType>
                        <sequence>
                             <element name="Part">
                                  <simpleType>
                                       <restriction base="string">
                                            <maxLength value="1000"/>
                                       </restriction>
                                  </simpleType>
                             </element>
                             <element name="Price" type="float"/>
                        </sequence>
                   </complexType>
              </element>
         </sequence>
    </complexType>
    <!--element name="PurchaseOrder" type="po:PurchaseOrderType"/-->
    </schema>
    But I failed if in the root there is element like
    <schema targetNamespace="http://www.oracle.com/PO.xsd"
         xmlns:po="http://www.oracle.com/PO.xsd"
         xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="PurchaseOrderType">
         <sequence>
              <element name="PONum" type="decimal"/>
              <element name="Company">
                   <simpleType>
                        <restriction base="string">
                             <maxLength value="100"/>
                        </restriction>
                   </simpleType>
              </element>
              <element name="Item" maxOccurs="1000">
                   <complexType>
                        <sequence>
                             <element name="Part">
                                  <simpleType>
                                       <restriction base="string">
                                            <maxLength value="1000"/>
                                       </restriction>
                                  </simpleType>
                             </element>
                             <element name="Price" type="float"/>
                        </sequence>
                   </complexType>
              </element>
         </sequence>
    </complexType>
    <element name="PurchaseOrder" type="po:PurchaseOrderType"/>
    </schema>
    I got the following error stack
    ORA-01031: insufficient privileges
    ORA-06512: at “XDB.DBMS_XDBZ0”, line 218
    ORA-06512: at “XDB.DBMS_XDBZ”, line 6
    ORA-06512: at line 1
    ORA-06512: at “XDB.DBMS_XMLSCHEMA_INT”, line 0
    ORA-06512: at “XDB.DBMS_XMLSCHEMA”, line 26
    ORA-06512: at “XDB.DBMS_XMLSCHEMA”, line 131
    ORA-06512: at “DVLP.PRIME_BRIDGE”, line 73
    ORA-06512: at line 7
    I guess you can reproduce this in-house,
    It's not my schema it is taken from
    XML Database Developer’s Guide - Oracle XML DB
    Structured Mapping of XMLType 5-3
    Example 5–1 XML Schema Definition, po.xsd
    As far as I understand in the second case Oracle tries to create a table to store XML content and fails to do it.
    User that I used has DBA role. What other privileges should I grant to the user? And/or I should grant some additional privileges to "XDB" user?
    This issue has become critical for me, so I am highly appreciate any assistance
    Many thanks in advance
    Best regards
    Artem Rodin

  • I receive "Database access denied" when trying to add component 4543BD

    I receive "Database access denied" when trying to add component 4543BD to my schematic. This component was added from a previous version. I'm using Multisim version 12.0.0  Student edition.
    Solved!
    Go to Solution.

    Hi Diarra,
    I checked my database and  the  4543 is not in the Student Edition. If you opened a schematic that was created in a higher version such as the Educaiton Edition and copied the part to your database, when you place this part you will get the access denied message. 
    Attached is a schematic with the part, you can open it and build you circuit around it.
    Tien P.
    National Instruments
    Attachments:
    4543.ms12 ‏62 KB

  • I get access denied when I try to search on your site.

    Please help me. I get access denied when I try to search on your site. I have emptied cache. I tried Safe Mode the way you suggested. Still access denied (though my printer then would not respond to me and I spent $85 to have my It consultant fix that problem.

    Hi,
    You've opened 3 different threads for the same issue. Please only open '''ONE''' thread per support request.
    Continue here [https://support.mozilla.org/en-US/questions/995124?esab=a&s=&r=3&as=s /questions/995124]
    Closing thread

  • I get access denied when I add a page to a workset in EP 7

    I get access denied when I add a page to a workset in EP 7.
    Please advice.

    Hello,
    This seems to be a permission issue. Assign the user id proper permission, say system_admin_role and then try.
    Regards
    Deb

  • I want to uninstall and then reinstall Firefox but I can't uninstall it. Nothing happens when I click remove in program access and defaults and the helper.exe file in the firefox uninstall dir doesn't do anything either.

    I want to uninstall and then reinstall Firefox but I can't uninstall it. Nothing happens when I click remove in program access and defaults and the helper.exe file in the firefox uninstall dir doesn't do anything either.

    "program access and defaults" is not the place to remove programs in Windows. You need to go to the control panel and click on Add and Remove programs. For instructions on how to uninstall Firefox, see [[Uninstalling Firefox]]

  • When i executed this class file  i am getting runtime errors

    when i executed this class file i am getting runtime errors
    code is :
    import java.awt.event.*;
    import java.awt.*;
    public class Test extends Frame
    java.awt.Window w;
         TextField t;
         Test()
         t=new TextField(20);
         add(t);
         addWindowListener(new WindowAdapter()
                             public void windowDeactivated(WindowEvent ev)                               {                    
                                  w.toFront();          
                                  System.out.println("hai");
         setSize(300,300);
         setVisible(true);
    public static void main(String args[])
    Test t =new Test();
    after executing that class i am getting this errors
    Exception occurred during event dispatching:
    java.lang.NullPointerException:
    at WindowEventDemo.windowActivated(WindowEventDemo.java:76)
    at java.awt.Window.processWindowEvent(Window.java:612)
    at java.awt.Window.processEvent(Window.java:576)
    at java.awt.Component.dispatchEventImpl(Compiled Code)
    at java.awt.Container.dispatchEventImpl(Compiled Code)
    at java.awt.Window.dispatchEventImpl(Compiled Code)
    at java.awt.Component.dispatchEvent(Compiled Code)
    at java.awt.EventQueue.dispatchEvent(Compiled Code)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
    if anybody know how to pls help me

    You are using w that you have not done anything with.
    Add following code to the begining of your cinstructor:
    w = this;
    Then it should work.
    //Anders ;-D

Maybe you are looking for