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
An attempt at security.
In an attempt to make my computer useless if stolen I have a batch file which tests for a file on my pen drive when booting and if not found then it switches to a dummy background and closes windows down. If my pen drive is present it takes a backup of my critical files and proceeds normally.
I would like to do the same when booting into safemode. I've found the Reg key that I think I needs but how to I tell it to run checkpen.bat ?
HKLM\SYstem\CurrentControlSet\Control\SafeBoot
Ian
You need to do following
1.) Install the batch Job as a Service. The steps can be found here
2.) Make a entry in HKLM\SYstem\CurrentControlSet\Control\SafeBoot\Minimal with the name of the service. Add a default column and set it as `Service'
Hope this helps.
Related
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 need to automate the updating/installation of MS patches in some remote machines.
I can't use MDT because there is already a different subsystem handling mass software/patch distribution on all the workstations.
Therefore the easiest/fastest way would be to connect with a script to each machine and run a command (if it exists) that would start updating the system just as if a user had clicked Control Panel/Windows Update/Update now...
I searched and found the wuauclt utility which I try to run on a machine and check if it works and it just doesn't do anything.
I tried doing
wuauclt /a /detectnow
and then
wuauclt /r
It doesn't report that "The command does not exist" or anything like that. It just doesn't output anything at all and I see no updates being installed in the background.
Any ideas?
I read this article yesterday, I think it might be able to help you. Please give it a look and let me know if it helps.
http://www.ehow.com/how_8724332_use-powershell-run-windows-updates.html
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
Which Windows 7 file(s) are critical for booting?
In other words, what is the shortest way to irreversibly dismantle a Windows 7 instance via a batch script, assuming we have root privileges?
I googled a bit, but I found ambiguous information.
*I'm asking this out of curiousity - not to do evil deeds.
The thing about booting files is that all of them can easily be restored. If you want to irreveribly degrade Windows about the only thing you can do is destroy the registry files. See this link for the location of the registry archives.
http://www.easydesksoftware.com/regfiles.htm
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
I have a slight problem with the openldap server installed with Mac OS X 10.6.8 (regular, not server). When I launch slapd in a terminal, it stops itself after 1 or 2 seconds... I just have the time to see its process... It doesn't seem to crash, because when I specify a log file in the configuration, the log is created, but empty.
However, when I launch it with the debug option, for example -d 1,it doesn't fork and stays in the terminal (that's the documented behavior) and it runs normally. I can connect, and so on... Meaning, I presume, that's not a config problem.
Is there something stupid I've forgotten? (btw, I've repaired the authorizations, just in case, but that doesn't change the problem...)
Thanks in advance!
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
i am running xampp on my windows 7 machine. i've downloaded the sourcecode for concrete5 5.4.2.2 (that is a PHP-based CMS) but some directories are not writeable, see screenie:
since there is no such thing as chmod on windows i am now wondering how to make the folders writeable by the webserver?!
There are two steps that should help you. First, check what user the web server is running as. If you can't see it easily, just Task Manager - it should show you. Then, once you know that user, give him read/write permissions through windows explorer to that folder. Alternatively, you could give "eveyone" access this way, but that has some serious security implications.
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 13 years ago.
Improve this question
I found that taking any exe file, renaming it to program (without extension) and putting it in C:\ root folder might cause strange things in windows like showing this application when other programs start.
What is it? is it some kind of backdoor?
p.s if you restart windows after doing so - you get a warning about it.
thanks,
Adi Barda
Maybe the fact that some programs don't know how to access C:/Program Files/. because it has a space. Then they are trying to execute C:/program, which in your case turns out to be the file you created.