|
What exactly is the EXE doing? Not all system services are
not available when the startup script runs. For instance, try to shutdown a
server from a startup script. If you ever really need to do that, let me know, I
have an exe that will do it. Dean told me about issues doing it and I got
interested enough to look at it and it pissed me right off so I "fixed"
it. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Creamer, Mark Sent: Monday, March 28, 2005 4:51 PM To: [email protected] Subject: RE: [ActiveDir] startup scripts not running It is a vbs. Actually,
though, I found out a little more. I put a fresh server into the same OU, and
rebooted. Turns out most of the script is successful. The only part that isn’t
is a line that calls an executable file (.exe), which is also located in the
same folder as the vbscript. If I wait until the
server is fully logged in, the script runs the executable with no problem. If I
leave it to the startup script to run, it does not. I’m using the Exec method of
the wscript object, such as: Ws.exec(“myexecutable.exe”) Does that make
sense? Thanks
again, Mark From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of
[EMAIL PROTECTED] Is it a vbs? If yes,
have you tried calling it from a bat file? Does it work if you do that? What you
can do depends on the outcome of that test. Deji From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Creamer,
Mark I have a situation in which startup
scripts assigned to various OUs where different servers are located are not
running. If I log in as a domain admin, browse to the location of the script in
the GPO assigned to the OU where that server is located, I can launch the script
with no problem. I’m having trouble figuring out why
the script won’t launch on its own. The only thing I’ve found so far in
troubleshooting a startup script is to look for an entry in the Application log
with a source of Userinit. However, I see no such entries. Can anyone think of
what I might need to look at? What permissions need to be enabled on the Policy
itself, just in case that’s the issue? Thanks, Mark This e-mail transmission contains information that is intended to be confidential and privileged. If you receive this e-mail and you are not a named addressee you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so is prohibited and may be unlawful. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please delete and otherwise erase it and any attachments from your computer system. Your assistance in correcting this error is appreciated. |
