GPO Software installation error 1000 userinit...

M

Malic

Hello.

Some may remember me from last week. I am still having difficulty
installing my software for my entire company. I'm hoping with this
additional information someone will be able to help me.

From information obtained here, I know that the GPO startup runs as the
system account on the local machine so it should have rights to install the
software. I have the install located on a public directory on my network.
Everyone has access to this install. It uses a silent install script which
I got by using setup.exe -r.

So now I have my .vbs file (I found this sample code on the internet, I'm
not a programmer/scripter by any since of the word):

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run(\\gsea\public\thinprint\setup.exe /s
/f1\\gsea\public\thinprint\setup.iss)
' ReturnCode = WshShell.Run("%windir%\notepad.exe", 1, True)
At this point I dont care about code to see if it is already installed. I
just have to get this working. I can add that later. On my test OU when
someone starts up and logs in I see userinit run. So I go to the event
viewer and I get the following error in my Apps log.

Event Type: Error
Event Source: UserInit
Event Category: None
Event ID: 1000
Date: 7/27/2004
Time: 8:54:30 AM
User: N/A
Computer: GSE141
Description:
Could not execute the following script
\\domain_name\SysVol\domain_name\Policies\{6C11076D-B84D-4202-AE35-649FD5AAB
2E5}\Machine\Scripts\Startup\test.vbs. No application is associated with the
specified file for this operation.
.. For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

So, what do I need to do which my script to make it run? No application
associated with this file. In the GP I have
\\domain_name\SysVol\domain_name\Policies\{6C11076D-B84D-4202-AE35-649FD5AAB
2E5}\Machine\Scripts\Startup\test.vbs for the script name and nothing set as
the parameters. Do I need to add something in the parameters? I looked up
this event at eventid.net and it says to put the full path to the .vbs in
the script name which I have done.

I appreciate all of your help.
 
C

Carey Frisch [MVP]

For expert scripting advice:

Please visit the experts in the scripting newsgroup:
news://msnews.microsoft.com/microsoft.public.scripting.vbscript

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User

Be Smart! Protect your PC!
http://www.microsoft.com/security/protect/

-------------------------------------------------------------------------------------


| Hello.
|
| Some may remember me from last week. I am still having difficulty
| installing my software for my entire company. I'm hoping with this
| additional information someone will be able to help me.
|
| From information obtained here, I know that the GPO startup runs as the
| system account on the local machine so it should have rights to install the
| software. I have the install located on a public directory on my network.
| Everyone has access to this install. It uses a silent install script which
| I got by using setup.exe -r.
|
| So now I have my .vbs file (I found this sample code on the internet, I'm
| not a programmer/scripter by any since of the word):
|
| Set WshShell = WScript.CreateObject("WScript.Shell")
| WshShell.Run(\\gsea\public\thinprint\setup.exe /s
| /f1\\gsea\public\thinprint\setup.iss)
| ' ReturnCode = WshShell.Run("%windir%\notepad.exe", 1, True)
| At this point I dont care about code to see if it is already installed. I
| just have to get this working. I can add that later. On my test OU when
| someone starts up and logs in I see userinit run. So I go to the event
| viewer and I get the following error in my Apps log.
|
| Event Type: Error
| Event Source: UserInit
| Event Category: None
| Event ID: 1000
| Date: 7/27/2004
| Time: 8:54:30 AM
| User: N/A
| Computer: GSE141
| Description:
| Could not execute the following script
| \\domain_name\SysVol\domain_name\Policies\{6C11076D-B84D-4202-AE35-649FD5AAB
| 2E5}\Machine\Scripts\Startup\test.vbs. No application is associated with the
| specified file for this operation.
| . For more information, see Help and Support Center at
| http://go.microsoft.com/fwlink/events.asp.
|
| So, what do I need to do which my script to make it run? No application
| associated with this file. In the GP I have
| \\domain_name\SysVol\domain_name\Policies\{6C11076D-B84D-4202-AE35-649FD5AAB
| 2E5}\Machine\Scripts\Startup\test.vbs for the script name and nothing set as
| the parameters. Do I need to add something in the parameters? I looked up
| this event at eventid.net and it says to put the full path to the .vbs in
| the script name which I have done.
|
| I appreciate all of your help.
 
T

Torgeir Bakken \(MVP\)

Carey said:
For expert scripting advice:

Please visit the experts in the scripting newsgroup:
news://msnews.microsoft.com/microsoft.public.scripting.vbscript
Hi Carey,

You might want to take a closer look at what groups Malic posted to...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top