+ Post New Thread
Results 1 to 6 of 6
Scripts Thread, Script visibility after login in Coding and Web Development; I'm not a scripting kind of guy. In fact, I use a program called Desktop Authority by Scriptlogic so that ...
  1. #1
    Blind's Avatar
    Join Date
    Jul 2006
    Location
    The Wrong Side of The Pond
    Posts
    61
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Script visibility after login

    I'm not a scripting kind of guy. In fact, I use a program called Desktop Authority by Scriptlogic so that I don't have to be.

    However, I've come to realize I have an issue and their support has been less than helpful. Let me explain and see if you guys can be of assistance.

    Attached you will find a screen cap of the script window that appears just after a user logs in. Normally this flashes across the screen for a second. However, if a user closes this window they gain access to things like the standard Windows start menus and not my secure redirected menu. Not good.

    What can be done to make this window disappear?
    Attached Images Attached Images

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Use HideWindow to hide the command window. Probably run it as the first command in your script.

    WinSite: HideWindow

    Also watch out, AV may take offence to this file as it's used by adware/viruses.

  3. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,174
    Thank Post
    868
    Thanked 2,702 Times in 2,289 Posts
    Blog Entries
    11
    Rep Power
    773
    You should be able to do this by adding a group policy to the machines that you wish to suppress this on in Active directory and change this setting:

    Computer Configuration -> Administrative Templates -> System -> Scripts : Run Startup scripts visible

    Set it to disabled and the boxes should no longer appear during log in.

  4. #4
    Blind's Avatar
    Join Date
    Jul 2006
    Location
    The Wrong Side of The Pond
    Posts
    61
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by SYNACK View Post
    You should be able to do this by adding a group policy to the machines that you wish to suppress this on in Active directory and change this setting:

    Computer Configuration -> Administrative Templates -> System -> Scripts : Run Startup scripts visible

    Set it to disabled and the boxes should no longer appear during log in.
    I thought so too, but I've set these to disable with no noticeable effect.

  5. #5

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,174
    Thank Post
    868
    Thanked 2,702 Times in 2,289 Posts
    Blog Entries
    11
    Rep Power
    773
    Quote Originally Posted by Blind View Post
    I thought so too, but I've set these to disable with no noticeable effect.
    Ok, Its worked for me when I tried it but there are tonnes of things that could be different. The package that you are running may be triggering a secondary command window, the policy may not have applied properly (use the RSoP MMC to check) or stuff like that. Anyhow good luck with resolving it

  6. #6
    Shane's Avatar
    Join Date
    Apr 2007
    Location
    Kernow
    Posts
    166
    Thank Post
    23
    Thanked 14 Times in 12 Posts
    Rep Power
    21
    Const HIDDEN_WINDOW = 12
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set objStartup = objWMIService.Get("Win32_ProcessStartup")
    Set objConfig = objStartup.SpawnInstance_
    objConfig.ShowWindow = HIDDEN_WINDOW
    Set objProcess = GetObject("winmgmts:root\cimv2:Win32_Process")
    errReturn = objProcess.Create("put the path to your script here", null, objConfig, intProcessID)

    Try running that as a .vbs file on startup (but stop your current script from auto starting as it will be called from this one anyway).

SHARE:
+ Post New Thread

Similar Threads

  1. Set firefox proxy via login script
    By Jackd in forum Windows
    Replies: 2
    Last Post: 24th December 2009, 01:59 PM
  2. Printers disappearing after login script
    By gshaw in forum Windows
    Replies: 11
    Last Post: 10th June 2009, 06:47 PM
  3. Vista + VB login script
    By dave.81 in forum Windows Vista
    Replies: 5
    Last Post: 17th February 2008, 04:29 PM
  4. Login Script/Launch Agent
    By saundersmatt in forum Mac
    Replies: 1
    Last Post: 22nd January 2008, 12:29 PM
  5. Login script problem
    By SpuffMonkey in forum Windows
    Replies: 55
    Last Post: 4th February 2006, 09:27 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •