Recovery Mode for a program [closed] - windows

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm making a new version (of my old Batch program), which is called Encriipt BETA 16.3, that allows you to encript your private folder. It has a register system integrated on the program and I'd like to add a Recovery Mode (so in case you forget your user/password you won't lose everything). I'd like to put a security question or something, but i'm not sure, because if, for an instance, a friend enters and the question is "Where were you born?" or "Which was your primary school?" he will easily answer it and access to all the files, passwords,... Any ideas?
PS: I'm referring to which kind of recovery "things" I could do, not referred to inputs.

Your problem is roughly analogous to Microsoft's Bitlocker, which also encrypts data with a password. Their solution to forgotten passwords is to generate a long recovery key which users need to store securely away from the encrypted machine.
As SomethingDark stated in a comment, a simple security question is a bad idea because it's easier for other people to guess the answer to than the password.

Related

Understanding Windows application footprint [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Just wondering if anyone could point me in the right direction for documentations that specifies what a Window application's file footprint is?
More specifically, I am looking for a documentation that specifies what registry files (and which hive) and files/directories must be created when an application is installed.
#Raymond Chen is totally right, however, there are some pretty common places to put things in the registry\file system based on the programs needs. I.E. Does it start on login or start up? It really depends on how the program interfaces with Windows. Hopefully that points you in the right direction.

What is the code within the choice command [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
That title may be a bit confusing, so let me elaborate. I want to know what the code is behind the choice command. There is not really much reason other than curiosity and the fact that it might help me one day. I've searched everywhere but can't find it.
I don't know much about open source projects and the like, but may it be because Windows doesn't want people to know (or for it to be easily accessible)?
Any information will be appreciated.
Windows is not open source. The code for any Windows command-line utilities is not routinely released. This has nothing to do with Microsoft especially not wanting you to know how choice in particular is implemented!
That said, it looks to be very straight-forward. Implementation would be a dozen lines or so at most.. what part of it is giving you trouble?
As Mahmoud Al-Qudsi pointed out, Windows is not open source. FreeDOS however is, and the choice command is available here.

Can I programmatically access an RSA soft token passphrase [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
In my office, we use RSA "soft token" software to authenticate connections to our UNIX servers. This requires one to enter a PIN, click a button to generate a passcode, then click another button to copy the new passcode to the Windows paster buffer, which can then be pasted into a "password" prompt.
Is there any way to perform these actions programmatically, perhaps from the command prompt? I want to be able to run "batch" programs that connect to the server.
This is a similar question, but not quite.
My guess is the anwser is "no, you can't do that", but I thought I'd ask.
Look at the answer I provided to this SO Question. It essentially involves using SendKeys to simulate keystrokes to the RSA app.

How to password protect an application process [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Can somebody tell me how to protect an application using password.
I mean suppose I start an application (say uTorrent) then I want to provide a password so that nobody can close it or change any thing without password.
Thanks
Ashwani
Use Windows Switch User and let others to use less privilege account. Once you run your programs under your account, others can't access it.
This question belongs to superuser.com
IMHO it is not possible to protect an application (as normal user) in a way that prevents closing (by an administrator).
All other stuff is handled by the windows user system. Just lock your user session...
Or please describe your real problem.

How to force delete a file? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
This question exists because it has
historical significance, but it is not
considered a good, on-topic question
for this site, so please do not use it
as evidence that you can ask similar
questions here.
How can i force Windows XP to delete file that is currently being used by some application?
You have to close that application first. There is no way to delete it, if it's used by some application.
UnLock IT is a neat utility that helps you to take control of any file or folder when it is locked by some application or system. For every locked resource, you get a list of locking processes and can unlock it by terminating those processes. EMCO Unlock IT offers Windows Explorer integration that allows unlocking files and folders by one click in the context menu.
There's also Unlocker (not recommended, see Warning below), which is a free tool which helps locate any file locking handles running, and give you the option to turn it off. Then you can go ahead and do anything you want with those files.
Warning: The installer includes a lot of undesirable stuff. You're almost certainly better off with UnLock IT.

Resources