How do I reset the default file association for .bat files on Windows 8.1?

Windows 8.1 allows the user to change the file association for .bat files. I made the mistake of using this facility to change the default file association for .bat files to Notepad++. Now when I attempt to run a .bat file, the script for the .bat
comes up in Notepad++, instead of its being run as an executable file!  All my .bat files are now useless. I tried finding a way to change this back to the original executable setting, including deleting Notepad++ from my system, but nothing
has worked. 
There are discussions that I found on the Internet about this problem, and the solutions to which I was led have not worked either. Most of the solutions apply to Windows 7 or Vista, but not to Windows 8. There are a few solutions that purport to apply to Windows
8 and 8.1, but they do not work for me.  
(Disconcertingly, some of the solutions presented for the problem that apply to Vista or Windows 7 and are dated as early as 2009, so this problem has apparently been around for some time, but Microsoft still keeps .bat files on the Control Panel facility that
enables the change to be made. I cannot see why, but there it remains.)
Can someone please help me change this file association back to the original setting for Windows 8.1? Remember, most if now all the links that address this issue are focused on Windows 7. I need an answer that has been tried and proven to apply to Windows 8.1.
Nothing I have tried works.

Hi,
For the issue, we can restore Default File Extension Type Associations through adding the registry entries.
1. Download the .reg file from the following link.
http://www.eightforums.com/attachments/tutorials/8025d1345781188-default-file-associations-restore-windows-8-bat.reg
Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
2. Save the .reg file to your desktop.
3. Double click on the downloaded .reg file to Merge it.
4. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.
5. Sign out and in, or restart the computer to apply.
6. If you are logged in as a standard user and this still does not help, then have the administrator also merge the needed .reg file for the listed file extension or protocol below while logged into their administrator account.
Hope this helps.
Regards,
Kelvin hsu
TechNet Community Support

Similar Messages

  • How do I change the default save location for new files in Pages back from iCloud to my Documents folder?

    I just upgraded OSX to Mountain Lion and Pages to 4.2, and because OSX is syncing with my iCloud account, when I go to save a new file in Pages it defaults to try to save to my iCloud account rather than giving me the folder structure on my hard-drive that I prefer. It requires two extra steps to save to the proper place in my Documents folder on my hard drive.
    Is there a way to reset the default so that when I go to save a new file, the folder structure opens to the last saved folder (like it does in other non-iCloud applications) rather than defaulting to my iCloud, and to do it without just removing documents from my iCloud account entirely?
    I checked the Preferences for both Pages and iCloud and found nothing about this.

    What I meant is turn off Documents and Data in iCloud in OS X. Keep it on on your iOS devices. iCloud will sync documents between the iOS devices and make them available on the iCloud web site, but it won't mess up iWorks' open and save dialog boxes. It also won't assume that you want all your documents in iCloud, which I think is undesirable anyway.
    Keep iOS and OS X separate, and use the web site to move files between the two as necessary.
    iOS iWork is different from OS X iWork. There are fewer fonts on an iOS device. iOS iWork programs have slightly different feature sets than OS X iWork programs, and the file formats are different. iCloud automatically converts the file format when necessary, but if you make a habit of saving things directly to iCloud, you are limited to the lowest common denominator between the two versions of iWorks. So why would anyone want iWork on the Mac to open and save documents on iCloud by default?
    If you want to store files in the cloud and sync them on your Macs, SugarSync is a much better solution. It lets you choose your sync folders, it doesn't make you reorganize your files, it lets you sync all file types, it doesn't convert files to a different format and back, and it stores everything in the cloud, too. Just the simle act of saving a file backs it up and syncs it. I wouldn't live without it. iCloud is best with iTunes purchases and synchronizing Mac settings and iOS files; I woudln't live without it. The two make an unbeatable combination.

  • How can I reset the DEFAULT zoom view in Firefox at 125%, like IE, so I don't have to reset it every time ?

    How can I reset the DEFAULT zoom view in Firefox at 125%, like IE, so I don't have to reset it every time ?
    I have seen this question asked previously and it seems there is no answer.
    I know that one can change each individual web page (that reset defaults back to 100%) and, alternatively and apparently one can load an add-on to fix the default size at Full Zoom.
    ... But any hints on how to achieve a DEFAULT 125% zoom would be much appreciated.

    Press CTRL + 0
    Have you tried Firefox's zoom feature? Font size and zoom - increase the size of web pages
    You can "zoom" all sites using this add-on: [https://addons.mozilla.org/en-US/firefox/addon/2592/ NoSquint]. After setting your global zoom level, you can still fine-tune the zoom on individual sites.
    After installing NoSquint, click the % on the Add-on Bar to call up site preferences, then click the Global Settings button, then the Zooming tab.
    If you don't have the Add-on Bar displayed, you can right-click the new tab button ("+") or a blank area of the tab bar to the right of it and choose Add-on Bar from the shortcut menu.
    You can experiment with sizes larger than 125%, but I wouldn't go much higher than 150% unless you have a large high-resolution monitor.
    If there are particular sites that still present a problem, feel free to post their URLs.
    You can find more information about the zoom features Firefox offers in these articles:
    [[Text zoom]] - For zooming text only
    [[Page zoom]] - For zooming the whole page (including images etc.)

  • How do I set the default print margins for ALL printers in mozilla.cfg

    How do I set the default print margins for ALL printers in mozilla.cfg, even ones that are not yet installed / connected to the computer?
    I'm trying to install firefox with MDT and apply certain print options, but the printers themselves are connected at a later stage so the print.printer_myprinterhere cannot be used.

    Best answer I could find: [https://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/#comment-132668]
    If you can figure out how to add the printer name, this can be used to lock the margins.

  • How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    http://support.apple.com/kb/ht5621

  • How do I set the default welcome page for PUBLIC user

    gurus,
    i'm using -
    Oracle 9i Database
    Oracle 9ias Portal Release 2
    QUESTION => how do I set the default welcome page for the PUBLIC user.
    i did the following to achieve this -
    1. logged into portal
    2. clicked on builder
    3. clicked on administer tab
    4. selected PUBLIC user in the Portal User Profile portlet
    5. went to the preferences tab
    6. in the default home page selected a custom page group
    7. logged out of portal
    8. open a new browsere session
    9. type the portal URL and i get the login page ....??
    i'm unable to understand this behavior ... shouldn't i be getting the page group that i set for the PUBLIC user in step 6 above ....
    the second QUESTION is => when the user logs out he/she should see the PUBLIC page set in step 6 above ... but, instead the user sees a page that is as follows -
    Partner Application Name Logout Status [Logout Status]
    Oracle Portal (portal) logout status
    The SSO Server (orasso) checkmark
    buzz.resva.trw.com:7778 checkmark
    infrastructure.happy.resva.trw.com checkmark
    portal1.buzz.resva.trw.com checkmark
    portal2.sylvester.resva.trw.com checkmark
    sylvester.resva.trw.com:7778 checkmark
    so, how can i set the default page for the PUBLIC user and also a page when he user logs out.
    ideas anyone ....?
    thanx a bunch.
    hero

    Hi,
    The sequence of operation you are doing to set the home page for public users is correct. You are getting the login screen as the "custom page group" selected as "home page" has not been granted to public.
    Also, while logging-out, it is normal behaviour to get the screen where it shows the list of partner applications from where user has been logged-out. When you click on "Return" button, you will get to the "home page" set above.
    Hope it clarifies the things.
    Regards,
    Ved

  • How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    As soon as I posted, Ifigured this one out on my own by going into user settings and changing the default there. Then I was able to delete the default @mac account. Thanks!

  • How do I change the default program that opens .acsm files?

    I am borrowing library eBooks to read on my Sony Reader.  I want to ensure that Adobe Digital Editions is the default program to open .acsm files, but am not sure how to do that.  Thanks for the help!

    Right (control) click on the .acsm file > select Open With > then select Adobe Digital Editions.
    Likewise you can select all of files in a folder with Edit > Select All > then Get Info and set them all to Open with: Adobe Digital Editions or whatever.
    Dennis

  • HT201342 In Apple Mail, how do I change the default outgoing address for mailboxes that I've set up?

    In Apple Mail (Yosemite on a MacBook Pro), the default address for outgoing messages from mailboxes that I've set up that are *not* tied to separate email accounts has suddenly become my iCloud address (which I almost never use). I've got my default set to use whatever address is the default for the mailbox I'm in. This works fine for mailboxes associated with different mail accounts, and until recently it worked fine for mailboxes that I had set up for convenience, using my default email address (which is an Earthlink address I've had for many years). Somewhere within the last year, perhaps with an upgrade to the OS, I've found that outgoing mail from one of those mailboxes (but not from the general Inbox) defaults to my iCloud address. I have to manually choose a different address each time (which is hard to remember to do). This is new behavior, and very unwelcome. But I can see no way to change the default email address associated with each mailbox.
    How do I undo this unwanted connection?

    Hi everyone
    Sorry however I'm experiencing a similiar issue, in that I have 10 differing email accounts.
    However in the default email accounts, for some bizarre reason, only 4 show, being icloud, one of my older yahoo email accounts, my work email and then "From My PC".
    I run two other businesses of which I have a proper Google Mail Business Accountsfor each, but non of my google email address show in the default list.
    Is there any reason why?
    I actually want one of those to show.
    I have put my google mail to the top of the inbox, however it still doesn't show?
    I've also put the default calendar as my google business account but still the default account doesn't display.
    Any ideas?
    Jonathan

  • How can I set the default save format for photoshop edited photos?

    I just spotted that some of my photos that I've edited in Photoshop from Lightroom are a whopping 450MB. Looking deeper I found that they are saved as uncompressed TIFF files, this despite the default save format for Photoshop in Lightroom's preferences being set to ZIP compressed TIFF files. So why doesn't this setting work and how can I make Photoshop save things compressed?

    Sounds funny but first tell us what version of PS you have, what version of Lr and which OS. Thanks.

  • How can I set the default home page for all new users in Firefox 4

    I'm trying to deploy FF 4.0rc1 in a corporate environment but I can't find a way to set the default home page or any other settings for that matter.
    Is there a way to set the default home page for all new users and lock it so that the users can't change home page?
    Best regards
    Jonas

    In Firefox 4 the template folder for new profiles (C:\Program Files\Mozilla Firefox\defaults\profile\
    ) doesn't exist. You can create that \defaults\profile\ folder and place a file user.js in it with the prefs that you want to initialize.
    See:
    *http://www-archive.mozilla.org/catalog/end-user/customizing/briefprefs.html
    You can also use a mozilla.cfg file to set the default value for prefs.<br />
    See: http://kb.mozillazine.org/Locking_preferences
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes
    lockPref(); // lock pref, disallow changes

  • How do I change the default paper size for printing?

    I am running Firefox 3.6.3. Recently, the default paper size for printing unexpectedly changed to a user-defined size of 3.00" x 4.57". It used to be letter size (8.5 x 11). The default paper size is 8.5 x 11 for everything else. I have tried changing the size in the preferences dialog box and then clicking "default", but after I close Firefox or if Firefox opens a new window, the default size switches back to 3.00" x 4.57". Does anyone know how to fix this?
    == This happened ==
    Every time Firefox opened
    == About 2 weeks ago

    In "mine" dutch firefox 3.6.12 there is no option to change paper-size see
    "about:config" Promise to be careful (and be!) Enter "print.postscript.paper_size" gives a empty screen
    "paper_size" gives a few results
    What about the numbers 4259872, 4784247 and what is the meaning of
    paper_size, paper_size_type , paper_size_unit

  • How do I obtain the full path string for my file?

    Many Mac applications are particularly bad at guessing what folder I want to grab a file from.  As a result, I waste a great deal of time fishing all through my directory tree in order to put and take my files in and from the right location.  It does seem to be better is some applications but still the nuisance is an issue.  Of course in Windows this can happen too except there I have a workaround to help out the foolish applications.  I can copy the full literal path to the clipboard from Explorer.  Then when the file access dialog comes up I can paste the full literal path ahead of the filename and snap to the correct folder.  On my mac, I have had mixed success approximating this strategy.  Sometimes, if the target folder isn't empty, I can use the Finder to browse to the target folder and open the Get Info dialog for a file and copy the full path from within that dialog.  This does not work though when the folder is empty and Mac does not support the create new text file on the fly feature.  Furthermore, I have noticed some strange behavior even when I do have the full path copied.  One such example is using TextEdit, pasting this full path has resulted in the application using the full path as a really long filename for the new file which still resides in the folder the application incorrectly assumed.
    There is a list box in most Mac file access dialogs with _some_ of the recent folders I accessed listed for quick selection but nine times out for ten the folder I just came from isn't among them.  That detail really surprises me.  Do regular Mac users have habits that prevent problems like this, or is there a better way to _bank_ a literal folder location I know I'll need to use soon and often, or do I just need to get used to fishing for folders during file access?

    Welcome to Apple Support Communities. Most of us are users here.
    Create folders and drag those 'frequently used' folders to the left-hand FAVORITES column/sidebar in Finder.
    Then just drag your files to the destination folders, or click on them to select them as destinations from your applications.
    When you no longer need these folders, right-click to remove them from the FAVORITES sidebar.
    They'll still be in the original location where they were created, just no longer visible in the sidebar.
    Another thing to note is that the full path of your current destination is shown at the bottom of the screen in Finder. In this case Macintosh HD, Users, (Home folder name), Desktop.

  • How can I change the default process priority for plugin-container?

    I'm on Windows XP and using Firefox 16.0.2.
    While browsing the web I often listen to pandora, but the music playback is always choppy or jerky. It especially occurs when scrolling pages up/down on other tabs. I saw on another question - https://support.mozilla.org/en-US/questions/930496 - that one solution is to change the plugin-container.exe priority to AboveNormal. I've done this several times and it works really well!!
    I also tried changing the firefox.exe priority up and down, but this is ineffective (choppy playback problem still occurs). It is very much related to the plugin-container priority.
    Please could you provide an about:config option to set the default process priority for the plugin-container. It would make a big difference for those users who have the problem. Thanks!

    thanks
    i also found solution for my poblem:
    i have this code:
    jMenuItem jMnItEdit;
    jMnItEdit.setAccelerator( KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER, 0));
    also i had ActionListener bounded to this JMenuItem
    but Ialso had in form JTable and it always grabbed my VK_ENTER event and that menu item wasn't working at all
    but when i overrode that input map for JTable and set
    tableInputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0, false), "none");
    everything started to work perfectly,
    thanks a lot

  • How do I set the default from email for invititations

    I use my ical calendar for different business and personal calendars.
    Is there any way to set up the "from" email account to coinscide with the calendar the event is made for.
    i.e. If I make a personal event, the invite is sent from my personal e-mail, and if I make a business appointment, the invite is sent from my business account.
    I was able to do this with google calendar, but I am trying to be all in the cloud.
    Any help would be appreciated.
    P.s. running 10.7 and iCal vs.5.0.1
    Thanks

    I understand that you want each of several email accounts to act independently, such that mail for account 1 is sent and received only on that account, then account 2 likewise, etc.
    For each email account, left click on the account name and then select 'View settings for this account'.
    On the 'Account Settings' page, look at the 'Reply-to-Address' (should be blank) and also select the 'Manage Identities' box, which shows the default name and email address. If the default is not for that account, you can add or edit the entries and set the default.
    Back on the 'Account Settings' page, select 'Outgoing Server (SMTP)' and check the user name/account there. It should be for the same account.
    For each account, the other accounts should not be mentioned in any of the places identified above.
    - duggabe

Maybe you are looking for