Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Shutdown GPO

Reply
 
 
systinte5
Guest
Posts: n/a

 
      05-21-2009
My apologies if I am in the wrong place. We have a computer shutdown GPO
attached to an OU where a bunch of XP and VISTA workstations are. This GPO
works fine on XPs as they are shut down or restarted. The GPO does simple
things like setting DNS or WINS or other things are commanded via parameters.
On VISTA however, it only runs if the user manually runs the same binary.
When run via shutdown GPO on VISTA, the shutdown appears to freeze for ever.
We have to hard boot the system. We have figured out the problem is due to
interactive nature of the application. For example, it sets the DNS on VISTA
correctly, but when it displays a prompt to the user, the prompt is not
visible to the user and hence he is unable to acknowledge and respond to the
prompt. I figured it is due to the display message going to another desktop
perhaps? Under VISTA what is the desktop to use after the user has logged off
and the system is shutting down? Perhaps I have to send my messages to a
specific target desktop? Here is the VB code snippet:

------ some code ----
If DNS is successfully setintDNSServers = 0 Then
MsgBox "DNS successfully set.", vbSystemModal, "Shutdown-GPO" ' gets
stuck here forever
Else
MsgBox "Error setting DNS. Please contact an administrator
immediately.", vbSystemModal, "Shutdown-GPO" ' gets stuck here forever
End If
-------------

Any assistance will be appreciated.

Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Start -> Shutdown -> Default to Shutdown? +Bob+ Windows Vista General Discussion 4 07-30-2008 04:28 AM
svchost.exe shutdown and Generic Host Shutdown Nathan M. Jones Windows Vista General Discussion 1 06-08-2008 11:04 AM
Shutdown 7cyclist Windows Vista General Discussion 5 02-14-2008 04:25 AM
SHUTDOWN GREG Windows Vista General Discussion 6 02-06-2008 09:20 PM
win 98 shutdown shutdown Windows Update 0 12-18-2003 02:39 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59