Windows 10: Windows randomly prompts to open 'C:\Program.txt' file

Discus and support Windows randomly prompts to open 'C:\Program.txt' file in Windows 10 Support to solve the problem; This is starting to annoy me because it will interrupt anything - even playing games. It doesn't seem to be triggered by anything in particular; I'll... Discussion in 'Windows 10 Support' started by Supra, Dec 14, 2015.

  1. Supra Win User

    Windows randomly prompts to open 'C:\Program.txt' file


    This is starting to annoy me because it will interrupt anything - even playing games. It doesn't seem to be triggered by anything in particular; I'll be afk and return to be prompted with this:


    Windows randomly prompts to open 'C:\Program.txt' file [​IMG]


    If I try and open it with notepad it tells me it's trying to open 'Program.txt':


    Windows randomly prompts to open 'C:\Program.txt' file [​IMG]


    Anyone know what's going on here? Thanks!

    :)
     
    Supra, Dec 14, 2015
    #1
  2. ghmj07 Win User

    "How do you want to open this type of file" box, but no filename listed!

    Recently upgraded a Windows 7 PC to Windows 10.

    Since upgrading, I get random Windows dialog boxes asking "How do you want to open this file?" Usually happens while using Chrome or IE, but I can't say for sure it hasn't popped up while not surfing. The odd thing is it doesn't list the name of the file it's
    trying to open.

    Fearing it may be malware, I have only tried selecting Notepad, which gives a message "Cannot find the C:\Program.txt file. Do you want to create a new file?" So I click "Cancel." I have run full scans with Norton and Malware Bytes with no negative items.

    Any ideas or suggestions for what this may be and how to resolve?

    Thanks.


    Windows randomly prompts to open 'C:\Program.txt' file [​IMG]
     
    ghmj07, Dec 14, 2015
    #2
  3. DaveM121 Win User
    Windows Temp files

    Hi Dennis, c

    Close all Open Windows File Explorer Windows

    Open Command Prompt as Administrator

    Run this command and hit Enter:

    icacls *.tmp /grant everyone:F /t /q

    When the command completes, close Command Prompt

    Open Windows File Explorer, you should now be able to delete those files . . .
     
    DaveM121, Dec 14, 2015
    #3
  4. dalchina New Member

    Windows randomly prompts to open 'C:\Program.txt' file

    dalchina, Dec 15, 2015
    #4
  5. Supra Win User
    I don't have Orange Livechat. This is what I have on startup:

    Windows randomly prompts to open 'C:\Program.txt' file [​IMG]


    I scanned with AdwCleaner, which found nothing.
     
    Supra, Dec 15, 2015
    #5
  6. dalchina New Member
    OK thanks- I'm sure you've tried some searches, and you're saying it's not necessarily related to games. That it has been observed by others suggests there should be some useful info out there.

    1. Process of Elimination
    So..
    a. Does it ever occur if you do a clean boot?
    If so
    b. Does it ever occur in Safe Mode?

    -> process of elimination.

    2. Analysis
    You haven't got any sort of window to analyse to point you to a source, unfortunately.
    You could use Sysinternals Process Monitor to capture events, the difficulty possibly being identifying the event from the capture.
    If I were to do that, then I'd have your PC set to run as little as possible, and set the filter in Process Monitor to reject all routine activity so very little is reported in the filtered capture.
    Then sit and wait for the event.
    Hopefully that will be sthg that is not filtered.
    Note that the full report is still available, so you can go back to that knowing where to look.
     
    dalchina, Dec 15, 2015
    #6
  7. dalchina New Member
    Here's another example of a cause of this, but only on logon:
    "I had already disabled the Google Toolbar Notifier but decided to take a look the never before opened Task Scheduler and saw that Orange.fr had inserted a LiveBox assistance app to start at logon. I disabled that performed a Cold Boot.

    On restart no sign of that pop up. Just to check I re-enabled and restarted..and there it was.

    I disabled and re-started..it was gone"
     
    dalchina, Dec 15, 2015
    #7
  8. Supra Win User

    Windows randomly prompts to open 'C:\Program.txt' file

    So far I've disabled as much as possible in msconfig to no resolution. It's really as far as I can get to a clean boot, because I have stability issues with disabling intel's VGA; an entirely different issue that I've given up on trying to resolve. I'm not sure if I'm prepared to spend however many hours in safe mode for it to trigger either.

    I've downloaded the tool you've advised. When it occurs, should I save it and upload it here?
     
    Supra, Dec 20, 2015
    #8
  9. dalchina New Member
    Hi, well, it depends how frequently the problem occurs. If it doesn't occur in safe mode or after a clean boot, then you're partly on track to identifying it, and it's somehow linked to or triggered by a program you're running.

    If that's so, then enable some more programs and boot normally, wait long enough- if you don't see C:\Program.txt again, enable more and so on.

    When you do start having it happen again, try to isolate it to a particular program. If you can do that and nothing else triggers it, and you don't need that program, then solved.

    Otherwise, the program could be revealing some issue in Windows.. we simply don't know.

    Using Proc Mon as described may help further, but it could be hard to identify exactly what's happening.
    Inspecting the report will be up to you I'm afraid.. I can only suggest the means.
     
    dalchina, Dec 20, 2015
    #9
  10. mixolyd Win User
    I had this issue and just figured it out. Do you have MyDefrag installed? For me in task scheduler I found a MyDefrag daily schedule and when I run the task, I get the same popup. Delete that task
     
    mixolyd, Sep 3, 2016
    #10
  11. Supra Win User
    I actually do have MyDefrag, but this issue hasn't happened to me in a while. Think the anniversary update resolved it (at least on my end).
     
    Supra, Sep 4, 2016
    #11
  12. capa Win User
    For those who are still interested in solving this problem (I just did): The error is generated when your task scheduler has a task referring to a missing program. Just remove the program (its schedule) that is trying to run, but not present on your PC. This can be any program, keeping in mind when you get the error might help (once every hour, at start up, etc.).
     
  13. Supra Win User

    Windows randomly prompts to open 'C:\Program.txt' file

    Good for you to reply, I think an update resolved the issue for me as I've not experienced it in a long time.
     
    Supra, Mar 13, 2017
    #13
  14. mikiec Win User
    Thanks for your help! After more than a year of having this pop up all the time, I finally seem to have fixed it.
    *Party

    I opened Task Scheduler and turned on logging (although you don't need to do this).
    Go to the 'Task Scheduler Library' (top-left) and sort the scheduled tasks by 'Last Run Time' with the latest at the top.

    Wait for the "How do you want to..." window to pop up and then refresh the Task Scheduler window (press "Refresh" in the right hand 'Actions' page). The top item should be the program that's causing the problem.

    Right click on the task name and select "Disable"

    That should solve the problem! If it does it again, open the Task Scheduler again and do the same to find the last run task and disable it.

    My problem was caused by a program called "Cron_Aggregator" which was set to run at 20.45 every day and repeat every 10 mins after for a day.

    I hope this helps someone else with the same issues. *Smile
     
    mikiec, Apr 4, 2018
    #14
Thema:

Windows randomly prompts to open 'C:\Program.txt' file

Loading...
  1. Windows randomly prompts to open 'C:\Program.txt' file - Similar Threads - randomly prompts open

  2. Select a program to open this .txt file

    in Windows 10 Gaming
    Select a program to open this .txt file: Last year I uninstalled the modern notepad The modern notepad can be uninstalled without third-party software because I don't like it. When I try to open a .txt file now, it doesn't have a program to open with, but when I click "Choose an app on your PC" and then select...
  3. Select a program to open this .txt file

    in Windows 10 Software and Apps
    Select a program to open this .txt file: Last year I uninstalled the modern notepad The modern notepad can be uninstalled without third-party software because I don't like it. When I try to open a .txt file now, it doesn't have a program to open with, but when I click "Choose an app on your PC" and then select...
  4. .txt files not opening

    in Windows 10 Gaming
    .txt files not opening: So I've made a python script which basicly just created .txt files. And nothing happened, my program worked and suddenly today I cant open txt files because it sais Widnows cant find the file. But if I do Open With and then sth like Visual Studio Code, it works. And yes in...
  5. .txt files not opening

    in Windows 10 Software and Apps
    .txt files not opening: So I've made a python script which basicly just created .txt files. And nothing happened, my program worked and suddenly today I cant open txt files because it sais Widnows cant find the file. But if I do Open With and then sth like Visual Studio Code, it works. And yes in...
  6. Every time i open a txt file it opens recent txt files also

    in Windows 10 Gaming
    Every time i open a txt file it opens recent txt files also: So when I start my pc the first time I open any txt file it opens all the recent txt files I have opened like from the day before then after I close them all and try to open again any txt file it opens the txt file and the most recent txt file also. I noticed this bug after i...
  7. Every time i open a txt file it opens recent txt files also

    in Windows 10 Software and Apps
    Every time i open a txt file it opens recent txt files also: So when I start my pc the first time I open any txt file it opens all the recent txt files I have opened like from the day before then after I close them all and try to open again any txt file it opens the txt file and the most recent txt file also. I noticed this bug after i...
  8. Can't open .txt files with notepad?

    in Windows 10 Software and Apps
    Can't open .txt files with notepad?: I recently installed VScode and it changed .txt files to open with it, but I wanted notepad back. I tried to go into the open with menu, but I was not there, so I click the "choose another app on this computer" button and selected notepad C:\Windows\System32\Notepad.exe, but...
  9. HOW TO OPEN A TXT FILE IN WINDOWS TERMINAL

    in Windows 10 Software and Apps
    HOW TO OPEN A TXT FILE IN WINDOWS TERMINAL: how do you do that????????????????????????????????? https://answers.microsoft.com/en-us/windows/forum/all/how-to-open-a-txt-file-in-windows-terminal/37f64914-a2ae-44ac-8320-4eb1362eec9c
  10. Cant open .txt files

    in Windows 10 Ask Insider
    Cant open .txt files: [ATTACH] I reset my computer and now i can't open .txt, does anyone know a fix for this? https://preview.redd.it/jrglaebub8551.png?width=1915&format=png&auto=webp&s=0741154ad1ae65247048f966f5ef82a0e0ee3816 submitted by /u/lemon094 [link] [comments]...

Users found this page by searching for:

  1. fix for message How do you want to open this file? Cannot find the C:\Program.txt file. Do you want to create a new file?