Can't run batch file in Windows 2008 R2

Trying to run batch file (manually first) with powershell commands.
Powershell commands work fine thru powershell but the batch file will not execute manually.
I am trying to run as administrator.
Is there a permission  or policy I may be missing?
Thanks
Dave
Dave Kozlowski

Hi,
Some bat type command can't run in the powershell environment, you must confirm you have choiced the correct lunch tools.
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Can't run Batch files or Devnev (visual studio) - is not recognized .. command

    Getting the famous error :
    ... is not recognized as an internal or external command`*
    When & Where :
    not sure about the total range of the problem,
    Here I can't run batch files and "devneve.exe"
    sample Batch could be :
    @echo off   
    clr
    'clr' is not recognized ...
    **Here are the keynotes:**
     1. I run it as an admin (cmd)
     2. The Path variable seems to have anything needed, Powershell's path is also there sys32..v1
     3. I'm going into the current directory of devnev.exe ...
     4. ran also "devnev.exe"
     5. I don't have 2 cmd s in a known folder
     6. the autorun registries for command prompt were deleted
     7. the cmd extensions were disabled and re-enabled
     8. Avast IS 9 is running,
     9. The system seems to be fine
     10. all .Net frameworks are installed
     11. for a test jetAudio or ILDasm could be executed from the cmd
    Win 8.1 Pro , CPU i7, VS 2013 upd2

    thanks,
    this was one of the silliest problems I've ever encountered, my bad fault,
    the file is DevEnv not DevNev...!
    but about the clr, don't know from when I added them to my batches, but I'm sure the scripts were working correctly a time ago, maybe by a mistake I changed them, I thought it is the most known command, but I was wrong, there is a long time gap between me
    and DOS.

  • I can't open batch files in windows 8.1

    I am trying to run a batch file in windows 8.1, when i run the batch file runs at first but closes so fast that you can't see its contents, you can't even see if its doing what you tell it to. Since the file does run but closes fast, i thought of adding
    pause. Adding pause did not fix the problem. I am not sure if i have to change my keys on regedit, or i have some kind of malicious software  that needs to be fixed  ( I think i have no malicious software, i  have run security scan many times
    nothing showed up, I had a Trojan horse, Trojan.Gen2, long time ago but the Trojan got quarantined?) I originally had windows 8 but upgraded to windows 8.1. 
    Help Please! I don't Know what to do!!!

    Hi Glogikon,
    "I am trying to run a batch file in windows 8.1, when i run the batch file runs at first but closes so fast that you can't see its contents, you can't even see if its doing what you tell it to."
    According to my experience ,it is a normal symptom .Did the bat file run well before ?
    Have you tried to run the command one by one in the bat file from a command line ?Have you tried to run the other bat files which including a output to have a check ?
    If it is possible ,please post the command of the bat file here .We will make a test for you .
    To check whether the bat run well ,this link may be useful:
    check if command was successfull in a batch file
    http://stackoverflow.com/questions/14691494/check-if-command-was-successfull-in-a-batch-file
    " I think i have no malicious software, i  have run security scan many times nothing showed up,"
    We can try to work with the following official free tool to have a check .It is recommended to run it in a safe mode to improve the quality of the scanning.
    Malicious Software Removal Tool
    http://www.microsoft.com/security/pc-security/malware-removal.aspx
    NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Can I run OAS in 64bit Windows 2008?

    I'm going to install the OAS in our 64bit Windows 2008 for evaluation, however, both the x86 and win64 file cannot be installed.
    The following message is prompted when we attempt to install the win64 version:
    The version of this file is not compatible with the version of Windows you're running.  Check your computer's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
    And the following message is prompted inside a DOS prompt when we attempt to install the x86 version:
    Checking operation system version: must be 5.0, 5.1 or 5.2 .   Actual 6.0    Failed <<<<
    Existing Oracle Universal Installer, log for this session can be found at C:\.......
    We can only install the OAS in a Windows XP workstation, does it mean that we have to use a Windows XP workstation as production server?
    May I know if there has any OAS download for 64bit Windows Server 2008?

    Not exactlly. Maybe it's certified now, but still cannot install.
    According to the update:
    1. Windows 2008 is supported with patchset 10.1.3.4 or higher. Before applying the 10.1.3.4 patchset, customers must first install the base 10.1.3.x products using the following patches:
    . 10.1.3.1.0 SOA requires patch 6712338 (http://updates.oracle.com/download/6712338.html)
    . 10.1.3.2.0 WebCenter requires patch 6971010 (http://updates.oracle.com/download/6971010.html)
    . 10.1.3.x Companion CD requires patch 7129052 (http://updates.oracle.com/download/7129052.html)
    . 10.1.3.x Companion CD ASG Install requires patch 7129469 (http://updates.oracle.com/download/7129469.html)
    . 10.1.3.x Companion CD Failsafe Install requires patch 7191497 (http://updates.oracle.com/download/7191497.html)
    Additional notes for Windows 2008:
    . The patches listed above apply to both 32 and 64 bit versions of Windows 2008.
    . Please review the release notes on http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/install.htm#sthref7 for the 10.1.3.4 patch set for known issues for Windows 2008.
    But....
    1. 10.1.3.4 still not avaialble for direct download, you have to download 10.1.3.x then apply the patch. But the download of 10.1.3.x cannot be installed, how can we apply the patch?
    2. You cannot download the patch without Metalink account (maybe, it's not for evaluation at this moment)
    So, it still have to wait until the full package of 10.1.3.4 or above is available for direct download.

  • How to run a batch file as windows Nt service

    Hi friends
    I want to know how to run a batch file as windows NT service.
    I got some information in the following link
    http://support.microsoft.com/kb/q243486/
    I tried it but i want to know what we need to include in Autoexnt.bat
    And one thing i need Instexnt.exe file. I cannot find tht file.
    Please search tht file and send me tht file or else send the link in which this file is present
    Please give me reply fast.its very urgent.
    Thanks in advance.

    Hi,
    My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
    I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
    I can keep the JAR FIle either in the Oracle Server or in the Application Server.
    The Java program is to convert XML Format FIle to PDF and MS Word format.
    Oracle Version : 10g 2.0.1.0.
    Thanks in advance
    Rizly

  • I have an old file that was made by macromedia flash,but I can't run this file in my Windows 7 64-bit ,while I can run it in Windows XP 32-bit

    I have an old file that was made by macromedia flash,but I can't run this file in my Windows 7 64-bit ,while I can run it in Windows XP 32-bit

    Hi momi macrom,
    Have moved your post to the Flash forum. Experts here are better placed to help you.
    Thanks,
    Preran

  • I Can't Open Batch Files

    I Can't Open Batch Files
    I go to open a batch file and an error message comes up saying "Windows cannot find "C:\Users\User\Desktop\(My Batch File).bat"
    I really have no clue how to fix it.
    For some reason when I go on run and search "cmd" nothing comes up and it says again "Windows cannot find....."
    I only have cmd in my documents now. 
    I'm not sure if this is connected but hopefully someone will know the answer.

    Hi Joshrob,
    Have you installed any software or made an modification to this machine?
    Please take the following steps to have a troubleshoot :
    1.Run the antivirus software to have a full scan of the system.
    2.Open the registry editor and check whether there is a registry key called “DisableCMD” and if it is there , please set its value as “0”.
    3.Check the existence of “cmd.exe” in  this path C:\Windows\System32.If it is there ,run it directly to have a check .If it is not presented ,you may need to copy one from another machine or perform a system restore to recover
    the system to a previous normal point.
    Best regards

  • Unable to run batch files in my EP server

    Hi,
       I'am unable to run batch files(go.bat and configtool.bat) on my EP server.Anbody please give me a solution.
    With Regards
    Pradeep.B

    If your EP Server is on non-windows based environment then you cannot use go.bat & configtool.bat or else you can. If you are trying to execute these on unix based machines then you have to use go.sh & configtool.sh files.
    Pradeep

  • Call ggsci using batch file from windows- get error

    i create a script to use ggsci, start manager, extract and replicat.
    i have success doing this in my linux.
    here is one of my script : start_ext1.sh
    cd /u01/app/oracle/ggs
    ./ggsci <<EOF
    start manager
    start ext_s
    exit
    EOF
    clear
    i have an error when i do this using batch file from windows.
    here is the batch file :
    @echo off
    cd C:\putty
    plink.exe -ssh -2 -P 22 [email protected] -pw oracle "./start_ext1.sh"
    every time i try to enter ggsci when i run that batch file, i get this error :
    ./ggsci: error while loading shared libraries: libnnz10.so: cannot open shared object file: No such file or directory
    i didn't get this error when i run the script in linux.
    is there anybody can help me?
    thanks a lot!

    problem solved!
    add : . ./.bash_profile before enter ggsci.
    it's worked! :)

  • PDQ - run batch file on user current folder...

    Hi,
    I'm running batch file:
    cd %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files\
    but it's not opening the current logged on user
    how to deploy it on current logged on user?
    thanks,,,
    This topic first appeared in the Spiceworks Community

    This is not working for me in Windows 8.  I have a shortcut to an EXE file located in"C:\Users\admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup".  If I set the shortcut to run as administrator (screenshot attached) then it does
    not run at all on startup.  If I uncheckmark "Run as Administrator" then it starts fine (but does not have enough privileges to do what it needs to do).  In Windows 7 this was not an issue since the current user was a local administrator and did
    not need to elevate its privileges further.
    Any ideas how I can work around this problem?  Thanks!
    Ugh... it won't let me attach a screenshot until my "account is verified", whatever that means.

  • Can't open PDF files from Windows Explorer on Windows 8.1

    Hello,
    after I've upgraded to Windows 8.1, I can't open PDF files from Windows Explorer (directly double clicking the file). The AcroRd32.exe runs in the background (2x !) as I see the processes in task manager, but there is no user interface visible. I have Acrobat
    Reader 11.0.06, the desktop version (not Metro). I tried uninstalling the Acrobat reader and installing it again but this didn't help. The only way to open PDF files is to close the AcroRd32.exe from the task manager, open empty Acrobat Reader from the desktop
    and then drag&drop the PDF file over that window. This is quite inconvenient. Is there a way to fix this issue so I can open PDF files directly from windows explorer?
    Many thanks!

    I had to install adobe reader, but   PDF's used to display just fine with IE, any idea what happened ?
    Windows 8.1 pro.
    thx
    lee

  • How we can create the batch file to download the data in from URL in ssis

    hi,
    any one help on one the below requirement.
    i have to create one batch file to download the report(reports is in csv format) from URL...
    requirement should be like this...
    1. we have some reports is there in the URL..
    2.when ever we execute the url, the report should be download and save it to the local folder.
    3. this requirement i have to write in the batch file
    should any one let me know how we can create the batch file for the above requirement.

    Hi Priya.N,
    If you use SQL Server Reporting Services for reporting, you can use Visakh’s suggestion to create a script file which calls Reporting Services Web Service to render a report in CSV format and save a batch file to the destination folder, and then create a
    batch file to run the rs.exe utility which can executes the .rss script file. For more information, please see:
    Report Server Web Service
    ReportExecutionService.Render Method
    rs Utility (rs.exe) (SSRS)
    If you use other reporting tools, it depends on the reporting functionality and this requirement may be not achieved.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to run .java file in windows ?

    How to run .java file in windows without installing any program? Thx!

    First, U must make sure that there is JDK on your computer
    Then, set the envionment variables which the os can find your compiler and interpreter: javac java
    after those, you must complie your .java file to .class file, then you can excute it by java, for example " java helloworld"

  • Unable to run batch file through BO XI 3.1 server

    IHi,
    I am unable to run batch file (.bat) from BO XI CMC. the batch file is running fine through command prompt but fails at server. Error msg is "Running this type of program is disabled by your administrator".
    Can you help?
    Thanks in advance,
    Avijit

    Have your administrator enabled the running of that type of program in the CMC?
    Sincerely,
    Ted Ueda

  • HT3053 Can I run my MacBook Pro Late 2008 without battery forever? Is it bad in long term or anything? Does it make the system less stable?

    Can I run my MacBook Pro Late 2008 without battery forever? Is it bad in long term or anything? Does it make the system less stable?
    My battery got swollen (and I unfortunately noticed it very late and might have be running with it for months, which potentially explains all the crashes everyday and the trackpad not working anymore, the Apple test also says I have a bar of ram broken...) and I had to remove it because the back pannel did not close anymore... Can I still use my MBP normally forever that way? I was planning on buying a new mac anyway but maybe waiting for the next iMac upgrade in the year... Should I wait?

    Other than the system shutting down instantly if you have a power outage, whcih could corrupt the OS. Nothing else bad will happen.

Maybe you are looking for