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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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?
Answered 08/20/2010 by: VBScab
Red Belt

Please log in to comment
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"
Answered 08/20/2010 by: alphabeta
Third Degree Brown Belt

Please log in to comment
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.
Answered 08/20/2010 by: VBScab
Red Belt

Please log in to comment
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?
Answered 08/22/2010 by: alphabeta
Third Degree Brown Belt

Please log in to comment
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.
Answered 08/22/2010 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity