Simplest way to restart service on a remote computer
What's the easiest programmatic way to restart a service on a remote computer? Language or method doesn't matter as long as it doesn't require human interaction. ...
What's the easiest programmatic way to restart a service on a remote computer? Language or method doesn't matter as long as it doesn't require human interaction. ...
We are in a Windows environment and looking to automate this process for non-company machines. If a vendor comes on site, we'd like to be able to have him/her hit a website that can perform a quick scan of the workstation to determine if they have the proper MS KB patches and if their virus scanner dats are up to date. I can scan for t...
We are trying to build a Crystal Report that sends control characters directly to the printer, without going through the (buggy) Windows driver for that printer. Does anyone know a way to do this from within a Crystal Report? The specific control character we are trying to send is CHR(2). However when we put that in a Crystal Report, a...
What's the easiest method people have found to monitor memcached on Windows? One method I've tried, which works decently: telnet into the memcached port (11211) and enter the "stats" command. You'll get back a listing like this: stats STAT pid 2816 STAT uptime 791 STAT time 1225918895 STAT version 1.2.1 STAT pointer_size 32 STAT curr_i...
How can I give a user permission to stop or start services on a system without making them part of its Administrator group? ...
Does anyone else find that when they open a saved connection in Remote Desktop it sometimes sets up the login as Username@IpAddress and other times (seemingly at random) sets it up as IpAddress@Username? Does anyone know what the logic is behind the two / why this happens? ...
Subject says it all but he background: I want to trigger some TortoiseSVN action from a batch file? I suspect that I can do this by calling the right exe with the right args but I'd rather find a way to solve the more general problem of doing an arbitrary action. Edit: The reason that I don't just use svn directly is that TortoiseSVN d...
The MAPISendMail function is available on windows so that an application can request that an email be sent. Windows will route the request to whichever email client is configured as the default provider. How do I write an application so that it will act as an email client for the purpose of receiving the MAPISendMail emails? Can anyone ...
I am trying to use native windows API with Qt using mingw toolset. There are link problems with some functions. What happens? Is this a bug with mingw name mangling? #ifdef Q_WS_WIN HWND hwnd = QWidget::winId(); HDC hdcEMF = CreateEnhMetaFile(NULL, NULL, NULL, NULL ) ; Rectangle(hdcEMF,100,100,200,200); HENHMETAFILE hem...
Is there any way to detect packet loss with the help of performance counters or am I better of using a 3rd-party tool? What tools would you recommend? ...
I have a written a Visual C++ console application (i.e. subsystem:console) that prints useful diagnositic messages to the console. However, I would like to keep the application minimized most of the time, and instead of minimizing to the taskbar, appear as a nice icon on the system tray. I would also like to restore the console when the...
I have some update or something that tries to run every night, and ends up leaving the SQL Server service stopped. When the machine restarts, the service restarts properly. How do I go about diagnosing and fixing what is breaking my SQL Server service? I'm running SQL 2005 on Vista Business. ...
Hi I'm looking for a program that measures a distance from point A to point B in pixels.(with crosshair cursor - not a pixel ruller aplication) I need something that doesnt require print-screen and paste to another window,but works "on" other open windows. thanks ...
As a developer, tools that store configuration/options in the registry are the bane of my life. I can't easily track changes to those options, can't easily port them from machine to machine, and it all makes me really yearn for the good old days of .INI files... When writing my own applications, what - if anything - should I choose to p...
In developing Windows forms based application, are there any standards that should be followed when designing your form's main menu system? Most windows applications with menu systems will have your standard File | Edit | View | Tools | Help menus. How do you determine placement of any additional top level menu items? In addition,...
I have an MFC legacy app that I help to maintain. I'm not quite sure how to identify the version of MFC and I don't think it would make a difference anyway. The app can take some parameters on the command line; I would like to be able to set an errorlevel on exiting the app to allow a bat/cmd file to check for failure and respond app...
I'm trying to register an atl service using ExeName.exe /service as described here: http://msdn.microsoft.com/en-us/library/74y2334x(VS.80).aspx After doing so though, it's not appearing in my services control panel (the one that I get to by typing Services in the start box on vista). I've tried to dig through the atl code to see whe...
I have a multi-threaded Windows application that occasionally deadlocks. Inevitably this happens on a customer system and not when the software is in test. What is the easiest way of getting a Windows Minidump of the current state of the application? If it could also terminate the application so the user can restart it and continue using...
I'm running Apache on Windows XP via Xampplite, and could use help configuring my virtual directory. Here's what I'm hoping to do on my dev box: I want my source files to live outside of the xampp htdocs dir on my local machine I can access the project at http://myproject others on my local network can access the project at my.ip.addre...
We have Core2 machines (Dell T5400) with XP64. We observe that when running 32-bit processes, the performance of memcpy is on the order of 1.2GByte/s; however memcpy in a 64-bit process achieves about 2.2GByte/s (or 2.4GByte/s with the Intel compiler CRT's memcpy). While the initial reaction might be to just explain this away as due to...