Application-Based Operating System...? [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 8 years ago.
Improve this question
So I wanted to create an operating system that was Purely for running a windows application. Is there any way to do this, and what is the name of an application-based operating system?
This application doesn't import to any place like appdata, program files (program files x86) or any %windir% directory, it just stays in the folder with the .exe
UPDATE
Do NOT just say "OH IT'S SOOO HARD DON'T DO IT" I need a program (That makes an OS) that can be based off of an application.

I don't think you really want to build your own operating system. There's already an operating system called ReactOS that's pretty much what you're looking to build.
Just to reemphasize that creating an operating system isn't easy (especially one that runs Windows applications), ReactOS development started in 1998 and they're still in alpha stage.
If you still want to have a crack at it, I would recommend having a look at OSDev, Wine source code and ReactOS source code.
Have you considered perhaps making a minimalistic Linux distro that contains the minimum number of programs needed to start up Wine and the Windows application you need?

Related

How hard is it to control laptop's battery charge or to limit? [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 months ago.
Improve this question
I wonder if it is possible to write a program which would limit the battery charge of a laptop. I know some manufacturers like Asus, Lenovo etc. have such build-in software, but I am curious if anyone had tried creating a universal software for that and if you would share some starting points. Not sure if that is even possible since I am unable to find such software. Thanks!
There is an almost generic tool for Linux: TLP. You find it's homepage (including a link to the source code) on https://linrunner.de/tlp/. It works as power saving utility and also can adjust the battery charge levels, BUT that feature is only for ThinkPads.
To my knowledge there is no universal interface to set the charge levels of laptop batteries, so a generic utility would have to know all that vendor specific settings probably.
A short research showed, that Linux supports more than Lenovo inside some kernel drivers, so maybe that code could help you to also write software for a different OS. My advice would be to research the possibilities for Linux to then think about a generic utility for another operating system.

Analysis of hostile code. How to deal with packer and how to figure out the language it is written on? [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 6 years ago.
Improve this question
I received a tailored email with an infected attachment from a public email. I would like to more about the payload. What is the right way to study this? I would like to use a debugger. Easier, but riskier option is to run it on Windows guest/Linux host on a sacrificial box without wifi card and comparing disk images before and after infection.
If I go the debugger way, how should I unpack the code?
How to tell in what language the malware was written?
Can any code be debugged by changing defensive conditional jumps (like "if debugger present" jump, or there are other pitfalls?
How likely is it for malware jailbreak vmware and infect Linux host?
This is a time consuming project. You should familiarize yourself with several tools:
You will need to identify packer. PEID is a good start.
Unpacking tools (GUNPacker).
Debuggers (OllyDbg or WinDbg).
Code analysis tool (LordPE).
Dissasembler.
Binary Analysis Tools (PE Explorer).
At least get confident using these tools on your own code. Otherwise, it might be better to contact professionals.

Windows Unix based client [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 9 years ago.
Improve this question
Is there any portable or light-weight unix base client available for windows? Though I know that with cygwin it is possible to execute unix based computing and commands for local machine, but I am wanting (if there's any) to have a light weight client that I can bring with me by a storage media. Is there anything like that available for windows?
Thanks.
Allocate some drive letter to a flash drive (say U:), then install MinGW and MSYS to it (installers: http://sourceforge.net/news/?group_id=2435&id=307402). Modify your PATH environment variable on both machines to point to the bin directories in both the MinGW and MSYS directories. Even if PATH entries are missing on a particular machine (because your flash drive isn't inserted), Windows will skip them.
If I understand the question correctly you want a small set of UN*X utilities that you can execute on windows, more lightweight than cygwin.
UnxUtils is just that. It's a set of commands ported to windows from GNU source, packaged as .exe. The only dependencies are to ms CRT. Copy only the programs that you need.
MSYS is similar and presumably more up-to-date, and is packaged as an installer.
Since you'll presumably be using a DOS shell, there are naturally some idiosyncrasies. In particular the find command is frustrating.

copying a windows program to another machine [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
I have a program installed on windows 7 in my laptop. I wish to install the same program on windows 7 in my desktop. unfortunately, I don't have the source file with me anymore. How can I copy the entire program from one machine to another machine and make it run?
It depends on the program if that's possible or not.
You would have to know, which parts the installer copied to your computer and to which directories. Even then it is possible that the installer checked for prerequisites, found them on the laptop, but are missing on the desktop computer.
You can try to copy the files from the %ProgramFiles% directory, but it is poor luck if that works and you can't be sure that it works correctly. So your best option is to organise the installer package again.
see How to Copy a Program From One Computer to Another Without a Startup Disk.I hope it will work.

How does the windows file system works? [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 5 years ago.
Improve this question
I am working on a project that uses a filesystem and I'm having some problems integrating with Windows.
I need help understanding how the Windows file system works.
Which Windows? The file system used by DOS and Windows up to Win98 (if I am not mistaken) is FAT. It is still widely used e.g. by memory cards, digital cameras etc. Windows NT and later Windows versions however use NTFS.
You may start reading about FAT and NTFS on Wikipedia.
You probably mean NTFS. Then the best reference is http://www.ntfs.com/
A friend of mine started implementing a defragmenter based on that information and it appears to work properly. That means the info from that site seems reliable.

Resources