Windows 10: Enable File Auditing? Trying To Open a Program When Another is Closed.

Discus and support Enable File Auditing? Trying To Open a Program When Another is Closed. in Windows 10 Performance & Maintenance to solve the problem; Okay, not sure if this is the correct subforum (i figured it was either this one or Software & Apps), but here's what I'm trying to do. I have a... Discussion in 'Windows 10 Performance & Maintenance' started by DushiPunda, May 18, 2017.

  1. Enable File Auditing? Trying To Open a Program When Another is Closed.


    Okay, not sure if this is the correct subforum (i figured it was either this one or Software & Apps), but here's what I'm trying to do.

    I have a game launcher set, from within it's own settings, to automatically close when launching a game. What I'd like to do is automatically reopen the launcher once the game is closed.

    I figured the easiest way, if I could get it to work, would be to use Windows Task Manager and set it to trigger on a specific event, but there are no events created when opening or closing the game. I tried to enable auditing for the game.exe, in the hopes that it would start adding events to the event viewer, but with no success.

    What I did was -
    1. Right click on game.exe
    2. Choose Properties
    3. Select Security
    4. Select Advanced
    5. Select Auditing
    6. Click Add
    7. Click Select a Principal
    8. Type "Users" and select Check names
    9. Click OK
    10. Select Type: All
    11. Select all check boxes
    12. OK, OK, OK

    Like I said though, this doesn't add anything into the Event Viewer, so I can't create a task in Task Manager to trigger off of an event.

    Anyone have any suggestions on how I can accomplish this?

    I'd like to steer clear of batch files and, in general, anything 3rd party that has to be continuously running in the background, if at all possible.

    Thanks for your help.

    -Dushi

    :)
     
    DushiPunda, May 18, 2017
    #1

  2. A bug when I am trying to download a program

    This is a bug I have had for over 2 days , and I tried everything I could , including safe mode , but it just wont go away , the details of the bug are as follows.

    See the end of this message for details on invoking

    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************

    System.ApplicationException: Only downloading downloader can be paused.

    at PlayparkDownloader.MultiThreadedWebDownloader.Pause()

    at PlayparkDownloader.frmDownload.btnDownload_Click(Object sender, EventArgs e)

    at System.Windows.Forms.Control.OnClick(EventArgs e)

    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

    at System.Windows.Forms.Control.WndProc(Message& m)

    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************

    mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1086.0 built by: NETFXREL4STAGE

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

    ----------------------------------------

    PlayparkDownloader

    Assembly Version: 0.3.6.1

    Win32 Version: 0.3.6.1

    CodeBase: file:///C:/Program%20Files%20(x86)/Asiasoft%20Online/Playpark%20Downloader/PlayparkDownloader.exe

    ----------------------------------------

    System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1038.0 built by: NETFXREL2

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1081.0 built by: NETFXREL3STAGE

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1084.0 built by: NETFXREL3STAGE

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

    ----------------------------------------

    System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1038.0 built by: NETFXREL2

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

    ----------------------------------------

    System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

    ----------------------------------------

    System.Management

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1038.0 built by: NETFXREL2

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

    ----------------------------------------

    fastJSON

    Assembly Version: 2.1.0.0

    Win32 Version: 2.1.14.0

    CodeBase: file:///C:/Program%20Files%20(x86)/Asiasoft%20Online/Playpark%20Downloader/fastJSON.DLL

    ----------------------------------------

    System.Data

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1086.0 built by: NETFXREL4STAGE

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

    ----------------------------------------

    Anonymously Hosted DynamicMethods Assembly

    Assembly Version: 0.0.0.0

    Win32 Version: 4.6.1086.0 built by: NETFXREL4STAGE

    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

    ----------------------------------------

    ************** JIT Debugging **************

    To enable just-in-time (JIT) debugging, the .config file for this

    application or computer (machine.config) must have the

    jitDebugging value set in the system.windows.forms section.

    The application must also be compiled with debugging

    enabled.

    For example:

    <configuration>

    <system.windows.forms jitDebugging="true" />

    </configuration>

    When JIT debugging is enabled, any unhandled exception

    will be sent to the JIT debugger registered on the computer

    rather than be handled by this dialog box.
     
    Rory Best Loli, May 18, 2017
    #2
  3. I can't delete a file

    Hi Sara,

    If you're trying to delete a file and your computer isn't letting you, it's most likely because another program is currently trying to use the file. This can occur even if you don't see any programs running. Deleting these files is usually a matter of forcing
    the program that's using the file to close. Be careful when doing this; deleting the wrong file can have bad effects on your system. Have you tried closing all your open programs before deleting the file?

    Regards.
     
    Darian Tab, May 18, 2017
    #3
Thema:

Enable File Auditing? Trying To Open a Program When Another is Closed.

Loading...
  1. Enable File Auditing? Trying To Open a Program When Another is Closed. - Similar Threads - Enable File Auditing

  2. When trying to open program or game, it closes itself

    in Windows 10 Gaming
    When trying to open program or game, it closes itself: Hi, guys! From 4-5 days when I try to open any program or game p.e Visual Studio, IntelliJ or some game, it shows the starting window and then it closes itself and opens folders from the local disks? What could be wrong ? Could the problem be in the HDD ?...
  3. When trying to open program or game, it closes itself

    in Windows 10 Software and Apps
    When trying to open program or game, it closes itself: Hi, guys! From 4-5 days when I try to open any program or game p.e Visual Studio, IntelliJ or some game, it shows the starting window and then it closes itself and opens folders from the local disks? What could be wrong ? Could the problem be in the HDD ?...
  4. When trying to open program or game, it closes itself

    in Windows 10 BSOD Crashes and Debugging
    When trying to open program or game, it closes itself: Hi, guys! From 4-5 days when I try to open any program or game p.e Visual Studio, IntelliJ or some game, it shows the starting window and then it closes itself and opens folders from the local disks? What could be wrong ? Could the problem be in the HDD ?...
  5. Apps open when closing another window

    in Windows 10 Gaming
    Apps open when closing another window: I have been dealing with a recent issue on multiple devices after upgrading to windows 11. I am very confused if this is the apps themselves or windows 11 just being buggy. But when I keep multiple windows open. Eventually after closing 1 of them, another app on my computer...
  6. Apps open when closing another window

    in Windows 10 Software and Apps
    Apps open when closing another window: I have been dealing with a recent issue on multiple devices after upgrading to windows 11. I am very confused if this is the apps themselves or windows 11 just being buggy. But when I keep multiple windows open. Eventually after closing 1 of them, another app on my computer...
  7. Close a program when another starts

    in Windows 10 Ask Insider
    Close a program when another starts: So basically, I downloaded Microsoft's PowerToys off GitHub which I guess is kinda still in development, so I could use the adaptation of MacOS's Spotlight they made. Unfortunately, since the program has some bugs, it interferes with some of my other stuff, mainly I get...
  8. File is open in another program

    in Windows 10 Software and Apps
    File is open in another program: I share a folder on my network with firetv. I use it to watch movies on a tv. If I watch a movie then in fire TV close the app I used to watch it. Then using my new upgraded win10 computer I can't move or delete that movie I watched says File is open in another program I...
  9. File is open in another program

    in Windows 10 Support
    File is open in another program: I share a folder on my network with firetv. I use it to watch movies on a tv. If I watch a movie then in fire TV close the app I used to watch it. Then using my new upgraded win10 computer I can't move or delete that movie I watched says File is open in another program I...
  10. mikrosoft programs close when opened

    in Windows 10 Software and Apps
    mikrosoft programs close when opened: so i have gotten a problem with my microsoft programs, like calculator, the mail program, and one note(these are the one i have tryed) i have had this problem for over 2 months now. it dosn't have huge effekts on y life but, it has some annoying parts....