/build/static/layout/Breadcrumb_cap_w.png

Software scripts don't show install message on W7 boot

Hi,
I have some software that installs via Group Policy to some Windows 7 Machines. As part of the script we got it to run a .bat file with the message that software was installing and not to touch the computer. On Windows 7 the software installs fine but the .bat message doesn't appear on screen. Is there any way round this or anything I can do to put a message on screen to stop the user from logging into the computer until the software has installed?

0 Comments   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 14 years ago
Red Belt
0
On Windows 7 the software installs fine but the .bat message doesn't appear on screenThis implies that it *does* appear on other OSes. Is that the case? I can't imagine that it is, since GP executes in local System context. As such, there is no console for it to display messages on. In any event, doesn't the normal GP message "Installing managed software '[whatever]' give your users a clue?
Posted by: alphabeta 14 years ago
Black Belt
0
We had Windows XP installed before and it open in a cmd window with a message saying basically 'Do not touch'. The software would install in the backgorund and the last thing the script would do is cancel the message window. Below is an example of the vbs script linked in GP. The message.bat would contain the 'Do not touch' message.

Set WshShell = WScript.CreateObject("WScript.Shell")
Set oShell = WScript.CreateObject ("WSCript.shell")

oshell.Run """\\servername\folder\message.bat"""
oshell.Run """\\servername\folder\setup.exe""",1,True

oshell.Run "taskkill /F /IM:cmd.exe"
Posted by: anonymous_9363 14 years ago
Red Belt
0
I see UNC...are the W7 machine accounts members of Domain Users? If not, the System account won't have access to the network.
Posted by: alphabeta 14 years ago
Black Belt
0
I'd need to double check on Monday, but the fact that the software installs I presume they are. Should I be looking at Powershell to put a quick message on screen?
Posted by: anonymous_9363 14 years ago
Red Belt
0
The fact that the software installs is a function of the System account's local privileges.

I may have led you astray, actually. What I should have had you check is whether the machine accounts have rights to the network share you're using.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ