|
-
Mar 10th, 2002, 01:38 AM
#1
Thread Starter
Frenzied Member
yes, but that involved using the run as to run it as a service... so what you could do is create a vb app that runs the batch file, sendkeys the password, sendkeys enter, and then it should work on its own right?
Government is another way to say better…than…you.
It’s like ice but no pick, a murder charge that won’t stick,
it’s like a whole other world where you can smell the food,
but you can’t touch the silverware.
Huh, what luck. Fascism you can vote for.
Humph, isn’t that sweet?
And we’re all gonna die some day, because that’s the American way
-Stone Sour
-
Mar 10th, 2002, 02:06 AM
#2
Thank you, I appreciate the idea.
That might work, I will try it tomorrow. I tried piping the password to the runas command at the beginning of the batchfile to no avail . . .
echo <password>|runas /user:adminstrator regedit /e update.reg
. . . but the runas command didn't like the pipe to well!
I will try send keys and see if that can do it. If anyone has any other ideas, I am all ears.
-
Mar 10th, 2002, 10:06 PM
#3
Hmmm, I couldn't figure out why I couldn't get that to work, then I read this . . .
Note You can't use SendKeys to send keystrokes to an application that is not designed to run in Microsoft Windows. Sendkeys also can't send the PRINT SCREEN key {PRTSC} to any application.
. . . Any other ideas?
-
Mar 11th, 2002, 01:37 PM
#4
I thought I would bump this to the top to give it new life before it dies
I tried NTRIGHT.EXE but must also be logged on as an administrator. I need something like ntrights.exe that lets me enter the admin password!
I desperatly need an NT hacker!! Help!!
-
Mar 11th, 2002, 01:42 PM
#5
Black Cat
There's a CreateProcessAsUser API Call. I haven't tried to use it, check www.allapi.net , etc.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Mar 11th, 2002, 01:43 PM
#6
Black Cat
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Mar 11th, 2002, 02:18 PM
#7
Hyperactive Member
v too r facing the same situation...
We have an application in 3-tier, with VB 6 as front end and DLLs (i.e COM+ components) also in VB6
and Oracle 8.1.5 as Back end for database.
This application runs under windows 2000 environment with around 500 active users.
Each time the dlls r modified it needs to be registered on each and every client.
Currently vr asking the end users to log on locally as local administrator and register.
Hope a solution for ur prob will also help us...
-
Mar 11th, 2002, 03:14 PM
#8
Thank you for the idea!!!!!!!!!!!!!!!!!!!
I will try it now!!
Hope a solution for ur prob will also help us...
If I find a solution, I will be happy to pass it along!
-
Mar 11th, 2002, 05:44 PM
#9
Only works in Windows 2000 and later
There has to be a way to do this!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|