NaasMarais
(Fresh Scripter)
2009-09-28 09:28 AM
Only show icons on desktop after script has run

Hi Guys,

Can you please tell me what i need to incorporate into my script so that the desktop icons and taskbar only show after the login script has run? Also how can one get the minimized button grayed out?

Thanks


Mart
(KiX Supporter)
2009-09-28 09:38 AM
Re: Only show icons on desktop after script has run

 Originally Posted By: NaasMarais
Hi Guys,

Can you please tell me what i need to incorporate into my script so that the desktop icons and taskbar only show after the login script has run?
....


You should let the logon script(s) run synchronised. The Always wait for network setting might also be handy.

See: GPO - Computer Configuration\Administrative Templates\System\Logon Run logon scripts synchronously policy
See: GPO - Computer Configuration\Administrative Templates\System\Logon Always wait for network at computer startup and logon

 Originally Posted By: NaasMarais

....
Also how can one get the minimized button grayed out?

Thanks


That depends on what kind of logon script you use. In KiXforms you can disable the entire control box so you will not see the Minimize, Maximize and Close boxes.


NaasMarais
(Fresh Scripter)
2009-09-28 09:42 AM
Re: Only show icons on desktop after script has run

Thanks Mart,

I use a login.bat to specify which kix script to use which i generaly just the one. Is there i specific command in the script i need to add to disable the control box?


Mart
(KiX Supporter)
2009-09-28 10:03 AM
Re: Only show icons on desktop after script has run

I don’t think there is a way to disable the control box in a cmd console window.

A small question: Why would you disable minimize? Users can minimize the script but that will not stop the script from doing what it should do.


NaasMarais
(Fresh Scripter)
2009-09-28 10:08 AM
Re: Only show icons on desktop after script has run

We want to keep the console open at all times as we are going to remove old anti virus clients from the users pc but it needs to restart after the uninstall. In my script it shows in the script window what it is doing and the users must be aware that the PC will be restarting after the uninstall.

But i will test with those GPO setting you gave me.


BradV
(Seasoned Scripter)
2009-09-28 12:09 PM
Re: Only show icons on desktop after script has run

Why not remove the old software from a central computer running overnight. Your users may not have the correct permissions to undelete software anyway.