|
|
psgetsid
PsGetSid v1.41 - Translates SIDs to names and vice versa
Copyright (C) 1999-2004 Mark Russinovich
Sysinternals - www.sysinternals.com
syntax: psgetsid LoginID
psgetsid john yields my SID for example.
-- modified at 1:30 Sunday 27th November, 2005
|
|
|
|
|
Thank you very much for your valuable information.
|
|
|
|
|
Hi, If i turn on laptop for one hour and turn on desktop for one hour. Which computer that consume more energy?
Note: both laptop and desktop set turn off monintor to 10 minute. And these two machine did not permform any work. Just leave it alone and want to know it energy consumming.
|
|
|
|
|
Does anyone know of a good, cheap and reliable wildcard ssl certificate seller out there? Verisign is a little costly.
Dirk Watkins
|
|
|
|
|
|
Hi, I have a question about create a network connection. Suppose that i have user name, password, phone number from ISP and some other setting. What i want is the script that used to create the network connection via modem by using the information that i supply and could dial it to access to the internet. Is it possible to do that with a script?
|
|
|
|
|
Can anyone tell me how to extract the resources, specifically the description and icons, from a .EXE file programatically. Basically I want to write a C# application that takes .EXE files and displays their description and their icons, more or less like right-clicking the file in explorer and displaying properties.
Dave
|
|
|
|
|
|
That's handy. Thanks.
Dave
|
|
|
|
|
Can Anybody help me understanding the purpose and working of svchost.exe?
Regards
Abhinav
|
|
|
|
|
|
|
Thanks Michael ... it was really very helpfull ..
Regards
Abhinav
HCL Technologies, Noida(India)
|
|
|
|
|
Here[^] is the description of this file from Microsoft.
|
|
|
|
|
I was trying to retrieve the USB's VID(vender IDentifier), and I was expected to provided with a hexadecimal number like 0X-* to compare against, but actually It was a human readalbe string like say "Samsung". When I look into the registry, I found out under the registry path HK_LOCAL_MACHINE/SYSTEM/CONSTROLSET001/Enum/USB there contains several USB VIDs, but none of them contain human readable string they're just numbers. But when I look down further there's a USBSTOR directory which has the name like "Disk&Ven_FUJITSU&Prod_MHT2030AT&Rev_009B", "FUJITSU" is just what I wanted but is there any corresponding relation exists between USB and USBSTOR directory?
-- modified at 0:50 Monday 24th October, 2005
|
|
|
|
|
Let look back in the USBSTOR directory, then to the disk folder and try to find the key FriendlyName . I think you might satisfy with its name that you might want to use. Let me know if it is match what you need or not?
|
|
|
|
|
Hi Roath:
Later I came to know that there's two categories about USB disk ID, One is Vender Code(I mentioned in previous message), another is Vender IDentifier(What I wanted)!
Yeah, The registry key FriendlyName and the other Device registry property codes in SETUPAPI.h catchs my eyes too!But the question is I get nothing when I used SPDRP_FRIENDLYNAME in SetupDiGetDeviceRegistryProperty(...) under NT probably in Win98 too
The current implementation was using device interface GUID in SetupDiGetClassDevs() then using SPDRP_HARDWAREID in SetupDiGetDeviceRegistryProperty(...), In this case SPDRP_HARDWAREID was like
USBSTOR\DiskManufacturer__Mass_Storage___0.00. It works well under NT, but corrupt in Win98 because of the device GUID I used! But usb device GUID(not previous device interface GUID) works well under both scenarios, but SPDRP_HARDWAREID in this case was like USB\Vid_0457&Pid_0151&Rev_0100(Vender Code)
It seems the same SPDRP_HARDWAREID in one USB disk present different forms, Under USB registry dir is USB\Vid_0457&Pid_0151&Rev_0100, STOR\DiskManufacturer__Mass_Storage___0.00.
under the USBSTOR, which all have the same registry key "HardwareID". And USB simply doesn't have the FriendlyName key, which USBSTOR does, So I don't think FriendlyName will work under Win98 either!
I plan to turn to DevMgr.dll, ideally I can find one of the functions in this dll which helps me to locate the Disk Drive tree item, and then enumerate through its child, finally find the item I want! But that may not be feasible!
|
|
|
|
|
Hello. I'm not sure if I'm posting in the wrong section. Sorry if I am. Umm.. so I've become accustomed to using a middle click to close tabs (like in Firefox)... is there any sort of way to make a window close by clicking on its entry in the taskbar?
Brian
|
|
|
|
|
Sure! Right-click on it in the Taskbar, then select Close.
"...a photo album is like Life, but flat and stuck to pages." - Shog9
|
|
|
|
|
Haha, nooooooooo! I want to be able to middle click on it and close it! I'm far too lazy for the above listed action. Haha, well... not really, but it would be a little more convenient if there was a way to close a window with a middle click.
Brian
|
|
|
|
|
How about clicking on the close button which is located on the upper right of the windows? it just a single click.
|
|
|
|
|
hi, how to you ..."echo" environment variable like JAVA_HOME on command line console?
Thanks.
|
|
|
|
|
'SET' will display all of them
'SET variablename' will display an individaula one.
The good old fashioned DOS commands!
"An education isn't how much you have committed to memory, or even how much you know. It's being able to differentiate between what you do know and what you don't." - Anatole France
|
|
|
|
|