Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Am asking on how to gain administrator privileges in Windows Embedded Standard 7, i have an embedded machine that works with WES7 and i can't access some of the developers needed peripherals in order to perform some developing stuff like : RS323 Port, even more i can't modify some system files in order to control the startup applications or control the kernel, eventually i can't remove some files like : pictures or txt files that i've created before, but i have done this through command prompt, just to remember, am working in C#.
Here i can't access COM port when i try to send data through it :
I have founded the solution : i've stopped the process "Server.exe" in the directory : "c:/data " that have been taking the COM port to control the machine over wifi, and now i can have the full access to the COM port, another thing, i can now modify the system simply by unlocking the hard drive by typing in CMD the command : "fbwfmgr /disable".
+1 Please if it helped :)
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have a complex legacy software which is a C# WinForms application, recently upgraded to .NET Framework 4.7.2 and added with a WCF REST API for external communication.
This application requires certain files on the disk, certain partitions needs to be available (such as a D: drive) and so forth (due to a lot of hardcoded file management etc). The app also requires a license USB dongle and a big SDK framework installed on the PC.
Now we would like to run several instances of this application in one server and get results out from it via its REST API. Is there any way we can do this? I guess several virtual machines would work, but is there any other way, Docker maybe?
Docker is out. As a commenter stated, Docker is not designed to mimic real hardware. See this comparison for more information.
I suggest a traditional Windows virtual machine and something like Hyper-V USB Passthrough.
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 want to monitor the event of a new Antivirus installation ,
currently what I have in mind is listen to change in the Uninstall registry folder and then compare the new application name with a list of known Antiviruses.
I want to improve it by being more specific , is there other resource I can monitor in order to know when a new Antivirus has installed? for example some registry that new Antivirus have to edit in order to be marked as an active Antivirus etc.
Thank you for your help
Registry is not the best way. The information you want is usually exposed through the WMI.
Since you haven't specify in tags what language you're using, here's the link to the VBScript example. Beware that on 64 bit OSes there're effectively 2 WMIs, 32 bits and 64 bits.
If you want your software to react instantly, WscRegisterForChanges API allows you to be notified when the AV is started or stopped.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am writing a kind of accounting software which will run portable on a USB Memory Stick. I would like to make a hidden partition on the Stick to store some data to check the validity of the database file on the main partition. Currently I don't know how to start. Could anyone tell me any way to do it? What partition type should I use? How do I read from it with C# .NET? What Win32 APIs are there. Anything.
UPDATE:
Here's a scenario, I use a file (encrypted) to store a value (e.g. Amount of money), the user can backup that file, and whenever he restore the file, he restore the value at the time he backup. That's why I want to have a hidden partition. Encryption is not an option for me.
Rather than hiding you can use encryption
How to lock a folder on a USB drive?
There is a TrueCrypt project that does something similar you want. It is open source, so you might take a look how they are doing that.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
i have 200 terminals (Windows-mobile) that connect to the server Through WIFI
how i can transfer any file to all of them ?
is there any tool or can i get any C# sample code for this ?
thanks in advance
You should write some sw on the mobiles to sink the file instead of pushing on them. So each user can ask the server for transfer the file. If the file you need to transfer is a deploy of an application, you can even consider some strategy of auto upgrade as described here: http://msdn.microsoft.com/en-us/library/aa446487.aspx
You could create a log-on script assuming you have Active Directory and a friendly system administrator.
http://www.rlmueller.net/LogonScriptFAQ.htm
Microsoft have a non-free tool called System Center Configuration Manager that will do what you want. You need to install the client app on the phones first, then they poll the server for updates.
This is likely to be massive overkill for what you want but it's hard to be sure from the question.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
We have a deployment system at my office where we can automatically deploy a given build of our code to a specified dev environment (dev01, dev02, etc.).
These dev environments are generalized virtual machines, so our system has to configure them automatically. We have a new system requirement with our next version; we need to give certain user accounts read/write access to certain folders (specifically, giving the ASPNET user read/write to a logging folder).
I'm pretty sure we could do this with WMI or scripts (we use Sysinternals PSTools in a few places for deployment), but I'm not sure what is the best way to do it. The deployment system is written in C# 2.0, the dev environment is a VM with Windows XP. The VM is on the same domain as the deployment system and I have administrator access.
Edit: There's not really a right answer for this, so I'm hesitant to mark an answer as accepted.
Another option would be to investigate using a Powershell script There are a lot powershell community snap ins to support VMs and active directory.
Active Directory Script Rescources
Powershell Script Library
Microsoft Script Resources
VMWARE VI Toolkit (for Windows)
If you can run scripts, it might be as simple as runing the CACLS command on the VM. Perhaps just have your deployment script read in a config and run the appropriate CACLs commands.