|
I don't use it to send messages...however go into sevices, stop the service, right-click and select properties with a left-click. There will be a pull-down to disable the service. Apply the changes and enjoy a Messenger-spam free life..
Warm Regards,
The Boolean Operator aka Boo
|
|
|
|
|
BTW for clarity, the messenger service is not the same as MSN messenger..I say this for the benefit of others. I assume you knew the difference.
-=Boo
|
|
|
|
|
From a command prompt, enter
net send /?
It should spit out a bunch of info on the options available. The service is turned on and off from the Services applet in the Control Panel.
"The Lion shall lie down with the Lamb; but the Lamb will not get much sleep..." Lazarus Long
|
|
|
|
|
I was setting up a family website with FTP access for my family to share their pictues on.... I was still in developmental stages, so I had no security on it... I didn't think anyone would find it that fast. It was up for 4 days...
So, I'm going through the logs and then I see this suspicius one where the person put a full AC/DC album and some comic book scans on. The funny thing was it was about 15 directories deep.
What's even funnier is that it was in the "_vti_pvt" directory...
Can anyone explain how they managed to put any files in there???
Also when I went to delete their files I couldn't... so then I'm like, oh yeah, I have to stop IIS... so I do that and then try to delete them, but the same thing, the disk is write protected or something...
SO, what can I do???, do I have to reinstall IIS??
Fill me in someone...
/\ |_ E X E GG
|
|
|
|
|
Hi !
We need to install a mail server for our company (about 10 people). The server is running Windows 2000 Server.
I heared about MDaemon and MSExchange. We are looking for something simple to use and cheap.
Does anyone could tell is one of the two I mentionned is a valuable solution ? Does it exist another mail server which is better ?
Thank you or your suggestions.
Jerome
|
|
|
|
|
Jerome Conus wrote:
cheap
Take MSExchange off your list, then. It's a beast to manage, and grossly overpriced. I found a product long ago called DMail that was free, but never really got it working correctly. It had a lot of features I liked, but the documentation had gaping holes in it that my knowledge at the time was insufficient to overcome. Google for it and take a look at the product - you may have better luck than I did, and they may have improved the docs since I last looked at it.
"The Lion shall lie down with the Lamb; but the Lamb will not get much sleep..." Lazarus Long
|
|
|
|
|
We use both products, and MDaemon is a lot cheaper and easier to use the Exchange.
MDaemon Pro 12 user license is $440, standard is $200:
http://www.altn.com/Products/Default.asp?product_id=MDaemon[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
|
|
|
|
|
How can I add a direct TCP/IP printer to a Windows 2k workstation using WScript (either VBScript or JavaScript... don't care)? According to Microsofts documentation, adding a port via script is only possible in WinXP or Windows 2003 Server. Any ideas?
Thanks in advance.
Kyosa Jamie Nordmeyer - Cho Dan
Portland, Oregon, USA
|
|
|
|
|
Dude i am also looking for the same solution. It can be done by using scripting either VBscript or other scripting language is good. But VBScript you can find lot of help in fourms.
I am started working on this code......i will give you the details once i get that code for TCP/IP printing.
If you get any please post it here buddy.
First of all tell me why you are going for TCP/IP printing? Are you doing any migration stuff or just removing print server.
|
|
|
|
|
I've installed MSN Messenger v6.0.
HOWTO: Stop the obsolete MSN Messenger (v4.x) client from appearing in systray when openning Outlook Express?
Solid.
o-[ BlackSmith ]-o
/*The roof is on fire, we don't need no water, let the MF burn*/. BHG.
|
|
|
|
|
Hi,
I've created a batch file which would inturn launch a setup of a software. The setup has a silent installation mode so everything has to be done in the background. But whenever I launch the batch file a black window (DOS window) is also launched. How can I supress that black window from appearing.
Thanks,
Abhishek.
Learning is a never ending process of Life.
|
|
|
|
|
if you are using NT, you can start a seperate process and hide the window using the START command and the /B Switch ...
some important switches for START that mey be useful (ie, ymmv)
START
/Dpath Sets Current Drive And Dir For COmmand To path
/I Initializes environment from parent
/MIN or /MAX Starts new window minimized or maxmized
/LOW, /NORMAL, or /HIGH - sets priority
/WAIT Waits for app to terminate before continuing
/B Executes command without creating new window ...
Ive missed out a few unimportant settings - hope this helps though
|
|
|
|
|
Hello friends,
The problem is i wanted to know how to get the
SERVICE PACK installed on the Operating system
PROGRAMATICALLY i am working in VC6 Enviroment.
Please Please help me
Thanx
TAKE CARE
|
|
|
|
|
Use GetVersionEx method and pass OSVERSIONINFOEX structure in it. This will return with all the OS environment on the system including service pack info.
Hope it helps.
Good Luck,
Abhishek.
Learning is a never ending process of Life.
|
|
|
|
|
Something like this:
CString sOS;
OSVERSIONINFO OSversion = {0};
OSversion.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
::GetVersionEx(&OSversion);
switch (OSversion.dwPlatformId) {
case VER_PLATFORM_WIN32s:
sOS.Format(_T("Windows %d.%d"),OSversion.dwMajorVersion,OSversion.dwMinorVersion);
break;
case VER_PLATFORM_WIN32_WINDOWS:
if (OSversion.dwMinorVersion == 0) {
sOS=_T("Windows 95");
} else {
if (OSversion.dwMinorVersion == 10) {
sOS=_T("Windows 98");
} else {
if (OSversion.dwMinorVersion == 90) {
sOS=_T("Windows ME");
}
}
}
break;
case VER_PLATFORM_WIN32_NT:
if (OSversion.dwMajorVersion == 5 && OSversion.dwMinorVersion == 0) {
sOS.Format(_T("Windows 2000 with %s"),OSversion.szCSDVersion);
} else {
if (OSversion.dwMajorVersion == 5 && OSversion.dwMinorVersion == 1) {
sOS.Format(_T("Windows XP %s"),OSversion.szCSDVersion);
} else {
if (OSversion.dwMajorVersion <= 4) {
sOS.Format(_T("Windows NT %d.%d with %s"),OSversion.dwMajorVersion, OSversion.dwMinorVersion,OSversion.szCSDVersion);
} else {
sOS.Format(_T(Windows NT Unknown %d.%d with %s)),OSversion.dwMajorVersion, OSversion.dwMinorVersion);
}
}
}
I prefer to wear gloves when using it, but that's merely a matter of personal hygiene
[Roger Wright on VB]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
[Rich Cook]
|
|
|
|
|
The following code in theory should pop up a CMD window and show me the contents of a mapped drive mapped locally on a remote machine called "remote_workstation_a".
I'm running this script from my workstation and when I do the CMD window pop's up and tells me access denied. I tried logging in on the local machine as the domain administrator then run this script again with no luck.
I can't seem to figure out programmatically how to connect to a remote machine with a specific username and password yet still access the Win32_Process WMI object.
<br />
strComputer = "remote_workstation_a"<br />
Set objWMIService = GetObject("winmgmts:" _<br />
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2:Win32_Process")<br />
<br />
Error = objWMIService.Create("cmd.exe /K dir w:\", null, null, intProcessID)<br />
If Error = 0 Then<br />
Wscript.Echo "was started with a process ID of " _<br />
& intProcessID & "."<br />
Else<br />
Wscript.Echo " could not be started due to error " & _<br />
Error & "."<br />
End If<br />
I know this is possible because there are tools that already exist (psexec and beyondexec naming two) that can do this.
As an example with PSEXEC (from sysinternals.com):
<br />
psexec \\remote_workstation_a -u MY_PDC_DOMAIN\Adminstrator -p PASSWORD -i cmd.exe /K dir w:\<br />
This works so I know for certain this is possible I can't can't find anything clear in the WMI docs on MSDN to show me how to do this. Based on this I just need to encode the username and password of the account I would like to impersonate on the remote machine somehow (through the 'GetObject("winmgmts:" ...' call?).
The obvious answer is to just use PSEXEC but I need to run this a whole lot of times (which would open up MANY MANY processes) and PSEXEC's source is not exactly available.
Any hints or suggestions would be greatly appriciated.
The whole point of me attempting this is to make the tech guy's life a bit easier when pushing updates to the compute farm.
And while I'm at it why is all the WMI documentation so vague on almost everything? I'm eventually going to need to map a printer to each machine on the network and I'd love to do it though WMI but it's going to be a BIG BIG chore without some insight.
Thanks,
Sean
|
|
|
|
|
How about this:
Set objLocator = CreateObject("WbemScripting.SWbemLocator")
Set objWMIService = objLocator.ConnectServer(strComputer, "root\cimv2", Uname, Pwd)
Regards,
Venet.
Donec eris felix, multos numerabis amicos.
|
|
|
|
|
How many Handle can be create or open in Windows system? Same as how many file or socket can be open in Windows system? Thanks.
|
|
|
|
|
From MSDN:
Windows 95/98/Me: The system can support a maximum of 16,364 window handles.
No mention of the upper limit on NT, although if I had to guess I'd guess 1 billion (or is that 1 gigahandles? )
--Mike--
"So where does that leave us? Well, it leaves us right back where we started, only more confused than before." -- Matt Gullett
Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber
|
|
|
|
|
Thanks. Please tell me which section show this message in MSDN.
|
|
|
|
|
It's all over the place. CreateWindow() for one
--Mike--
"I'm working really, really fast at the moment, so a 3 minute outage becomes, due to time dilation, a 5 minute outage."
-- Chris Manuder, relativistic system administrator
Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber
|
|
|
|
|
i think 4,294,967,296(32 bit)...
would make sense
Don't try it, just do it!
|
|
|
|
|
Where can I find info on the usage of Environment Variables?
What I want to do:
1) use my own environment vars in links and shortcuts (e.g. Target and Start In fields in a shortcut's property dialog
2) use my own environment vars in batch files
3) set my own environment vars programmatically (from VC++)
If you have the answer, I wouldn't mind getting quick input on these specific issues too.
What I did:
I) under "My Computer | Properties | Advanced | Environment Variables", I created a user variable My_ROOT with C:\src_latest as the value.
II) Restarted my computer
III) at the DOS prompt, I tried to do simple things like cd My_ROOT, cd $My_ROOT, and in a shortcut I want altered, I tried to use My_ROOT\bin\CoolProg.exe (Target field).
No success to any of III) above.
Thanks a bunch!
Johnny
|
|
|
|
|
john john mackey wrote:
III) at the DOS prompt, I tried to do simple things like cd My_ROOT, cd $My_ROOT, and in a shortcut I want altered, I tried to use My_ROOT\bin\CoolProg.exe (Target field).
Use % instead of $
Try cd %My_ROOT%
[EDIT]
I just tried cd %TEMP%
[/EDIT]
John
|
|
|
|
|
Hi,
> 1) use my own environment vars in links and shortcuts
> (e.g. Target and Start In fields in a shortcut's property dialog
Surround the variable name with percent symbols; e.g.
%PROJECTS%\SomeTool.exe %LAUNCH_ARGS%
Also, if the variable represents a path and it may have a space in it I'd recommend changing the above to:
"%PROJECTS%\SomeTool.exe" %LAUNCH_ARGS%
> 2) use my own environment vars in batch files
Same again.
> 3) set my own environment vars programmatically (from VC++)
You can use the SetEnvironmentVariable API but this function only sets the variable for the current process (and any child processes that you may launch that inherit the current environment).
To set persistent environment variables you have to save them in the registry on NT/2K/XP and in AUTOEXEC.BAT on 95/98/Me. The rest of these notes are for NT/2K/XP only.
There are three types of environment variables: user, system and volatile.
The system variables are loaded first and are the same for every user on the system. They are stored as values of this registry key:
[HKLM\System\CurrentControlSet\Control\Session Manager\Environment]
If the value is a straight string the registry value type is REG_SZ, but if the value contains another environment variable name (in percent symbols) the value type is REG_EXPAND_SZ.
Next come the user environment variables. These are per user (duh!) and are stored in each user's registry hive under:
[HKCU\Environment]
These follow the same rules as the system variables; they can also refer to a system variable name (in percent symbols).
The final category is volatile variables; these are also per-user but are not saved between logon sessions; the system stores things such as the current logon server and domain name here. They are stored in:
[HKCU\Volatile Environment]
All three types are joined to create the final environment block your process is started with.
BTW, if you do create a tool to modify the environment and you want a running process (such as Explorer) to pick up the changes, you have to broadcast a WM_SETTINGSCHANGE message to notify them. A snippet of C++ does this:
const DWORD dwTimeout= 3000;
DWORD dwResult= 0;
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE,
0, (LPARAM)_T("Environment"), SMTO_NORMAL,
dwTimeout, &dwResult);
Hope this helps.
Regards,
John Bates.
|
|
|
|