Reputation
667
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
9 25
Impact
~84k people reached

  • 0 posts edited
  • 0 helpful flags
  • 33 votes cast
Jul
19
comment Is there a way to move the current window to another desktop without using a mouse in OS X?
It's working for me without the control key...? Just click, drag, wait patiently. Not the easiest thing to do with a touchpad...
Jun
11
comment Getting console2 to work nicely with UAC
Not sure if this qualifies as an answer for this question, but I'm interested in software like this in general. I'll give it a shot :)
Mar
13
comment Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7
The fact that you've given it thought gives me enough comfort to use the code you've provided :)
Mar
13
comment Expected behavior with duplicate NT hosts file entries?
Tried to edit the question to make it less inaccurate, based on JdeBP's comment.
Mar
13
comment Expected behavior with duplicate NT hosts file entries?
@Synetech: Can you clarify which part is incorrect? Is it the part JdeBP already mentioned on the OP (that you can have multiple entries with the same domain) or is there something else I've missed? :)
Mar
13
comment Expected behavior with duplicate NT hosts file entries?
Can't remember if I did or not, as I was working with this between 3 to 8 months ago. But good point and thanks for checking into this. Do you have multiple adapters, and can you check if the adapter preference settings I mentioned in my self-answer have any impact?
Mar
13
comment What's the closest equivalent of Little Snitch (Mac program) on Windows?
If you're doing development/reverse engineering work as opposed to simply trying to monitor your PC, I might suggest something like Fiddler or Wireshark. Those programs are designed around actually viewing, recording, debugging, modifying, injecting into, and replaying network streams, rather than just getting high level (executable/port level) control of program access. They're not a lot like Little Snitch IIRC, but they're much more helpful for dev work.
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
Then again, the whole DOS system is full of poor design decisions and lack of fixes for backwards-compatibility reasons, so I guess I wouldn't put it past them to intentionally have made a bad call here :) Okay, rant over!
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
Alright. Since you continued the thread... lol. Windows never has any idea of my intent when launching cmd.exe, and this doesn't change depending whether or not I have elevated. There was already a default, and there is no compelling reason to change it, as there is no new info provided. I speculate (since I didn't work on the team that implemented UAC or patched cmd.exe after UAC was added) that this is just a quirk of cmd.exe, and that this whole "change" in behavior wasn't intentional. It is probably just a by-product of the multiple-token thing, and the order in which system calls are made
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
I was going to reply to this with a rebuttal. But I realized it is both idle speculation, and quite OT, so I'll just drop it :) Again thanks for your help. I'll accept for now, and reply later if I find anything gets broken by this fix.
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
Thanks, I'll give this a shot! Just a comment: If this is true, seems like lame rationale to me :) The only file I routinely edit with elevated privileges is under system32 is the hosts file. The rest of them are almost always under %ProgramFiles%/%ProgramFiles(x86)%, a custom directory in the root, or a file for a different account under C:\Users.
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
I've tried to edit my question to try to show that what I'm expecting is different from what Windows does by default. Please let me know if what I'm asking has problems, maybe a) the wording isn't clear b) it doesn't make logical sense due to how permissions work, or can't be done c) something will be broken if this is worked around.
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
I understand that there are two sets of tokens involved, but how is the token related to the user profile? For example, the environment variable %UserProfile% is not changed under this elevated command prompt, and if you type CD %UserProfile% you'll end up in that directory. If you create files, the owner is still "you", etc. I know drag-and-drop is broken by elevated programs, but is anything else? Should the environment/path actually be different? "your expected outcome is false, and the actual outcome is expected" - yes I know this is how it works on a fresh install. I want to "fix" it.
Mar
13
comment How can I make wireless transfers faster on a Linksys WRT54G running DD-WRT?
+1 for useful info. Am I correct that IPerf is source-only? JPerf (on the same page) seems to have a pre-compiled Windows-friendly executable, which might be helpful depending on the client machines.
Mar
13
comment Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7
+1; Works great! I'd add HKEY_CLASSES_ROOT\Directory\shell\runas:Extended="" etc. so that this appears on the shift+right-click menu rather than the right-click menu. Also, you have - for keys. Doesn't that delete the keys and sub-values? Shouldn't you leave the existing keys there, or is it probably safe/won't conflict?
Mar
13
comment Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7
-1 I don't seen any evidence that this will elevate by default under Windows 7, as the OP asked. It will add a link that already exists under Windows 7, but won't add elevation. Can you provide details to the contrary?
Dec
7
comment Expected behavior with duplicate NT hosts file entries?
I can't test out adapter preference/priority at this point, so please comment if you know this to be correct or incorrect.
Oct
20
comment Tool to create a patch that modifies/adds files within a directory structure
+1; I think I could combine this with a batch file to get the right p-level. I'll accept this once I implement it, if it wasn't too much of a pain. Side note: Off the top of your head, do you know any .Net and/or Java libraries to apply patches?
Oct
20
comment How do I check which process is using port 1099?
+1; You could also type tasklist | findstr <pid-here>, so you don't have to leave the command line.
Jul
19
comment Expected behavior with duplicate NT hosts file entries?
@JdeBP: I know this is bordering on a second question, but if a host is multi-homed, what does that mean, and how is that useful to me? If I ping it, I'll only get one address. Same if I try to terminal-serve to it. BTW, your link is quite useful to me, as it backs up the behavior I described in my question. You should write an answer :)