run a process as System account

2004-12-08 Thread Marie-eve URVOY
Hi, I'd like to know if it is possible to run a process from a perl script as System account on Windows XP (without creating a service). My script is lauched by a user with priviledge. I have been searching the web by didn't find any answer. Thanks. Marie-Eve

RE: run a process as System account

2004-12-08 Thread Paul Sobey
Schedule with an at job? If it runs under the context of the schedule service it'll be the system account. Use /interactive if you need to see the console. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marie-eve URVOY Sent: 08 December 2004

RE: run a process as System account

2004-12-08 Thread Marie-eve URVOY
I think I can't use 'at' command because I have to wait for the result of my command. And further more the command I want to execute has to be executed immediatly. Is it possible to use LogonAsUser and CreateProcessAsUser for System account? Marie-Eve (sorry for my poor english ... ) --- Paul

RE: run a process as System account

2004-12-08 Thread Paul Sobey
Not that I'm aware of. You could easily schedule the job to run in the v. near future from your parent script, and maybe write a lockfile that your child could remove when done, or use a loop with WMI and Win32_Process to wait for your child to appear and disappear. Not very pretty but it's the

Re: Blocking ports

2004-12-08 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: Hi all, I have a network problem. how do i block a port(s) programmically in perl, making the port unusable by other software, requiring that port, while the perl script is running. my platform is windows, so the solution must be windows compatible. I would

dbmopen not opening files.

2004-12-08 Thread Anuja Kalra , Gurgaon
Title: dbmopen not opening files. Hi List, Recently we moved our code from one Windows machine to another. There is a small snippet of code which was running fine, but now it is not running. I have searched but could find any help. print hello; my $DBMfile=e:/www/Config/AK230005;

RE: run a process as System account

2004-12-08 Thread Erik Felton
Hello, My first thought was to use the 'runas' command: runas /user:MyMachineName\SYSYEM cmd However this prompts for a password. After poking around google, and consulting the resident Windows guru, the SYSTEM user does not have a password. And, according to the guru, the only way to

RE: run a process as System account

2004-12-08 Thread Aaron.Tesch
There are 3rd party tools like psexec (sysinternals.com) that will allow you to run as local system. You could shell out to execute it from within you PERL App. - Aaron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Felton Sent: Wednesday,

access violations and general crashes

2004-12-08 Thread nospam
After returning from a few days work, some of the text files I have a few GB each. (1.2gb is the smallest, I don't recall the other two sizes). Is there some limit with win32 perl on windows 2k/xp/2k3? maybe NFS? This reminds me of an old limitation of ext2 If I have exceeded the limit, are

source port blocking......(a simplistic firewall)

2004-12-08 Thread mailware
hello all how do i prevent a program's source port from connecting to the internet. eg. suppose, i want to prevent Internet Explorer from connecting to the internet,it would not be port 80, as this is the destination port...am I correct? I suppose, this port blocking would be a simplistic

RE: Blocking ports

2004-12-08 Thread John Serink
Just open a single client server on the ports you don't what anyone to use You'll have to do it in a separate thread however and that could start to consume resources...else it will block waiting for an accept. Or, you could create server using the IO::Select method and wait for connects but

RE: run a process as System account

2004-12-08 Thread John Serink
Win32::AdminMisc See www.roth.net. -Original Message- From: [EMAIL PROTECTED] [mailto:perl- [EMAIL PROTECTED] On Behalf Of Marie-eve URVOY Sent: Wednesday, December 08, 2004 5:34 PM To: Paul Sobey Cc: Perl-Win32 Subject: RE: run a process as System account I think I can't use