Reputation
1,119
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 13 28
Impact
~148k people reached

Jan
22
comment Locale-unaware %DATE% and %TIME% in batch files?
For the record: for /f %%x in ('wmic os get localdatetime ^| findstr /b [0-9]') do @set X=%%x is a tiny bit nicer. There's also a more compact version available over here, namely in that comment.
Jan
31
comment How to use a Volume Shadow Copy to make backups
+1 This is pretty amazing. Thank you for taking the time to port this to ps (despite your hatred of VBS) and for sharing it here. I hope more people will find it useful, as this definitely deserves more than one up-vote.
Aug
26
comment Why does $_SERVER['REMOTE_ADDR'] have a value of “127.0.0.1” in local environment?
@Emanuil: Only if you are unaware what 127.0.0.1 is, and that is something so far-fetched that I did not assume it.
Aug
26
comment Why does $_SERVER['REMOTE_ADDR'] have a value of “127.0.0.1” in local environment?
"That's when I run PHP locally." totally answers your own question. No?
Apr
19
comment Windows 2008 never run a program “as administrator”
PS: Whooohoo! My scheduled task runs under an unprivileged account! If I could up-vote you twice, I would. :-) I make a copy of the original update.exe to u.exe before I begin and run the u.exe. Et voilà, the batch file runs right to the end. Thanks again!
Apr
19
comment Windows 2008 never run a program “as administrator”
Yes, if it would have triggered the prompt (otherwise running un-elevated) I'd know what's going on. Maybe I wasn't 100% clear, but some of the comments clearly where of the "Oh, UAC, I know what he's asking" variety, and it kinda irritates me if folks seemingly don't even read the question from top to bottom.
Apr
19
comment Windows 2008 never run a program “as administrator”
You were right, it's the term "update" in the file name. Kudos to you, I would never have thought of that. What an annoying half-smart heuristic. Thanks for giving the right hint!
Apr
19
comment Windows 2008 never run a program “as administrator”
@Ben, you might notice that I did not even use the word "prompting" and that I quite thoroughly described what I'm facing.
Apr
19
comment Windows 2008 never run a program “as administrator”
Thanks Ben, that's the first sensible response to what I actually asked.
Apr
19
comment Windows 2008 never run a program “as administrator”
@Mark. I'm not sure how else I could possibly put it. This program does not trigger UAC. It shows up in Explorer with the blue-yellow shield overlay icon even if it is not running. This means, that it will be started as elevated or not at all. This happens before the program could possibly do anything itself. It is what you normally get when you configure it as "always run as administrator", just that this isn't the case. Really, guys, read what I wrote, because I only seem to be repeating myself here.
Apr
19
comment Windows 2008 never run a program “as administrator”
@Bart, you do not understand me. The app does not trigger UAC. And no, I didn't write it.
Apr
19
comment Windows 2008 never run a program “as administrator”
@Bart: It is an auto-updater. To be clear: The program is not trying to access something restricted and that triggers UAC. Somehow it is marked by the OS that it should always run elevated. I cannot even start it as unprivileged, which is what I would like to change.
Dec
5
comment How to use a Volume Shadow Copy to make backups
@Kev: Yes it does, but you should definitely test it yourself. If you find a problem, please tell me here. You can use Robocopy or any other tool you prefer, the mounted volume behaves like a normal drive.
Nov
22
comment Windows Service: Can I configure the current working directory?
Hm. Just tested, does not seem to work (On Windows 7, used REG_EXPAND_SZ data type). Can you re-confirm this actually works for you, please?
Oct
28
comment Will IIS always be installed as fully patched?
@Richard: Does that mean there are no patches that affect IIS and something else, and may be downloaded to patch that "other thing" even though there is no IIS installed?
Aug
9
comment Is there a self-contained, easy-to-use and secure WLAN hotspot solution?
Yes, something like this is what I have thought of initially, without actually knowing what exists in that direction. Will have a look at this, too. Thank you! (+1)
Aug
9
comment Is there a self-contained, easy-to-use and secure WLAN hotspot solution?
Yes, I know that I'm the one that will get the calls anyway. ;-) That's part of why I'm looking for something that is not too hard to set up and not too easy to break. I've just had a glance at the CoovaAP page and it looks like a viable solution. Maybe a OpenWRT-based router is the best solution for this, I think I'm gonna suggest it to them.
Aug
9
comment Is there a self-contained, easy-to-use and secure WLAN hotspot solution?
P.S.: So ChilliSpot is not under active development any more, correct?
Aug
9
comment Is there a self-contained, easy-to-use and secure WLAN hotspot solution?
Actually, the low-tech, small-area, single access-point SOHO solution is what I had in mind. Scaling issues do not apply, fortunately. Config-and-forget because I have been asked this by a friend with close-to-zero computer expertise (let alone Linux), I'm not too experienced either when it comes to Linux, and I don't want to give a recommendation that basically binds me as their primary contact for all "please help, something's broken" situations. :-)
Jul
28
comment SQL Server 2008 Express - “Best” backup solution?
+1 One more bit of info: Don't forget to mention the instance name via the -S ".\SomeInstance" if you get login errors from sqlcmd.