-
Posts
1758 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Paul
-
Hello Kurt, Your code is correct however you missed two things: You should use shell execute on your processes to 'unbind' them from the parent process. Starting from windows vista a windows service cannot touch a user session unless some hardcore impersonation API calls. Basically you need to ask yourself the following questions: On which user sessions your service is supposed to run the application? What if no user is logged in? Consult these posts: http://stackoverflow.com/questions/668389/calling-createprocessasuser-from-c-sharp http://msdn.microsoft.com/en-us/library/ms682429.aspx http://blogs.msdn.com/b/alejacma/archive/2007/12/20/how-to-call-createprocesswithlogonw-createprocessasuser-in-net.aspx?Redirected=true https://blogs.msdn.com/b/thottams/archive/2006/08/11/696013.aspx?Redirected=true Let me know if you get stuck again. Good luck mate. Paul.
-
C# public override void PageCommandReceived(int pageId, int commandId) { // your code here } VB.NET: Public Overrides Sub PageCommandReceived(ByVal pageId As Integer, ByVal commandId As Integer) // your code here End Sub
-
Well you need to override the command received / page command received method. Consult API documentation (http://pulseway.com/api) and take a look at my other plugins as they are all opensource.
-
It could be possible on a future version.
-
Yes if you have a predefined bat file with something like this: ftp -i -s:"%~f0" open 192.168.1.55 FTP USERNAME FTP PASSWORD !:--- FTP commands below here --- lcd . cd data/ ascii mput "Data\h\*.txt" disconnect bye Then you just invoke the bat file.
-
Due to request I have updated the plugin to support paged view. Both projects (VB and CS) support paged view configuration. Paul. Edit: I have fixed a mistake in the plugin. I was requiring an invalid pc monitor version. Download the new release. PaulCsiki.SystemInfoPlugin.zip
-
Hello kurtdejaeger, Welcome to the world of programming. I understand you are a beginner so I have converted your vb script into a valid PC Monitor plugin in two (visual studio compatible) programming languages so that you can see the differences between them and maybe learn a bit from them. I hope that you will continue researching programming after you finish your first plugin. Also if you ever need help on creating a plugin please ask here and I will do my best to help you. You will find a Release folder that contains both of the plugin versions in binary format. Both of them do the same thing. Also check out API documentation that will help you get started on writing plugins. Click here. Good Luck, Paul.
-
You can view computer specific notifications by going to the notifications page from Computer Details page. At this moment I don't think there is any way to subscribe to specific notifications only.
-
Hello, I plan on updating most of my published plugins soon. The version itself was all I needed to understand the problem. Thanks.
-
Also you can install PC Monitor on your desktop and use it to manage your account and computers without using up any of your computer licenses. Just install it, go to services.msc and set it's startup type to disabled.
-
Whats the best way to measure the temperature of the server room?
Paul replied to resolver101's topic in Windows
Well you could buy a mainboard that has a sensor on it ( system temperature ), keep it on a piece of plastic with no chassis then monitor it's system sensor with PC Monitor. -
Hello, The tricky part with GPU monitoring is that a Windows Service cannot query the status of a GPU Adapter as far as I know. I believe this is one of the main reasons why PC Monitor doesn't currently offer support for GPU monitoring. How many render farms you got? Maybe I can find you a workaround.
-
Whats the best way to measure the temperature of the server room?
Paul replied to resolver101's topic in Windows
Hello, We currently use a netduino ( an arduino based io board ) which allows you to use .NET code to write logic and a cheap temperature sensors. Estimated costs < 50 USD + some time on the code ( I can help you with the code if you need ). Or you can use a product that does all that with a web interface ~140 USD. Link: http://www.controlbyweb.com/temperature . Or you can contact a home automation specialist which can setup an enterprise temperature monitoring system which can alert you via sms or email ( the ones with email cost more ). The price for these vary on the size of the project however for a small server room it can't cost more than 300 USD. Paul. -
Since your public ip has changed, the computer must be at least once online for the server to know the new ip address.
-
System.Management.Automation Is missing. Can you please confirm you have PS 3.0 installed? Also what OS you have? Paul.
-
By any chance you changed your username and password of the account you made the PC Monitor Service impersonate? Because it's the only possible way. Just make the PC Monitor Service run as SYSTEM as default and make sure SYSTEM has access to the PC Monitor installation directory. Source.
-
That's because of UAC still being active, if you are under windows 8 make sure you disable UAC from registry.
-
Have you right clicked on command prompt and clicked on "Run as administrator" before typing the command?
-
VMware server modules has high memory usage as far as I remember from testing.
-
Hello Joe, PC Monitor doesn't support all hardware devices and it's constantly adding new ones. If there is nothing showed then it means that there is no supported hardware on that machine. This is normal behavior. Maybe issue a feature request asking for a label to be displayed that no supported hardware was found on the machine. I am not aware of any possible workaround this problem, however if you said it's an old server maybe it's time to upgrade . Paul.
-
I am usually around 14mb on a production server and it gets to 40+-50 sometimes. Do you have any plugins, server modules, event log notifications, rules?
-
You should create a thread about this in Feature Requests.
-
Hello, The minimum subscription is for five computers because the free amount for non-comercial usage is five. You can't have only one licensed computer and four with non-comercial license, it doesn't make any sense. If you feel you need to contact a representative send an email to sales (at) mobilepcmonitor (dot) com .
-
Yes. You cannot have a windows service interact with a user's sessions. Ask yourself the following questions: On what user session the service should start the application? What if there are multiple user's logged in? Does a windows service really need to know about a user, afterall it's a service not an application. You want to create a scheduled task that is set to impersonate a user and start an application. You will also want to set it's schedule to manual, then invoke it from the mobile app. Good luck.
-
Have you run the command prompt as an administrator before executing the command?