Error from command cacls - The Data is invalid.

Hello There,
I am trying to setup permissions on files under a directory. upon execution it gives error "The data is invalid".
echo y  | cacls "C:/ProgramData/HP/HP BTO Software\datafiles\sec\*" /t /e /g domain\HPOMW:F system:F users:R
Same command runs on other machine without any problem for the same directoy.
Can someone assist me in fixing the problem?
-KAKA-

Hi,
Please recheck the parameters you used in the script, make sure it is correct for the directory you are running on.
I would like to suggest you post in the official scripting guys forum:
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home
Regards,
Yan Li
Cataleya Li
TechNet Community Support

Similar Messages

  • Backup Error : The Data Is Invalid Windows Server 2008 R2

    Hello,
    I have a Problem when I try to make Backups to Partition C in Windows Server 2008 R2:
    Error The Data is Invalid.
    Obs: I can make backups for System Reserved Partition .
    I had the same problem 2 months ago (the data is invalid), Then I folowed this the advice to delete "Framework64\v2.0.50727\Temporary
    ASP.NET Files" and worked for me , from this post: http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/89052b85-9c9b-479f-ab76-a20da3cc4696
    Now I have the same problem and I delete the
    Temporary ASP.NET Files , but it is not working , I received the same error on backup:
    "The backup operation that started at '‎2012‎-‎09‎-‎20T07:13:26.024163900Z' has failed with following error code '2147942413'. Please review the event details for a solution, and then rerun the backup operation once the issue is resolved."
    When I try vssadmin list writers, Everything is ok , "No error" .
    I tried to run :
    net stop "System Event Notification Service"
    net stop "COM+ Event System"
    net stop "Microsoft Software Shadow Copy Provider"
    net stop "Volume Shadow Copy"
    cd /d %windir%\system32
    net stop vss
    net stop swprv
    regsvr32 /s ole32.dll
    regsvr32 /s oleaut32.dll
    regsvr32 /s vss_ps.dll
    vssvc /register
    regsvr32 /s /i swprv.dll
    regsvr32 /s /i eventcls.dll
    regsvr32 /s es.dll
    regsvr32 /s stdprov.dll
    regsvr32 /s vssui.dll
    regsvr32 /s msxml3.dll
    net start "System Event Notification Service"
    net start "COM+ Event System"
    net start "Microsoft Software Shadow Copy Provider"
    net start "Volume Shadow Copy"
    But is not Working
    Any Advice ?
    Thank's

    Hello Lucian,
    the issue may be caused by an invalid entry inside the following registry sub tree.
    HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
    Please open the registry editor with regedit.
    Expand and local to the subtree, check if there is an entry that has a ".bak" value appended. If so, this may be cause the failure when trying to resolve the SID of the writer.
    Please backup the registry key first, and then delete that entry with the extra ".bak" and reboot the server then test the backup
    Run the command "vssadmin list writers" and make sure all the writers are stable with no errors
    Please look for errors in application event logs after you initiate backup on the server
    Sincerely, Asifkhan -- Please mark my post helpful if it was really helpful to you.

  • AGPM Error The data is invalid

    I'm running into an intermittant error when using the AGPM v4 plugin with GPMC.  Occasionally when I go to deploy a GPO that is pushing an application to a system, I receive an error like this:
    Deploy GPO: FlagstaffAZ-B SBSC App Inst - Adobe Flash 10.1 test DFS...Failed
    The overall error was: The data is invalid. (Exception from HRESULT: 0x8007000D)
     Additional details follow.
    [GPMC Error] The task cannot be completed. The application deployment script (.aas file) for [\\hr.local.ad\flagstaffaz-b sbsc\Apps\GPO\Adobe\fl10.1\install_flash_player_10_plugin.msi] cannot be regenerated.
    The following error occurred:
    The filename, directory name, or volume label syntax is incorrect.
    [GPMC Error] The task cannot be completed. The application deployment script (.aas file) for [\\hr.local.ad\flagstaffaz-b sbsc\Apps\GPO\Adobe\sw11.5.7.609\sw_lic_full_installer.msi] cannot be regenerated.
    The following error occurred:
    The filename, directory name, or volume label syntax is incorrect.
    [GPMC Error] The task cannot be completed. The application deployment script (.aas file) for [\\hr.local.ad\flagstaffaz-b sbsc\Apps\GPO\Adobe\fl10.1\install_flash_player_10_active_x.msi] cannot be regenerated.
    The following error occurred:
    The filename, directory name, or volume label syntax is incorrect.
    1 actions failed.
    From the AGPM server I can see the .msi files without issue using both the system account and the AGPM service account.  I've added quotes around the UNC path without success as well.
    The strange thing is that after I attempt to deploy a GPO like this and receive the above error I can no longer check out the GPO (I receive the same error).  If I delete and create a new GPO with the same config 1/2 the time I will be able to deploy
    the GPO assuming I create it and deploy it within 10 or so minutes otherwise I will receive the same error.
    Has anyone run into this issue before or have a work around it?

    Hi Florian,
      Here are the step that I took to recreate this issue:
    1.  Start GPMC from Win 7 w/SP1
    2.  Create new Controlled GPO with "Create in archive and production"
    3.  "Check Out" the gpo.
    4.  Edit the checked out gpo and add the MSI package for software distribution (Computer Configuration\Policies\software settings\software installation).
    5.  "Check In" the checked out version of the gpo.
    6.  No issues so far.
    7.  Select Deploy to deploy the gpo and I get this error.
    ********  message starts here *********
    Deploy GPO: Raffi - Test MSI...Failed
    The overall error was: The data is invalid. (Exception from HRESULT: 0x8007000D)
     Additional details follow.
    [GPMC Error] The task cannot be completed. The application deployment script (.aas file) for [\\dwdmadwvp403\ldlogon\AdvanceAgent\DWD Default 042311.msi] cannot be regenerated.
    The following error occurred:
    The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
    1 actions failed.
    ********  message ends here *********
    8.  This same process performed on the AGPM 4.0 server (W2K8 R2) produces the same result.
    9.  I tried this same process on a W2K3 server using AGPM 2.5  and using the same .MSI file and it works just fine.
    It seems that even the checked out version has the problem before you even check it in.  I tried the following:
    1.  Start GPMC from W2K8 R2 w/no SP
    2.  Create new Controlled GPO with "Create in archive and production"
    3.  "Check Out" the gpo.
    4.   Copied the .MSI package to the local drive d:\temp.
    5.  Made sure the AGPM service account also has Full Control to d:\temp.
    6.  Edit the checked out gpo and add the MSI package for software distribution (Computer Configuration\Policies\software settings\software installation).
    7.  Before checking in the GPO I tried to generate an HTML report just to see what happens (right click on checked out gpo\Settings\HTML Report) and I get this error:
    ******* message starts here ******
    Failed to generate a HTML GPO settings report.
    The following error occurred:
    An error occurred during a call to extension function 'GetCultureName'. See InnerException for a complete description of the error.
    System.Xml.Xsl.XslTransformException (80131942)
    ******* message ends here ******
    After you click OK on the error message the report comes up but you don't see your software settings information.
    Same error even after I check it in and try to generate the HTML report.
    Any advice is appreciated,
    Raffi

  • Error 8 while loading the data from the souce system

    Hi Gurus
    Every day we are loading some data from one of our souce systems through process chain
    But today all the loads failed complaining about error 8 while extacting the data
    connection to source system is fine
    we have the problem while loading master data from the same source system
    any solution?
    Thanks in advance

    Hi,
    Check with basis team regarding any patches applied in source system or not ? If yes then replicate all data sources and activate again.
    hope it helps...
    regards,
    Raju

  • ORA-22288: file or LOB operation FILEOPEN failed (The data is invalid)

    Dear All,
    I am trying to insert a image file (gif) to one of my field.
    1. Here is my table structure and trying to insert gif image file to PIC file.
    SQL> desc cis2.david_pic
    Name Null? Type
    ID VARCHAR2(5)
    PIC BLOB
    2. I using sql command to create directory and the path is pointing where the DB
    server was installed.
    SQL> create or replace directory MY_FILES as '\\hkqaa-db1\TEXT_IMPORT';
    3. Written a script to insert empty blob first and than trying to use the dbms_lob.fileopen
    to upload the gif file.
    SQL> declare
    2 l_blob blob;
    3 l_bfile bfile;
    4 begin
    5 insert into cis2.david_pic values ( '1', empty_blob())
    6 returning pic into l_blob;
    7 l_bfile := bfilename('MY_FILES', 'bess_signature.gif');
    8 dbms_lob.fileopen(l_bfile);
    9 dbms_lob.loadfromfile(l_blob, l_bfile, dbms_lob.getlength(l_bfile));
    10 dbms_lob.fileclose(l_bfile);
    11 end;
    12 /
    4. After I ran my script I got this error message.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The data is invalid.
    ORA-06512: at "SYS.DBMS_LOB", line 475
    ORA-06512: at line 8
    Can any tell me what wrong? is this the way to insert image?
    Thanks

    Know this is an old post: (for sharing sake.)
    Please try avoiding
    1. the 'hyphen' in between the path (hkqaadb1 instead of hkqaa-db1)
    2. Give direct path like 'C:\TEXT_IMPORT' instead of network path.
    create or replace directory MY_FILES as '\\hkqaa-db1\TEXT_IMPORT'; -- Not working.
    create or replace directory MY_FILES as 'C:\hkqaadb1\TEXT_IMPORT'; -- Working.
    and this worked fine.
    Edited by: Arunan.KL on Mar 23, 2011 5:04 PM

  • "The Data is Invalid" When Trying to Approve Pending Computers in WDS

    I'm having an issue were I can't approve pending computers in the WDS console or using WDSUTIL.  I get "The Data is Invalid" whether I use default settings or choose the Name and Approve option.  The server's computer account has full
    permissions on the section of the AD tree (and all descendent objects) where the clients are to be created.
    Pre-staging works fine.
    No entries in the system/application logs appear when this error occurs.
    This is Server 2012 R2.

    I'm having an issue were I can't approve pending computers in the WDS console or using WDSUTIL.  I get "The Data is Invalid" whether I use default settings or choose the Name and Approve option.  The server's computer account has full
    permissions on the section of the AD tree (and all descendent objects) where the clients are to be created.
    Pre-staging works fine.
    No entries in the system/application logs appear when this error occurs.
    This is Server 2012 R2.
    I'm having this same issue. Did you ever hear back or find a solution?

  • HCI error - unable to import the data because the row is duplicated in the master data

    Hi, i am working on HCI while i am mapping the data from ECC to HCI target table i am getting this error :Unable to import the data because the row is duplicated in the master data .Could you please help me how to solve this
    Message was edited by: Mariana Mihaylova

    Moved to Process Integration (PI) & SOA Middleware as per New SAP HANA Cloud Integration (HCI) content category (unfortunately, I can't edit the discussion and add the category as I'm not a moderator in this space). Perhaps Mariana Mihaylova can help.
    Susmitha Yerradhodi please read and follow The SCN Rules of Engagement - in particular, the more details you provide, the better the chances of getting your question answered. (e.g. "HCI" is not a helpful subject)

  • Firefox Version 27 Reporting Services Action Menu Error. An error has occurred with the data fetch.

    Hello, since I've updated to Firefox 27.0.1 on Windows 7, I'm encountering a problem with Reporting Services on a Sharepoint site. It is a Sharepoint 2010 site with SQL Server Reporting Services 2012 Sharepoint Integrated mode. I was previously on Firefox version 26 and didn't encounter this problem.
    When a report is open and you use the Actions link on the Reporting Services toolbar, I receive the following error messages.
    An error has occurred with the data fetch. Please refresh the page and retry.
    I've tried updating to Firefox 28 beta but the same error occurs. I see another user is having the same problem here. http://sharepoint-community.net/forum/topics/reporting-service-and-firefox-27
    Any help would be appreciated. Thanks!
    Ryan

    Rachel, I did perform the Sharepoint file alteration discussed in the other article and it did stop Firefox from producing the error. I've done some testing on some other browsers and have yet to encounter any problems with the fix however I'm hesitant to perform that workaround in a production environment.
    Thanks for looking.
    Ryan

  • I need to be able to print or export some photos from iPhoto with the date the photos were taken.  Need this for a legal case.  Any suggestions?

    I need to be able to print or export some photos from iPhoto with the date the photos were taken.  Need this for a legal case.  Any suggestions?

    The date they were taken us in the EXIF data and is included in the export
    However it is trivial to modify it so I doubt that it would hold water in court
    LN

  • Imported ical from outlook and the date across the top of the weekly view all show the date i imported..

    imported ical from outlook and the date across the top of the weekly view all show the date i imported..

    I'm confused, what does iCal have to do with this, it seems as though you went from Outlook to Entourage, is that correct?

  • From which tables the data is coming in to transaction fields, how to find?

    Hi abapers,
    I am new to abap,
    I have some data in one transaction.
    I want to know that one particular record in a field from which table the data is coming, how do i know?
    How to find that for the transaction is haveing header and item tables?
    How to find that what are tables used for that transaction?
    by presseing f1 on a field we can find table name or structure name along with field name of that particular field?
    If structrure means how to find that field from which table it is coming?
    I  found table name for some of the fields like this by pressing f1,double clicking on structure name?
    but some fields in another transaction does not showing the table names only structure it is showing?
    Moderator Message: Basic Question. Please search.
    Edited by: kishan P on Nov 13, 2010 3:20 PM

    hi ,
    you can  do that by Transation st05
    where you have to 1) activate trace  ,
      2) execute transaction  
    3) deactivate trace after transaction complete 
    4) display trace 
    there you can find all  step by step flow from where data has been retirved and tables also  .
    if you dont no take help from Basis  People  .
    Regards
    Deepak.

  • Error occured while extracting the data from BSIK Table

    Hi Experts,
    I am trying to extract the data from "BSIK"  by using generic extraction by table, I am getting the error "Invalid extractiion Structure template BSIK of Data source XXXXXX", But when i am trying the same by using VIEW, i am able to do it,
    I am getting same problem while extracting the data from other tables like "BSIK, BSAK.........."
    can some one explain me why it is throughing some error when i am doing generic extraction by using Table,
    Thanks,

    Hi,
    Can you check below link:
    Invalid extract structure template ZBW_VW_EKES of DataSource ZBW_SCN_VENDOR
    Hope this answer your question!
    Regards,
    Nilima

  • Error while importing the tables from MySQL using the data source connection

    Hi,
    I am trying to import tables from MySQL into Powerpivot using the data source connection, if use the import using the Query option its working fine but not with the select list of table option.
    when i click on the select list of tables option, i get the below error after selecting all the tables to be imported:
    OLE DB or ODBC error.
    An error occurred while processing table 'XXXXXXXXXX'.
    The current operation was cancelled because another operation in the transaction failed.

    Hi Bharat17an,
    Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
    http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
    If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
    Regards,
    Elvis Long
    TechNet Community Support

  • Error occurred when view the data from physical layer

    Hi ,
    I have created system  DSN like "demo1" for excel file. After that i import the excel file into administration tool.
    after that i want to view the data from physical layer. At that time ,I am getting following error .
    Please resolve this issue.
    Thanks in advance,

    hi ashok,
    u can push data from  psa to ods, for this goto the psa in rsa1>psa>goto that request>rightclick>select " schedule update Immediately ", then data will moved from psa to ods.
                                                 or
    In ods > delete the failed request>goto the processing tab-->select 3rd option   " psa and then subsequentially to data targets ", --> schedule the infopackage.
    bye
    sunil

  • Error encountered while collecting the data from JMS topic bus

    Iam encountering a problem while collecting the data from JMS topic bus and pushing the data to BAM.On the DesignStudio window, after I click on “update” button in the plan window to run the plan I get the following exception messages:
    IMessageSourceReceiver->messageReceive:
    javax.naming.CommunicationException: Connection refused: connect
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at
    iteration.enterpriselink.sources.JMSConsumer.start(JMSConsumer.java:85)
         at
    iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.jmsConsumerS
    tart(JMSMessageSourceReceiverImpl.java:1001)
         at
    iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.messageRecei
    ve(JMSMessageSourceReceiverImpl.java:326)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at
    java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:426)
         at java.net.Socket.connect(Socket.java:376)
         at java.net.Socket.<init>(Socket.java:291)
         at java.net.Socket.<init>(Socket.java:147)
         at
    com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnecti
    on.java:682)
         at
    oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSoc
    ketRmiTransport.java:58)
         at
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java
    :78)
         at
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTr
    ansport.java:68)
         at
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.ja
    va:646)
         at
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientCon
    nection.java:190)
         at
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.jav
    a:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 5 more
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3A]
    Error during Message Receive operation.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3B]

    The error msg says that your BAM server cannot connect to your JMS provider. Make sure your configs are all ok, in EL DesignStudio, BAMArchitect EMSdefinition, etc. You can refer to the samples and technotes and tutorials to understand these details. If you are following the steps in the technote etc. pl verify your oc4j container is running, and oc4j version and 'jndi path' is ok. Give the doc name, pg number and step where you are getting this error.

Maybe you are looking for