|
Задача - в логон-скрипте пользователя запускать vbs от имени администратора.
Реализовал следующим батником:
Код: Выделить всё @echo руками не трогать
@echo пароль | runas /netonly /user:домен\учетка_с_правами_админа "cscript \"\\путь\к\скрипту\install...
Started by paran0id on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at lissyara):
Скрипт vbs начинал выполняться, но почему-то.
Скрипта запускать bat или exe, пинающий собственно vbs.
|
|
On Wed, 18 Mar 2009 12:45:10 +0100, "wpher56" <wpher56@gmail.com
Hello
(Windows server 2008 x64) : I have a very basic vbs that I would run every
hour: it checks the size of a file and stores (appends) the result in a
logfile. I double-click this...
Started by wpher56 on
, 14 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
The user....
Instead of invoking the .vbs
file directly, invoke it through a batch file like so:
@echo off
echo %date% %time the vbs directly.
WILL execute .vbs files but you need to give
yourself some eyes to see what the problem is.
|
|
On Thu, 19 Mar 2009 09:02:52 +0100, "wpher56" <wpher56@gmail.com
Through the task scheduler:
19/03/2009 7:30:00.19 administrator
19/03/2009 7:30:00.21 administrator
Command file directly executed:
19/03/2009 7:32:00.24 administrator
File size...
Started by wpher56 on
, 10 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
This is an issue within....
You now say that the .vbs program does not generate the output you expect.
The log file shows that your .vbs file consider this issue
to be resolved.
Wpher56@gmail.comnews:%23eKybkGqJHA.996@TK2MSFTNGP03.phx.gbl...
|
Ask your Facebook Friends
|
On Wed, 15 Oct 2008 23:45:00 -0700, nicolas29 <nt29@community.nospam
hello
just an up to be sure someone read my message
nt
--
nt
>
Started by nicolas29 on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
(Does anyone here know why that is?)
Create a BAT file that wraps the VBS - you might have to call the
VBscript not locked into scripts, then the executable....
Can't create a desktop shortcut on a VBS right
click and get "Run As .." in the menu.
|
|
On Wed, 21 Jan 2009 16:19:55 +0100, "NT" <nt29@community.nospam
hello
i have users on a branch office
they connect to the maint site with a TSE session
but they have local software on their portable, for use at the client office
they are not ...
Started by NT on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
Active....
On Wed, 21 Jan 2009 10:40:02 -0500, Jeff Pitsch <jeff.pitsch.fake@jeffpitschconsulting.com
This isn't a TS question but Microsoft's Systems Management Server (or
whatever the new name is (http://www.microsoft.com/sms)) would do the
trick .
|
|
I know I have already answered a similar question ( Running Batch File in background when windows boots up ), but this time I need to launch a batch:
from another batch without any DOS windows displayed with all arguments passed to the invisible batch...
Started by VonC on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Run it under a different user name, using "runas" or by scheduling.
No window.
Line:
wscript.exe invis.vbs run.bat %*
Actually, you are calling a vbs script with:
the [path]\name it as a ghost application, i.e.
|
|
On Fri, 8 May 2009 10:46:09 -0400, "Mel K." <Mel.K@nowhere.com
What exactly is the purpose of doing this? And why do you need a VBS when a
batch file should work fine?
--
Thank you,
Mel K.
MCSA: M
"Jeremy" <Jeremy@discussions.microsoft.comnews...
Started by Mel K. on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
To run the bat/vbs under another account, perhaps
with the "runas" command in the bat file.
|
|
I am having an issue related to executing a .Net dll from a classic asp application on a 64 Bit Windows Server 2008 server running IIS7. The situation is as follows:
I have written a .Net C# assembly to perform some encryption tasks. This assembly has...
Answer Snippets (Read the full thread at stackoverflow):
You get the same.
If you can't (i.e.
Create a vbs test file and try to create your COM object there.
|
|
On Thu, 3 Sep 2009 05:53:41 +0530, drewdog <drewdog.3xwy3d@DoNotSpam.com
Hello,
I am trying to find out how I can get a list of all my users in my
domain that do not have any passwords. I am new at scripts and was
trying to make a .vbs scripts...
Started by drewdog on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at omgili):
Or, as suggested use MBSA.
If it succeeds ther e is no password.
-- drewdog
1st drop the http://forums.techarena.in crap their domain
credentials with RunAs.
Any help
| would be great.
A .vbs scripts.
|
|
On Thu, 08 Jan 2009 14:24:48 -0800, "JaR" <jrderby@lakabux.com
I am having trouble with a logon .vbs script. If I log into a network
computer with Admin credentials, the script runs perfectly, with normal
user logins, I get an "permission denied...
Started by JaR on
, 11 posts
by 5 people.
Answer Snippets (Read the full thread at omgili):
Can
one do some variation of Runas?
--
JaR
When the very best.
Are all running XP Pro.
|