Hi all > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Michal A. Valasek > Sent: Thursday, May 04, 2006 9:07 PM > To: xmail@xmailserver.org > Subject: [xmail] Re: restart server via email > > > Hello, > > | shutdown.exe \\computername /R /T:05 /C > > by default, XMail service is running under "Local System" > account. This is special account, which (to say simply) has > local system administrator privileges, but can not access > network resources. > > You can run whole XMail under some other user account, having > necessary permissions. > > Generally, I do not recommend that, because it is a security > risk, as is the whole procedure. > > -- then you can create a script which runs everey minute and with rights of the administrator. In the script you can test if a file as an example c:\windows\shutdown-now.txt exits, deletes it and then reboot the PC.
In Xmails script you just create these file and then exit. Hope it helps. Bye Michael -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.3/331 - Release Date: 03.05.2006 - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]