Dxdiag command line has no output

Hello. I am trying to run dxdiag from the command line to generate a diagnostic output. Dxdiag works fine if I run it without parameters (the GUI appears and I am able to save data). If I run dxdiag from the command prompt with some parameters, the command returns immediately and I get no output file created. The commands I tried are a number of variations on: dxdiag /dontskip /whql: off / t dxdiag.txt. I run the tool at the command prompt is in a writable directory. My OS is Windows 7 64. Thank you.

Unless you specify the arguments in the correct order on the help dialog box, the command line does not work as expected.  It worked for me:

Dxdiag /dontskip /whql: wide of 64 bit/t d:\dxdiag.txt

The command line returns instantly, so wait until the course ends.  You know you had right when Process Explorer shows dxdiag.exe running as a 64-bit process.

If only dialog help actually mentioned this, could save a few hours of grief ;-)

Tags: Windows

Similar Questions

  • Add text from the command line to the output so that I can know how a command has been run when it generated the output

    This is a question and a suggestion...

    I would like to be able to precede or add if it works, the command line in the output file that creates the order.

    Example:

    I run dcdiag with switches, etc. and create an output file of results that gets saved or sent to a person or just put it in a folder. Of course, it could be that someone else ran the command and then sent the file. Anyway the problem is the same - what was the exact command line that has been executed to achieve these results?

    Question:

    Is there a known way to do from the command line that I can apply to any command?

    Suggestion:

    If this isn't the case, then I would suggest MS to include this function in all the BACK and PowerShell commands able to produce text output.

    If all goes well they monitor this forum and find it's a great idea and send me a check (pinky in my cheek) a meeellion of dollars. Then I and I alone will rule the world.

    Here you go:

    d:\>format i: / FS: NTFS > format.txt
    d:\>echo i format: / FS: NTFS > format.txt

  • Keep getting 'command line' has stopped working

    When I try to turn on windows Defender - will work a few minutes then I get the error message the command line has stoped working and leaves the program - it won't turn after I restarted my computer - but maintains it of the thing happens - I have to run a malware scan - but just Defender will not stay

    If you have Microsoft Security Essentials, AVG, McAfee, Norton, etc. installed, they have a conflict with Windows Defender, or turn it off.

    Microsoft Security Essentials has its own integrated version of the defender and should automatically disable the version of Vista in Windows Defender.

    If it's not:

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-Defender-on-or-off

    Turn Windows Defender on or off the information on the link above of Microsoft.

    Hope the above explains the common compatibility issues with Windows Defender and other security programs.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Use this program:

    http://www.Malwarebytes.org/MBAM.php

    Malwarebytes is as its name suggests, a Malware Remover!

    Download the free Version from the link above.

    Download, install, upgrade and scan once a fortnight.

    See you soon.

    Mick Murphy - Microsoft partner

  • On several programs, I get "command line has stopped working".

    I have windows vista, it is currently installed correctly updated - but malware, language programs stop working after I was online - what is the problem and how do I fix

    Hello

    Method 1:

    It seems that some background programs is in conflict with other programs. You can configure your computer in a clean boot state in order to identify what is causing the problem. To configure your computer to clean boot follow the link below.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: When you are finished troubleshooting, follow step 7 article to start on normal startup.

    Method 2:

    Also, like what happens when you're online it could be both a virus problems, you can run a scan for viruses online for your computer and check if that helps.

    http://www.Microsoft.com/security/products/MSE.aspx

    http://www.Microsoft.com/security/malwareremove/default.aspx

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Remote command fails when cross Foglight, but ok using command line

    Try to perform an action simple remote command when a rule triggers the file /sharedScripts of monitoring system.  When the alarm is triggered, an email is sent and action of remote command to find and remove the logs more than 10 days is supposed to work.

    The command to run is:

    find/sharedScripts/set - name "* .log" \ (-type f-mtime + 10 \)-exec rm {} \;) ""

    This command works well from the command line on the server, but when it is run by a remote control action, we get the following exception:

    2015-07-20 19:04:30.556 WARN [Action-4-wire-3856] com.quest.nitro.service.action.impl.command.RemoteCommandAction - the remote execution failed on the host prod - 108.llbean.com for the command "find/sharedScripts/set - name" * .log "------(-type f-mtime + 10 \)-exec rm {}------;)" "with the following error: 1.»

    I tried many iterations of escape characters, single/double quotes, etc...

    Has anyone else tried something like this?  I understand that I could create a script that has this command in it, but if I can avoid that I would because a similar process will be implemented through a hundred servers with different commands according to the system of files in place. In this regard, I would like to manage everything centrally if I can.

    Hi Golan-

    Thanks for the reply.  I got a response back from support today and it turns out that some avoidance that is required to run the command from the command line has been the cause of the problem running like a remote control action.

    This command works well on the command line:

    find/sharedScripts/set - name "* .log" \ (-type f-mtime + 10 \)-exec rm {} \;) ""

    but the avoidance of parentheses problem in Foglight. The following seems to work as a remote command:

    find/sharedScripts/set - name "* .log"(-type f-mtime+10)-exec rm {} \; "."

  • The command line redirection

    Hello

    I wrote a simple command line batch file that needs to compress a file using 7 - zip.
    This work is great!
    However, now I need to do the following:
    -Once the first command line has created archive compressed (using 7 - zip), I have to compress this file again.
    My problem is the following:
    1. I don't know how to tell windows to wait that the first line of the command is complete.
    2. take the name of the file to archive and redirect/inject into another command line.
    I know I have to use the redirect command but<& or="">< or="" anything...="" there="" i'm="" lost...="">
    could you help me?
    THX

    Hi Alain,

    The issue of Windows is more complex than what is generally answered in the Microsoft Community Forums. Appropriate in the TechNet Forums. Please post your question in the TechNet Forums.

    You can check the link to post your question:

    http://social.technet.Microsoft.com/forums/en-us/category/scripting

    I hope that helps!

  • Read the output of command line

    Hello

    I am running a program of external command in my application CVI line. I use this code (that I found somewhere here):

    Char [command] = "test.exe";
    If STARTUPINFO;
    PROCESS_INFORMATION piProcess;
    BOOLEAN result;
    DWORD dwExitCode;
    int exitCode;

    ZeroMemory (& TR, sizeof TR);
    Si.CB = sizeof is;
    result = CreateProcess (NULL, NULL, NULL, FALSE, CREATE_DEFAULT_ERROR_MODE command |) DETACHED_PROCESS, NULL, NULL, & TR, & piProcess);
     
    If (result == TRUE) {}
    CloseHandle (piProcess.hThread);

    If (WaitForSingleObject (piProcess.hProcess, INFINITE)! = WAIT_FAILED)
    GetExitCodeProcess (piProcess.hProcess, & dwExitCode);
        
    CloseHandle (piProcess.hProcess);
     
    exitCode = dwExitCode;
    }

    It works as it should... Now I wonder how it is possible to record or to analyze the output of the command line app...

    See you soon

    I've made a few changes to the CreateProcess call and it seems to "work". Output has been redirected in test.txt, but a black console window appears while test.exe is running. I put si.dwX to-10000 so that it should be off the screen.

    Char [command] = "cmd.exe /c test.exe > test.txt ';
    If STARTUPINFO;
    PROCESS_INFORMATION piProcess;
    BOOLEAN result;
    DWORD dwExitCode;
    int exitCode;

    ZeroMemory (& TR, sizeof TR);
    si.dwFlags = STARTF_USEPOSITION;
    si.dwX = - 10000;
    Si.CB = sizeof is;
    result = CreateProcess(,command,,,TRUE,CREATE_DEFAULT_ERROR_MODE,,,&si,&piProcess);

    If (result == TRUE) {}
    CloseHandle (piProcess.hThread);
    If (WaitForSingleObject (piProcess.hProcess, INFINITE)! = WAIT_FAILED)
    GetExitCodeProcess (piProcess.hProcess, & dwExitCode);

    CloseHandle (piProcess.hProcess);

    exitCode = dwExitCode;
    }

    Michael

    NEITHER

  • My firefox has no command line

    My firefox has no command line, or any other web site for important. In the Web Developer menu, the only tool I have is the page source. I re-installed firefox several times and set up different channels, but still no dice.

    Try to ask for advice in the MozillaZine forum is based.

    Maybe someone knows what the problem is.

    I'm still all Linux development tools in the Nightly build of current.

    I assume you are using the 32-bit version because built 64 - bit Windows are not put to the test and can be broken at any time.

    You must register on MozillaZine forum site to post in this forum.

    See http://forums.mozillazine.org/viewforum.php?f=23

  • The application has failed to start because its side-by-side configuration is incorrect. See the application event log or use the command-line sxstrace.exe for more details

    Hello

    I can t open Google Earth or Microsoft Office programs because I get this message - the application could not start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe for more details.

    A few days ago I could open all what programs. I put t know what is the problem.

    I did sxstrace and that's what I have-

    =================
    Launch the activation context generation.
    Input parameter:
    Flags = 0
    ProcessorArchitecture = Wow32
    CultureFallBacks = en-US; en
    ManifestPath = C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe
    AssemblyDirectory = C:\Program Files (x 86) \Google\Google Earth\client\
    Application configuration file =
    -----------------
    INFO: File analysis shows C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe.
    INFO: Manifest definition identity is (null).
    INFO: Reference: Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053"
    INFO: Resolving reference Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053".
    INFO: Resolving reference for ProcessorArchitecture WOW64.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    INFO: No found publisher policy.
    INFO: No redirect political connection is found.
    INFO: Start the detection of assembly.
    INFO: Can't find the assembly in WinSxS.
    NEWS: Try to detect manifest to C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT\8.0.50727.4053__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
    INFO: Found no manifesto for the neutral culture.
    INFO: End detection of assembly.
    INFO: Resolving reference for ProcessorArchitecture x 86.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    NEWS: Control strategy of the Publisher C:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_517247830f45081d.manifest
    INFO: Start the detection of assembly.
    INFO: End detection of assembly.
    ERROR: Activation context generation failed.
    End activation context generation.

    Help, please!

    This type of error can be caused if the Visual C++ library runtime components are missing or because of a third-party software.

    Follow the steps below:
     
    Method 1:
    If the problem is caused by the lack of Visual C++ libraries, you can download and install the Runtime components of Visual C++ libraries from the link below:
     
    This error can occur when the Microsoft .NET Framework installation on the computer is damaged or is missing.

    Try it out below step to reinstall and repair installation of Microsoft .NET Framework on the computer, then check if you can install the software.

    (a) click the Start button, select Control Panel, click programs and then click on 'Turn Windows has or not.' If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) search for Microsoft .NET framework 3.5.1 uncheck, click OK and restart the computer.

    (c) after the reboot, open again "Turn Windows features on or off" and place a check next to Microsoft .NET framework 3.5.1 and restart the computer.

    Step 2

    If the previous step fails, then I suggest that you manually download and install Microsoft Visual C++ 2005 and 2008 Redistributable Package and check to see if you can install the software.

    In programs and features, you do not show that you have installed Microsoft Visual C++ 2005 Redistributable and Microsoft Visual C++ 2008 Redistributable? If this is not the case, download the links here.
     
    Package redistributable Visual C++ 2005 (X 86)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
     
    Visual C++ 2005 (x 64) redistributable package manager
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=eb4ebe2d-33c0-4A47-9dd4-b9a6d7bd44da&displaylang=en

    Package redistributable Microsoft Visual C++ 2008 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

    Package redistributable Visual C++ 2008 SP1 (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    I hope this helps.

  • sqlcl or sqldeveloper for output command line html (+ other jdbc database connections)

    Hello

    I use shell, awk and php scripts to encapsulate sqlplus for html output requests

    Simple question:

    1 - What is the best (or fastest) way to generate an HTML output of a command line script (sqlplus, sqlcl, sqldeveloper)

    Subsequently, I use sqlplus on a linux machine, because he does not expect 4 or 5 seconds for the launch of all java stuff on every single batch request, and does not expect the end user to the browser page

    can 2 - I use other databases (of course with the related jdbc drivers) with sqlcl?

    (with sqldeveloper, can interrogate data bases mysql or mssql)

    Sorry for my English.

    Thanks in advance.

    Stone

    Set html sqlformat

    coil...

    Run your query

    If you don't like HTML, you might investigate our new SCRIPT function that lets you use javascript to work against your resultset - Kris examples on his blog.

    SQLcl is only for the Oracle database

  • command line "install MAC OS x 10.9 Mavericks' has been accepted what then?"

    Hello again

    Always in the hope of getting help, none so far. BUT I've made some progress. Using CMD + S I'm entered in 'install MAC OS x 10.9 Mavericks' this command was excluded. Now a list of choice as follows:

    Install (-bCcpSsV) (-suffix B) (-f flags) (-Group g) (-m mode)

    (- owner o) file1 file2

    Install (-bCcpSsv) and again the f g m b

    (- owner o) file1... fileN directory

    Install d (-v) (-Group g) (-m mode) (-owner o) directory

    I'm trying to install OSX with USB - HDD

    "owner) it's me. Please how can I proceed!

    Those who are not choices. Here's the proper use of the command line, thinks you meant. But the command you entered is not valid. Simplify your life. Start the computer normally. In the eyes of Applications folder for the installation of Mavericks application. Double-click the icon.

    Note that if you have a PowerBook under Leopard, so you cannot override. If you have a real MacBook or MacBook Pro, then you have other options. But you have not provided sufficient or correct information to help you.

  • 10.11.4 update has failed because of the command line tools

    The 10.11.4 update fails with a message on the command line tools.

    I found this in system.log.

    Memento kernel [0]: sandbox: softwareupdated (329) deny system (1) - 682f fsctl

    181Mb Command Line Tool for Xcode 7.3 keeps reappearing in the section "updates" from the App Store, 10.11.4, as well as the global update apparently cannot continue.

    Normally, you should be able to select the updates separately (click on "More... »). If this does not work for some reason, you can download the 10.11.4 update by itself: download OS X El Capitan 10.11.4 updated

    (Combo version: Download OS X El Capitan 10.11.4 Combo Update)

  • When the shared program files to remote machines using the command line it shows in the 'c' drive volume has no label

    Considered system 2A & b... I need write access to the Program Files directory of computer remote (B) (a)... trying to create a file or folder.
    using command line.

    Hi kesavarajm,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet forum.

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

  • command line to create the debugging token has problem with the bbidtoken

    Hello

    I tried to use the BB ID token to create the debugging token.  Following the instructions of the command line, I got an error.

    BlackBerry-debugtokenrequest - bbidtoken bbidtoken.csk - storepass mypassword deviceid - 12345678 dt.bar

    Error: Only RDK or COMINCO Signatures are allowed when using BBIDToken

    The token id BB must be correct, because I can use it to sign an application.  I can also generate the debugging token from Momentics.  I believe momentics also call blackberry-debugtokenrequest internally, but do not know what are his secret settings.

    Thanks in advance for any help.

    Tyler

    Try without the parameter of bbidtoken.csk - bbidtoken.

    Also, make sure you use blackberry-debugtokenrequest of the 10.2 Gold SDK.  Previous versions do not BlackBerry ID support chips.

  • The file of the bar - descriptor.xml (and make the application of command line)

    I made a game with air and it is online for sale on Android and iOS. It is somewhat popular and I thought to put up on Blackberry for quite awhile now and with the Port of soon-to-start-A-Thon, this seems to be a great time to finally make it.

    BlackBerry is not very common that here where I live in Sweden, however it still looks like an interesting with a potential platform if I want to get the trip. Unfortunately I don't own a camera myself so I'll use the Simulator. With some graphic problems with the simulator when running in mode BB10DevAlpha (icons does not appear right) and the Simulator is very slow when running in mode BB10DevAlphaSafe (chart appears on the right, but it seems that updating them requires more CPU my computer are available).

    The game is built using nothing other than Adobe Flash Professional CS6 and a bunch of command line tools to build the package and sign. I've only got an old computer with Windows XP now since the death of my main PC, all at the time and since the Port-A-Thon is just a few days I do with what I got.

    Firstly I understand that only AIR 3.1 is supported by Blackberry 10, so I use the old AIR SDK 3.1 to create a SWF (flash) file.

    What I really need to do should be used in the exported SWF file of the game, then use the command line tools provided by RIM to build the package, right?

    Except that I did not count on bar - descriptor.xml to be so difficult to understand.

    I was brought to the documentation here: https://developer.blackberry.com/air/documentation/bb10/bar-descriptor_config_file.html

    It says Adobe AIR at the top, the platform selected is Blackberry 10 and the title says "bar-descriptor configuration file", so it must be in the right place!

    I start by trying the 'bar-descriptor configuration example file"on this page:

    ===========================================================



      
          None
          fake
      

     
      
       Name of the author
     
      
       gXXXxXXx ##XxXxXxxxXxXX #xxx
     
      
       Core.Games
     
      
       Icon.PNG
     
      
       HelloWorld - splash.png
     
      
       read_geolocation
       use_camera
     
      
       1

    ===========================================================

    Of course during the test I replaced a few things in the example above with the correct filenames for images etc, I just copied the example of right - off this time to you guys show what I mean.

    Firstly, I extract "blackberry-tablets-sdk - 3.0.0" in a folder on the disc, then I make sure as a full path to the "bin" in the SDK folder inside the path on the OS environment variable.

    Then I read on "Applications of Test using the command line": https://developer.blackberry.com/air/documentation/bb10/testing_your_application_cmd_ms_2010851_11.h...

    Now I run:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf myappnameicon86.png bg splashscreen1024.png - device 192.168.8.128

    Note that "bg" is a folder with 500 images that must be accessible from the app. I hope that I can just add the folder like this and not type a path to each image file...

    What I get (in lib\adt.jar via the bat file):

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Okay, so the example did not straight on the box.

    Now, I've read all paragraphs in the first URL I linked above ("the bar-descriptor configuration file"). I start my own XML file and make sure to include everything that is marked as "necessary". That's what I'm left with:

    ===========================================================



        MyCompany
        
            
            com.mydomain.myappname
            My App name
            3.0.0
            
                splashscreen1024.PNG
            

            1.5.0
        

        run_native
        
            application
            
                bb.action.VIEW
                application/octet-stream
            

        

    ===========================================================

    I have no idea of what concerns the block whole call target, but it took, so he must be there.

    Now I launch (notice that myappnameicon86.png is gone since no icon is mentioned in the above XML code, it is not mandatory):

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf bg splashscreen1024.png - device 192.168.8.128

    Yet once, I get:

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Frustrated I get autour on the forums for answers, because the official documentation is nowhere getting me.

    I'm left with this:

    ===========================================================


    http://ns.Adobe.com/air/application/3.1">
        com.mydomain.myappname
        1.5.0
        
        My App name
        
        My App name
        
        
            myappname.swf
            standard
            fake
            true
            true
            landscape
            GPU
            fake
        

        
            myappnameicon36.PNG
            myappnameicon48.PNG
            myappnameicon72.PNG
        

        fake
        fake
        
            qnx.fuse.ui.skins.QNXDevice
            qnx.fuse.ui.skins.QNXNetwork
            qnx.fuse.ui.skins.QNXSensors

            qnx.fuse.ui.skins.QNXSkins
        

    ===========================================================

    Looks like the XML code that I use when I build for Android.

    First of all it doesn't have the tag root of qnx, but also nothing of the icons are of the required size (86 x 86). The tag required splashscreens and invoke target is also absent, to name a few. No idea of what the entire block of 'extensions' really do.

    Surely, this does not work:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane myappnameicon36.png myappnameicon48.png myappnameicon72.png bg-device 192.168.8.128

    Success in building the package BAR to my infinite surprise!

    He even managed to install on the Simulator. An icon for the game. However when it auto-couru the app went into landscape, thought for a second and then crashed (or you leave?) without a message.

    Perhaps because the required qnx tag was missing in the XML?
    Perhaps because images in the bg file could not be loaded?
    Perhaps because he had no permission to keep screen from dimming?

    I have no idea. I tried to add XML to qnx at the address previous to the bar - descriptor.xml, I thought that maybe he needed both the qnx block for when you run the application and the application block for when packaging. But now, he has complained of something like XML is not not clean ("' fatal error: markup in the document following the root element must be well-formed." ").

    So he came to it, I have to ask for help if I ever make the deadline of the Port-A-Thon.

    (1) how am I supposed to write the bar - descriptor.xml?
    (2) what command line starting by "blackberry - airpackager.bat" is OK to use?
    (3) all I have to do is build the SWF using Adobe Flash Professional CS6 and then pack it using the Blackberry SDK, right?

    First of all, there are two xml files that you need.

    One is called the manifesto, is to AIR and is called yourappname- app.xml. It is identical to the ones you use for Android and IOS, though some elements will be ignored. It's one you need to switch on the command line, and is probably causing the 'Namespace' missing error message. A file manifest a minimum is:

    
    http://ns.adobe.com/air/application/3.1">
    
        com.example.appname
        My Fabulous Game
        1.0.0
    
        FileNameOfYourSwfWithoutExtension
        YourCompanyName
        
            [This value will be overwritten by Flash Builder in the output app.xml]
            true
            false
            none
            cpu
            false
        
    
    

    Replace the text in red with your own stuff.

    The second xml file is called to the bar of descriptor. It is for App World and the installation process and is called bar - descriptor.xml. It contains information about signing code, icon, permissions etc. A simple bar - descriptor.xml is:

    
    
       
          none
          true
          landscape
          false
          cpu
       
    
       
       your-name-on-certificate
       your-id-on-certificate
    
       core.games
    
       
       1
    
       
       
          icon86x86.png
       
       splash-landscape.png
    
       
       2.1.0.1314
    
       
       access_shared
       access_internet
       play_audio
       set_audio_volume
    
    

    Make sure that you at least change the red dots.

Maybe you are looking for