Update Windows 7 via cmd [closed] - windows

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

Related

Can we find, in windows log file, rong password? [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
I filled my password instead of my username in my work computer. I'd like to know if other persons (administrator) can see it in log files.
If so how can I delete it?
Second question: is it possible get list of all failed login attempts (wrong passwords).
Thanks.
Seeing as the answer for windows is less than congruent across versions, specificity with regards to that aspect would be appreciated.
For windows 7 I would refer you here.
Prior to XP the windows "Event Log" would provide you with information that I believe would satiate your curiosity. However in XP+ things have changed. The XP version of the link I posted before is located here.
EDIT: For those who would like to do the same on linux...
On linux it's a bit simpler:
faillog -u root | Will list all failed root login attempts.
Whereas: faillog -a |
Will list failed login attempts for ALL system accounts.
The faillog file is located at /var/log/faillog & >|/var/log/faillog should wipe that file if that's what you're looking to do.
More information on faillog can be found here: http://linux.die.net/man/8/faillog

Run program when booting into safe mode Win7 [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
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.

never ending "you must restart your computer to apply these changes" after install [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 am working on a driver installer that after installing always leaves a message "you must restart your computer to apply these changes" with the options of "restart now" and "restart later". I am thinking that this is caused by a registry value that doesn't get cleared but I don't know what value or what key would be causing this. No matter how many time the computer is restarted the warning does not go away. If any one out there can point me to right place in the registry it would be greatly appreciated.
You can export the whole registry into the text file before the installation and after the installation and run windiff on these files. The files will be huge, but in your days hard drives, you know. This may give you a clue.

xampp on windows 7: set chmod [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
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.

Use ssh from Windows command prompt [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
Question:
How to use ssh & scp from the Windows command prompt?
I remember I installed a program in the past that let me do this but can't remember now what it was.
Note:
I do not want to use putty.
New, resurrected project site (Win7 compability and more!): http://sshwindows.sourceforge.net
1st January 2012
OpenSSH for Windows 5.6p1-2 based release created!!
Happy New Year all! Since COpSSH has started charging I've resurrected this project
Updated all binaries to current releases
Added several new supporting DLLs as required by all executables in package
Renamed switch.exe to bash.exe to remove the need to modify and compile mkpasswd.exe each build
Please note there is a very minor bug in this release, detailed in the docs. I'm working on fixing this, anyone who can code in C and can offer a bit of help it would be much appreciated
Cygwin can give you this functionality.
Try WinScp
Give http://www.privateshell.com/ a shot.

Resources