Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!
If you have any problems with the registration process or your account login, please contact us.
|
|
|
Run script
microsoft.public.windows.vista.general
|
Click On Your Flag for Translation
|

05-17-2007
|
|
|
|
Run script
I have a sample script I'd like to run on my Vista Home Premium box.
How do I do it?
Thanks
|
|

05-17-2007
|
|
|
|
Re: Run script
If it's a script that needs admin power, you'll need to run it from an
elevated command prompt (right-click command prompt, click run as
administratork, then execute the script, eg cscript scriptname)
--
-JB
Microsoft MVP - Windows Shell
Windows Vista Support FAQ - http://www.jimmah.com/vista/
On Wed, 16 May 2007 19:27:08 -0500, "Mark Goldin"
<markgoldin_2000@yahoo.com> wrote:
>I have a sample script I'd like to run on my Vista Home Premium box.
>How do I do it?
>
>Thanks
|
|

05-17-2007
|
|
|
|
Re: Run script
But all I have is a sample script, not a file. What kind of file should I
create?
"Jimmy Brush" <jb@mvps.org> wrote in message
news:129n435rh3rolal4nhq5adeogkud52p564@4ax.com...
> If it's a script that needs admin power, you'll need to run it from an
> elevated command prompt (right-click command prompt, click run as
> administratork, then execute the script, eg cscript scriptname)
>
> --
> -JB
> Microsoft MVP - Windows Shell
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
> On Wed, 16 May 2007 19:27:08 -0500, "Mark Goldin"
> <markgoldin_2000@yahoo.com> wrote:
>
>>I have a sample script I'd like to run on my Vista Home Premium box.
>>How do I do it?
>>
>>Thanks
|
|

05-17-2007
|
|
|
|
Re: Run script
What kind of script is it?
VBScript? Takes a .vbs extension.
BATCH script? .bat or .cmd
-JB
Microsoft MVP - Windows Shell
Windows Vista Support FAQ - http://www.jimmah.com/vista/
On Wed, 16 May 2007 19:45:45 -0500, "Mark Goldin"
<markgoldin_2000@yahoo.com> wrote:
>But all I have is a sample script, not a file. What kind of file should I
>create?
>
>"Jimmy Brush" <jb@mvps.org> wrote in message
>news:129n435rh3rolal4nhq5adeogkud52p564@4ax.com.. .
>> If it's a script that needs admin power, you'll need to run it from an
>> elevated command prompt (right-click command prompt, click run as
>> administratork, then execute the script, eg cscript scriptname)
>>
>> --
>> -JB
>> Microsoft MVP - Windows Shell
>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>
>> On Wed, 16 May 2007 19:27:08 -0500, "Mark Goldin"
>> <markgoldin_2000@yahoo.com> wrote:
>>
>>>I have a sample script I'd like to run on my Vista Home Premium box.
>>>How do I do it?
>>>
>>>Thanks
|
|

05-17-2007
|
|
|
|
Re: Run script
This:
start /w pkgmgr
/iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
How do I run this? I want to have all IIS options installed.
"Jimmy Brush" <jb@mvps.org> wrote in message
news:tn9n431uvndh44s4iov17f74m6qrihs2k3@4ax.com...
> What kind of script is it?
>
> VBScript? Takes a .vbs extension.
>
> BATCH script? .bat or .cmd
>
> -JB
> Microsoft MVP - Windows Shell
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
> On Wed, 16 May 2007 19:45:45 -0500, "Mark Goldin"
> <markgoldin_2000@yahoo.com> wrote:
>
>>But all I have is a sample script, not a file. What kind of file should I
>>create?
>>
>>"Jimmy Brush" <jb@mvps.org> wrote in message
>>news:129n435rh3rolal4nhq5adeogkud52p564@4ax.com. ..
>>> If it's a script that needs admin power, you'll need to run it from an
>>> elevated command prompt (right-click command prompt, click run as
>>> administratork, then execute the script, eg cscript scriptname)
>>>
>>> --
>>> -JB
>>> Microsoft MVP - Windows Shell
>>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>>
>>> On Wed, 16 May 2007 19:27:08 -0500, "Mark Goldin"
>>> <markgoldin_2000@yahoo.com> wrote:
>>>
>>>>I have a sample script I'd like to run on my Vista Home Premium box.
>>>>How do I do it?
>>>>
>>>>Thanks
|
|

05-17-2007
|
|
|
|
Re: Run script
This is just a command line for a program. You can run it from a
command prompt window.
--
-JB
Microsoft MVP - Windows Shell
Windows Vista Support FAQ - http://www.jimmah.com/vista/
On Wed, 16 May 2007 20:08:30 -0500, "Mark Goldin"
<markgoldin_2000@yahoo.com> wrote:
>This:
>start /w pkgmgr
>/iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationS
e
>rvice;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
>How do I run this? I want to have all IIS options installed.
>
>"Jimmy Brush" <jb@mvps.org> wrote in message
>news:tn9n431uvndh44s4iov17f74m6qrihs2k3@4ax.com.. .
>> What kind of script is it?
>>
>> VBScript? Takes a .vbs extension.
>>
>> BATCH script? .bat or .cmd
>>
>> -JB
>> Microsoft MVP - Windows Shell
>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>
>> On Wed, 16 May 2007 19:45:45 -0500, "Mark Goldin"
>> <markgoldin_2000@yahoo.com> wrote:
>>
>>>But all I have is a sample script, not a file. What kind of file should I
>>>create?
>>>
>>>"Jimmy Brush" <jb@mvps.org> wrote in message
>>>news:129n435rh3rolal4nhq5adeogkud52p564@4ax.com ...
>>>> If it's a script that needs admin power, you'll need to run it from an
>>>> elevated command prompt (right-click command prompt, click run as
>>>> administratork, then execute the script, eg cscript scriptname)
>>>>
>>>> --
>>>> -JB
>>>> Microsoft MVP - Windows Shell
>>>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>>>
>>>> On Wed, 16 May 2007 19:27:08 -0500, "Mark Goldin"
>>>> <markgoldin_2000@yahoo.com> wrote:
>>>>
>>>>>I have a sample script I'd like to run on my Vista Home Premium box.
>>>>>How do I do it?
>>>>>
>>>>>Thanks
|
|

05-17-2007
|
|
|
|
Re: Run script
Just did it. I thought I was doing something wrong because no changes are
applied.
"Jimmy Brush" <jb@mvps.org> wrote in message
news:n1bn431lfrp411kegkb7f1dbnftc9p69qr@4ax.com...
> This is just a command line for a program. You can run it from a
> command prompt window.
>
> --
> -JB
> Microsoft MVP - Windows Shell
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
> On Wed, 16 May 2007 20:08:30 -0500, "Mark Goldin"
> <markgoldin_2000@yahoo.com> wrote:
>
>>This:
>>start /w pkgmgr
>>/iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationS
> e
>>rvice;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
>>How do I run this? I want to have all IIS options installed.
>>
>>"Jimmy Brush" <jb@mvps.org> wrote in message
>>news:tn9n431uvndh44s4iov17f74m6qrihs2k3@4ax.com. ..
>>> What kind of script is it?
>>>
>>> VBScript? Takes a .vbs extension.
>>>
>>> BATCH script? .bat or .cmd
>>>
>>> -JB
>>> Microsoft MVP - Windows Shell
>>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>>
>>> On Wed, 16 May 2007 19:45:45 -0500, "Mark Goldin"
>>> <markgoldin_2000@yahoo.com> wrote:
>>>
>>>>But all I have is a sample script, not a file. What kind of file should
>>>>I
>>>>create?
>>>>
>>>>"Jimmy Brush" <jb@mvps.org> wrote in message
>>>>news:129n435rh3rolal4nhq5adeogkud52p564@4ax.co m...
>>>>> If it's a script that needs admin power, you'll need to run it from an
>>>>> elevated command prompt (right-click command prompt, click run as
>>>>> administratork, then execute the script, eg cscript scriptname)
>>>>>
>>>>> --
>>>>> -JB
>>>>> Microsoft MVP - Windows Shell
>>>>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>>>>
>>>>> On Wed, 16 May 2007 19:27:08 -0500, "Mark Goldin"
>>>>> <markgoldin_2000@yahoo.com> wrote:
>>>>>
>>>>>>I have a sample script I'd like to run on my Vista Home Premium box.
>>>>>>How do I do it?
>>>>>>
>>>>>>Thanks
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 22:03.
|
|