Get XP to automatically "press" the default button on a dialog box - windows-xp

Some time ago, I came across an online article that described how to configure Windows XP to automatically accept the default option on a dialog box. As I (vaguely) recall, it was some sort of oddball registry configuration that did this, and it amazingly worked. Yeah - it's dangerous, but it would be very helpful right now with a problem where I'm trying to run Windows XP in an unattended situation. I'm trying to suppress any kind of interaction.
So if you can point me to the magic incantation to repeat this, I'd appreciate it. I'm sure I saved the link, only it's at least 2 hard disk crashes ago.

I found this again later. There's a registry entry called "EnableDefaultReply" that can be used to control this functionality. An MSDN article with extensive detail, cleverly called "Enabling Default Reply" can be found at that link.

Not sure if XP can do that, but give Buzof from Basta Computing a try. Works very well for what you have in mind.
Maybe you recall setting the option of the mouse pointer to the default button?

Related

Microsoft Edge address bar no longer autofill

I have loved Edge and have convinced others to use it - until 2 days ago. Out of the blue I can no longer begin typing a web site in the address bar and have it autofill. I have to type every single character.
I went into settings and found one called "Show me suggestions from my typed characters" and "Show me suggestions from history" but both are greyed out and cannot be turned on! And they say "This setting is managed by your organization."
I have tried everything to fix this - including going back to the previous Windows.
I was going to actually uninstall Edge but found out I CANNOT DO THIS! This is crazy. Then - when going to uninstall Edge - I saw what might be the culprit (though I have no clue - I'm not an expert). On October 7 something called "Microsoft Edge Update" was added and probably part of a Windows update and is in my list of add/remove programs, which of course as I stated above, cannot be done. I will disable Edge and stop using it if I cannot get this fixed.
What's going on? And there were a few other weird glitches, like the most commonly used function for me is alt-tab and that was taking me weird places. Can you please help me?
Same thing happened to me at the same time. Just delete the keys besides the default one in the following registry path:
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Edge
Just delete the keys besides the default one in the following registry path: HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Edge
This worked for restoring the autocomplete function but my Edge still claims it's managed by an organization while it's installed on a home PC. I installed the insider beta just to install another version of Edge and it has the same issues.

MobaXterm created `xwin_mobax.exe` or it is a virus?

Using Personal Edition v20.2 of MobaXterm at Windows 10...
No problem to remove a strange file like C:\Users\USERNAME\Documents\MobaXterm\slash\bin\xwin_mobax.exe ?
PS: this page say that xwin_mobax.exe is a virus, and windows asking about pemission (I cancel).
The page link that you mentioned in your post describes about checking running processes associated with MobaXterm program and if you find those suspicious then it can be dangerous but they are not categorizing as threat since it is tool for SSH and as you know for that it reads keystrokes and mouse inputs.
So simple answer is NOT currently but if you monitor some unusual behavior by its process then it can be.
Did you check this?
1 Antivirus labeled it as Trojan.Heur
The most significant indicator is an Anti-VM trick
(You can also check here and here)
Conclusions:
You can continue using your "Personal Edition v20.2 of MobaXterm", but
You can to delete as precautionary, but it is only 2.5% (1 of 40 detector-engines) as metadefender report YnpJd01EUXdNWEo1YUhSSmFEQXRSRlVyMWlGMkNidzg. Seems that will not affect MobaXterm functions

VBA hide form from menu

I'm trying to hide a form from the menu using VBA; I've Googled this, but everything is giving me the .visible option, however I want to hide it from the groups menu located on the left side. I could just as easily manually do this, however it's very tedious and I can't be going on other user's computers to do so.
Is this possible?
I might suggest normally you should only disable menus vs. removing them all together, might suggest doing an enable/disable menu item instead..
It should be possible but how much work is it and is it worth it to you? It isn't clear what your host application is just that you're using VBA. Might suggest the host application may already allow for customization if so use what it provides.
If the app doesn't allow customizing your menu you can still do it, just how much work is it worth for you? You'll need to look at the Win32 way of doing things. If not familiar with Win32 and menus take a look and start here looking here at MSDN to start learning about menus in Windows. After this you'll find Pinvoke will be handle to give you C#/VB sample to call what is needed. The VB should be useful but you will probably need to further translate the VB to VBA for your needs. FYI when starting out a a C/C++ developer back in the day 30 years ago it was anticipated anyone getting into windows might take them a few months, there is a lot you'll need to get up to speed on. Thus is this feature really worth it?

Matlab 2012b desktop - reactivating the old "retro style" desktop?

This has the clear potential of ending up in a flame war, but anyway, I give it a try ... there is not any definitive answer out there (as yet).
On one of my machines, I literally was switched/upgraded to Matlab 2012b. It's a nice new pretty shiny desktop, ok. But I am very much used to the old crappy one, for a good number of reasons. Has anyone of you found a specific way (options, hacking config files, whatever) in order to regain the old Matlab desktop - primarily the old menus (file, edit, ...) and buttons of the editor window (the debugging stuff, like executing a cell)?
EDIT (1): The interface of the figure-window is still the same as before, with menus etc., no matter whether it is docked or not. That's interesting, there is still a part of the old desktop there ...
There are a lot of good comments suggesting alternatives to what you originally asked, but the direct answer to your question is no - as far as I'm aware, it's not possible to get the old desktop back.
I'm not sure what "old version" you want - you can start MATLAB in a very sparse manner using
matlab -nojvm -nodesktop
in both Windows and Linux. The -nojvm command disables a lot of things you probably want, so
matlab -nodesktop
Is probably the easiest middle ground, unless your JVM is giving you fits. Note: this is a really, really sparse UI. I think they used to call it "Cleve Mode" at the Mathworks (http://en.wikipedia.org/wiki/Cleve_Moler)
But you probably want a newer version than what this gives you; what specific commands do you want? As others above have mentioned, executing a cell, for example, should never be done by point-and-click; its a great keyboard short-cut now - "ctrl-enter"; there's really
no reason to be clicking around in the "ribbon" or "menus" anymore.

Are there any console (not GUI!) alternatives to powershell.exe?

There are a number of GUI hosts for Powershell (Powershell ISE, PoshConsole, etc) but I'm not aware of any purely console hosts other than powershell.exe. Are there any that offer any advantages over powershell.exe?
I'd like to be able to customise more of the host behaviour - specifically to add and customise key bindings other than TAB, and to customise error reporting. There could well be more...
If there aren't any "extended" versions of powershell.exe that offer this, how difficult would it be to write one? I have the SDK sample code, and it looks fairly accessible, but it's hard to be sure what features powershell.exe provides as opposed to the powershell "engine" (as there's no documentation I've found that focuses specifically on the host capabilities).
How about Console it can host multiple shells. Might be worth a look.
The best pure-console for PowerShell is obviously PowerShell Plus, which actually uses a fullblown "native" Windows console, but it wraps it up in candy coating and adds tons of IDE-style features. As far as I know this is the only third-party host that's capable of running "graphical" console apps like edit.com
As a sidenote, I'm honestly not sure it's worth the handicap of a true console just to keep compatibility with whatever graphical interactive console applications like Edit.com might still be around. Considering the limitations, and the amount of work that has to be done to pull off something like what PowerShell Plus has... Personally I can't wait for the day when I no longer have to worry about and can move on to console apps that are really MEF-style plugins in a console-style interface like PoshConsole :-)
I realise that this question is years old, but since I stumbled across it in search of answers, I thought I would add my findings.
I settled on Cmder, for the following reasons:
It wraps cmd and Powershell, so you get the same set of features you would find in either.
The default colour scheme is Monokai, which is not only pleasing to the eye, but actually readable. Maybe I was missing something, but the default output for most of my tasks (Git, Mocha tests etc.) had poor contrast most of the time and I found myself squinting at the screen.
Tab support - I've wanted this for a while, but until now I hadn't found a solution that provided tabs as well as everything else. Powershell IDE has some character encoding / text colour issues that I couldn't ignore.
It's portable - stick it on a USB stick and take it with you wherever you go.
It's configurable - the developer (Samuel Vasko) has done a great job here. It's not lacking for customisation.
Specifically answering the OP's requirements, you can remap key bindings and create macros. I don't see the ability to customise error reporting however.
Hopefully anyone else out there still searching for a decent command line emulator on Windows will see this answer and rejoice.
If you stick with a "Console" subsystem approach you will be saddled with all the limitations that come along with a Windows console subsystem application. Many complaints about PowerShell.exe limitations are really limitations of this feature of Windows (kbd shortcuts, line editing, etc).
What's wrong with PoshConsole? Even though it allows graphics to be displayed it is still a "console-style" UI on top of the PowerShell engine?