228 reputation
1513
bio website
location
age
visits member for 4 years, 2 months
seen yesterday

Nov
24
awarded  Caucus
Apr
22
comment Why windows 7, “wrong password ” takes long time?
The linked blog post is a good one, but I would summarize it differently from this answer. "It is mainly" because when you type a wrong password, the local workstation needs to contact the domain controller to make sure the password is really wrong (e.g. if your password had been changed from elsewhere, and your local password cache had not yet been refreshed). The deliberate delay, to prevent quick brute forcing, doesn't kick in until you've typed a wrong password multiple times.
Mar
20
awarded  Self-Learner
Dec
19
comment Win 7 Explorer keeps reopening network shared folders?
Minor correction to my previous comment: What we actually did was use psfile filename -c to close connections to a file, every time the file was found to be locked.
Dec
19
comment how to test as local SYSTEM account? (accessing remote files from Python)
I don't think so. The <accessCheck...> output shown above shows that it's outputting those characters as \\172, and I'm not asking it to print in escaped (parseable) form, so I'm pretty sure it's getting those 5 characters as intended.
Dec
19
comment how to test as local SYSTEM account? (accessing remote files from Python)
That would make sense, but I checked, and the IP address was right.
Dec
19
comment how to test as local SYSTEM account? (accessing remote files from Python)
What's really strange to me is that \\hostname\share works and \\IPaddress.x.x.x\share doesn't. Usually it would be the other way around, wouldn't it? E.g. if DNS wasn't working.
Dec
18
accepted how to test as local SYSTEM account? (accessing remote files from Python)
Dec
18
comment how to test as local SYSTEM account? (accessing remote files from Python)
Thanks Scott, this is helpful. Regarding the last point, I assumed that the F and R access data was meaningless, since the test program also reported that the folder doesn't exist. Nevertheless it's worth looking into. But the proof of the pudding is when I do for file in glob.glob(r"\\R\Ethrelease\foo\*.pdf"): does it find the files? Yes it does!! Hey you solved it!
Dec
18
comment how to test as local SYSTEM account? (accessing remote files from Python)
OK, after starting a cmd session as administrator, I was able to run psexec as you described and start a shell. whoami now says nt authority\system. And now dir r:\ gives me "The system cannot find the path specified." But dir \\R\EthRelease works just fine, showing me the files I'm trying to access! So ... apparently the local SYSTEM does have the ability to access the share over the network, if not via the mapped network drive (because a different user mapped that drive?). This answer has helped me eliminate a possibility, but I still don't know why the problem occurs.
Dec
18
comment how to test as local SYSTEM account? (accessing remote files from Python)
Thank you - these are helpful suggestions. I don't know whether it's feasible to have the servlet container run under the networkservice account without breaking its other operations, but I will give it a try, and it would be helpful even just to know whether that is the source of the problem. I'll try psexec as you suggested.
Dec
18
awarded  Yearling
Dec
18
comment Win 7 Explorer keeps reopening network shared folders?
What we actually did was use psfile filename -c to close the file again every time a file was found to be locked. So by doing that we avoided leaving the sharing services completely off during the time the script is running. But I still think your answer is a good one.
Dec
18
accepted Win 7 Explorer keeps reopening network shared folders?
Dec
18
asked how to test as local SYSTEM account? (accessing remote files from Python)
Dec
14
awarded  Notable Question
Oct
21
comment Grep-ing gzipped files
You mentioned the requirement of needing to find all lines matching a given expression. Does finding them mean that you need to know which file they're in? If not, more options are open to you, particularly those that pipe their output to the stdin of grep.
Sep
17
awarded  Famous Question
Aug
6
comment What is a normal value for pages/sec on a Windows Server 2003 Web Server?
This is helpful I suppose, but a mention of a couple of tools, or pointer to a list of tools, would be more helpful.
May
26
accepted how to get the full path of a of an open file