windows-xp

remote sc OpenSCManager query failed 5 access denied

荒凉一梦 提交于 2019-12-09 08:38:37
问题 I'm writing a script that periodically checks that certain services are running on remote workstations. I'm having a devil of a time getting an "SC \workst1 query" command working from one test machine to another. Both machines are running XP pro SP3. Neither is part of a domain. Both are in the same workgroup, and the administrator accounts have the same passwords. I keep getting the "[SC] OpenSCManager FAILED 5: Access is denied" message, from either workstation to the other. I have tried

Access violation while the program was idle - not trace information to track down the bug

老子叫甜甜 提交于 2019-12-09 07:25:23
问题 I have a program that just popped up an AV. Until now the Eureka Log could find the source code line that generated the error but now it displays only this: Access violation at address 7E452E4E in module 'USER32.dll'. Read of address 00000015. Call Stack Information: -------------------------------------------------------------------------------------------- |Address |Module |Unit |Class|Procedure/Method |Line | ---------------------------------------------------------------------------------

Is it possible to use winmerge to view git diffs from cygwin?

北城余情 提交于 2019-12-09 06:28:29
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 9 years ago . I like to use git on cygwin, but the only downside I have is when I want to git difftool I cannot use anything useful. git diff is fine for me most of the time, but sometimes I'd like to use winmerge to view these diffs via git difftool is there some way to set this up? 回答1: For cygwin, the SO question "How can I configure Mercurial to use WinMerge for merges, under cygwin?" can be

Does anyone know of a good alternative to Pipe Viewer for Windows Platform?

安稳与你 提交于 2019-12-09 04:51:51
问题 If you do not know what Pipe Viewer is (I did not know about it until 5 minutes ago), then this blog does a good job giving a brief introduction to it with some examples. I write a lot of Perl Scripts as an ETL developer and a lot of times, the files that I work with take really long time to operate with (unzipping, moving, etc). Therefore, this tool would be awesome except I work in a Windows Environment. If anyone knows of a tool that gives you Progress of an operation running in the

How do I get to see DbgPrint output from my kernel-mode driver?

爱⌒轻易说出口 提交于 2019-12-08 16:03:26
问题 I'm finding it difficult to see the debug output from a kernel-mode driver I'm working on. I'm new to driver development. I'm trying to debug a USB driver on Windows XP. I've installed the DDK, and built a "checked mode" build of my driver. I've installed the driver and if I use a hex editor to look at my driver's .sys file in windows/drivers, I can see the text of my debug output strings. If I run an app that uses my driver under Visual Studio, my debug output doesn't appear in the output

Mercurial .hgrc file

岁酱吖の 提交于 2019-12-08 15:56:11
问题 By default on Windows XP Mercurial stores the .hgrc file in (well, in my case) c:\Documents and Settings\srooks\ . How can I change that location, and have it look for .hgrc file in, for example, c:\Configuration_Files ? Can it be done at all? 回答1: Set up the HGRCPATH environment variable with the path to the configuration file. 回答2: You can move file to c:\Configuration_Files and create link to it in "Documents And Settings" folder. See mklink command. 来源: https://stackoverflow.com/questions

Get all IPv6 addresses on all interfaces (Windows)

你说的曾经没有我的故事 提交于 2019-12-08 13:11:35
问题 I have a solution using WMI, unfortunately only on Windows Vista and above. On WinXP/2003 WMI will only return IPv4 adresses. Is there any way to get all assigned addresses including IPv6 ones on WinXP? Adt: No .NET, just WMI or WinAPI please. 回答1: Well, after some more hours of googling, I finally found GetAdaptersAddresses() in the MSDN library. Sometimes you just use the wrong search terms it seems. 来源: https://stackoverflow.com/questions/3214653/get-all-ipv6-addresses-on-all-interfaces

JavaScript OS Detection - several Windows XP versions?

不问归期 提交于 2019-12-08 12:11:13
问题 I am trying to detect three operating systems - Windows XP, Windows Vista, Linux. I use the navigator.oscpu which alerts the following OS/values - Windows XP SP3 - Windows NT 5.1 Windows Vista - Windows NT 6.0 Ubuntu 9.04 - Linux i686 I am doubtful about the number 5.1 shown for XP. Will it show 5.1 for ALL configurations or XP - (without SP2, With SP2, With SP3) ?? Is there any chance for it to show Windows NT 5.0 for Windows XP in pre-SP2 or pre-SP3 configurations? Bottom line is - does

Sound from mic vs sound from speaker

二次信任 提交于 2019-12-08 12:02:26
问题 I want to capture audio from both the mic and the speaker - separately. How can I distinguish between them? I can capture one or the other using the Wave API, e.g., WaveInOpen(). When I enumerate the devices using waveInGetNumDevs() and waveInGetDevCaps()/waveoutGetDevCaps(), there seems to be no information related to a particular end-point device (e.g., mic or speaker). I only see the following, which are adapter devices: HD Read Audio Input HD Read Audio Output Webcam ... 回答1: I've

How to format dir command in cmd for XP and Win 2000

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 11:17:24
问题 When I use dir command in win XP it returns all kind of info: Volume in drive C is OSDisk Volume Serial Number is AEF7-B35F Directory of C:\Users\bd250124\Desktop\test 06/11/2015 12:14 PM <DIR> . 06/11/2015 12:14 PM <DIR> .. 06/11/2015 12:14 PM 10 test01.txt 06/11/2015 12:13 PM 0 test02.txt 2 File(s) 10 bytes 2 Dir(s) 261,280,952,320 bytes free The problem is that I don't need all that info, I need only file name and last write time. Is there any way to format it, google is not returning any