How do I make my HTA using group policy to always be on top of the task bar

Ok, long story short, my project of the day is to come up with a HTA (My choice due to the click images etc),  that  will be pushed out via group policy ..  and that when the clients' computer users log into their laptop and b4 they see their
desktop   the HTA application is triggered FULL Screen.
right now what happens is the taskbar shows.. which freaks out management... they want to HTA Page to be completely covering the screen and NO Taskbar please.... ( as in NO ANCHOVIES PLEASE Song reference) .. but seriously
how do I have the HTA  full screen over the TOP of the taskbar....
right now I have this and it isn't over the taskbar:
<hta:application
   showintaskbar = "no"
   caption = "no"
   border = "thick"
   contextmenu = "yes"
   icon = "path_to_icon.ico"
   innerborder = "no"
   scroll = "no"
   singleinstance = "yes"
   resizable = "no"
   windowState = "maximize"
>

First of all, copying and pasting your script into notepad, saving it as an HTA, and running it covered my taskbar. Even so, it is obviously not working in your environment. Typically, and as you've come to see, maximized applications do not cover the taskbar.
I considered that you could run a registry command to auto-hide the taskbar when the HTA opened and then do the opposite in reverse, but this could get messy depending on how the HTA is closed. With a button press there would be no problem, but there's several
ways to close an HTA and I'm not sure if you could catch them all - especially if mshta was forced closed from the Task Manager.
What you could do is run some code inside the onLoad subroutine that obtains the screen's resolution (using WMI) and then resizes the HTA accordingly. Take a look at the answer on this forum post:
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/ac3b41b8-b563-4c8e-b50a-39952c442254/how-to-detect-screen-dpi-and-modify-hta-form-size-accordingly?forum=ITCG
Edit: Corrected URL

Similar Messages

  • On a Mac, how do I setup Firefox to use Command+Enter to open a new tab from the address bar?

    I tried this extension (https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/) , but it doesn't appear to support editing the current "Alt+Enter" to change to "Command+Enter".
    I have a decade plus of muscle memory using the key next to the space bar + enter to open a new tab. Please help!

    There is an older extension named keyconfig (last updated in 2011) which might be able to do it. I haven't used it for quite a while so I'm not sure how well it works any more.
    http://forums.mozillazine.org/viewtopic.php?f=48&t=72994 (link in first post)

  • On a Mac, how do I setup Firefox to use Command+Enter to open a new tab from the address bar? Safari and Chrome do this by default.

    I tried this extension (https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/), but it doesn't appear to support editing the current "Alt+Enter" to change to "Meta+Enter" where Meta = Command on a Mac.
    I want to switch to Firefox, but this is the one and only thing preventing me from doing so! I have a decade plus of muscle memory using the key next to the space bar + enter to open a new tab. Please help!

    There is an older extension named keyconfig (last updated in 2011) which might be able to do it. I haven't used it for quite a while so I'm not sure how well it works any more.
    http://forums.mozillazine.org/viewtopic.php?f=48&t=72994 (link in first post)

  • My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!

    My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!

    Welcome to the Apple Community.
    Delete the apps purchased by your cousin and purchase your own.

  • How do you make PP CS5 use more allocated physical memory???

    As you know, you can go to Preferences > Memory and change the amount of RAM reserved for other applications.
    Now, I have 8 GB of RAM installed (Windows 7), and I have set my “RAM reserved for other applications” option to 1.5 GB. That leaves 6.5 GB of memory for Adobe AE, Pr, Encore and Media Encoder.
    Here’s the problem: every time when I’m rendering or exporting in Premiere, I can see through Task Manager that Premiere uses only 1.5 or 2.0 GB of the physical memory, not the 6.5 GB that I’ve allocated. I know the rest is reserved for other applications, but none of them are running at the moment. So, how can I make PP CS5 use more of all the physical memory that’s left?

    Memory management in CS5 is clever enough to use an amount of memory that minimizes the use of the page file and maximizes buffers, However that depends on the material in the project, the effects and transitions used, the export format and the hardware in use.
    There is no sense in using large amounts of memory, when other components cause waiting before the contents of memory can be offloaded. Just as it makes no sense to use a Ferrari in traffic jams.

  • How do I make a purchase using my Itunes account?

    How do I make a purchase using my Itunes account?
    Help any body.

    What happens when you click on the price button, what prompts/messages appear ? If you have a balance on your account then that will automatically be used for the purchase, you can't specify how items are charged.
    If when clicking on the price button you are being prompted to review and log into the account then unless the instructions on this page are followed when creating an account : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method  - Apple Suppor…
    then credit card details will need to be entered before the account can be used to download any item from the store.
    If that is what is happening then you could see if this post by mountaingoatgirl lets you review your account without needing to enter credit card details : https://discussions.apple.com/message/24303054#24303054
    If not then try entering your card's details, it shouldn't be charged (apart from a temporary store holding charge which your card issuer should remove within a few days or so), and you should be able to remove the card after entering it.

  • How can I make Time Machine use the ethernet cable to Time Capsule instead of the wireless connection? Wireless is too slow; has been taking 40 hours to create an initial 142 GB backup.

    How can I make Time Machine use the ethernet cable to Time Capsule instead of the wireless connection? Wireless is too slow; has been taking 40 hours to create an initial 142 GB backup.

    Plug in ethernet .. in the computer.. turn off wireless.

  • How can I deploy EFS using Group Policy and automatically encrypt computers for ALL users who login?

    How can I deploy EFS using Group Policy and Active Directory with a goal to automatically encrypt computers for ALL users who login? (NOT an option for me to use BitLocker)
    I was asked to deploy EFS to encrypt the user my documents folder and profile on all of the users laptops. The laptops are in common areas (board meeting rooms, etc) and security of files is a must.
    I successfully created a recovery certificate in AD. I created an OU and setup an EFS policy and users can now login and select to encrypt their own files. The issue is that management would like to have automaticy Encrypt ALL users my documents AUTOMATICALLY
    when a user login.
    Can this be done?
    Please help

    Hi,
    Any update?
    Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • How to use Group Policy to remove the shutdown button on the logon screen

    Environment:  Shared use computers running Window 7 Professional and MS office Suite; Windows 2008 Standard server, Windows 7 EC Domain Policy and MS Office 2007 ADML Template downloaded from Microsoft. WIndows 7 Accounts OU.
    I am in the process of developing a shared use computer lockdown policy for several Windows 7 computers that will made available in my client's computer lab.  I need to use a group policy setting to remove the Shut Down button on
    the logon screen of the Windows 7 client computers.  I am editing the Windows 7 EC Domain Policy to user accounts in a Windows 7 Accounts OU that I created.  I am using the Group Policy editor in the Group Policy Management Console.  
    Please let me know the best practice for accomplishing this using Group Policy editor.
    Thanks.
    P.S. I tried a setting recommended in the following link in the Windows 7 EC Domain Policy which did not seem to work.
    http://www.windowsitpro.com/article/group-policy/can-i-use-group-policy-to-display-or-remove-the-shut-down-button-on-the-logon-screen-.aspx

    Hi Vernon,
    I tried the group policy you mentioned (Computer Configuration, Windows Settings, Security Settings, Local Policies, and select Security Options, "Shutdown: Allow system to be shut down without having to log on") and it worked on a Windows 7 client.
    Thus you may need to check if the group policy you created is actually applied to clients.
    A screenshot can be found here:
    http://cid-b7ed40feb32ba29f.office.live.com/self.aspx/.Public/desktop/Capture.JPG

  • How do I setup Active Directory and Group Policy on Windows Server 2012?

    I work for a school district that uses a Windows 2012 server with about 400 Windows 7 PCs and 150 Mac PCs. We are set up with Roaming Profiles on the PCs and would like to be able to setup Active Directory, Group Policy, and Roaming Profiles on our macs. (We also have a mac server that they are using as a file server only) As we are a school, our funds are very low. Now for the questions...
    Is there a software that allow us to accomplish this?
    Is there a free solution or a very reduced price option to do this?
    I heard that http://www.centrify.com/products/mac-edition.asp may accomplish this and I read something about it on here but didn't know if this is what I was really trying to do becuase it was marked as "The Golden Triangle" and did not mention Raoming Profiles. This is the link though: https://discussions.apple.com/message/17200059#17200059
    Any help would be greatly appreciated.

    The above reply does not take into account that I am trying to use GROUP POLICY EDITOR to make it the default browser.

  • Uninstall Lync 2010 client, Install Lync 2013 using Group Policy/VB/MS Customisation Tool

    Hi, I am using Group Policy/vb/Lync customization tools to deploy 2013 and remove 2010. The machines have Office 2010. The vb script is as below:
    Dim objShell 'As Object
    Dim objFSO 'As FileSystemObject
    '-- SET OBJECTS
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("WScript.Shell")
    strComputerName = objShell.ExpandEnvironmentStrings("%COMPUTERNAME%")
    Dim WshNetwork : Set WshNetwork = WScript.CreateObject("WScript.Network")
    objShell.Run """\\xxxxxxxxx - Do not Remove\Lync Install 2013 2010\Lync 2013 Outlook 2010\setup.exe"""
    I have amended the OCT with relevant settings, Lync 2013 installs but Lync 2010 does not uninstall. Here is how i have it set:
    In the Office Customization Tool - Set-up - Add Installation and Run Programs,
    In target - pointing to the Lync2010 exe file (on above share)
    In Arguments - /silent /uninstall
    Is this correct?
    Also, i would have thought that, Remove Previous Installations, it would have an option to remove Lync2010?
    Anyway..pulling my hair out here!
    Hope you can help.

    Hi,
    Based on your description, we can refer to the following threads for help.
    Slient Unninstall of Lync 2010 on client machines script required
    http://social.technet.microsoft.com/Forums/lync/en-US/69e32128-4581-4be5-9a44-b5d133e1f480/slient-unninstall-of-lync-2010-on-client-machines-script-required
    Scripting a Lync 2010 client Uninstall
    http://social.technet.microsoft.com/Forums/en-US/a65bd0d0-daa1-4616-8725-63f349fdde86/scripting-a-lync-2010-client-uninstall?forum=lyncconferencing
    For this issue is more related to Lync, in order to get better help, we can ask the question in the following TechNet dedicated Lync forum.
    Lync 2010 and OCS - Lync Clients and Devices
    http://social.technet.microsoft.com/Forums/lync/en-US/home?forum=ocsclients&filter=alltypes&sort=lastpostdesc
    In addition, for it also involves scripts, we can also ask for help in the following scripting forum.
    The Official Scripting Guys Forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Hope it helps.
    Best regards,
    Frank Shen

  • In snow leopard, 2 fingers to the left on the mouse went back to the previous page. In Lion, it opens the dashboard. How can i make firefox go back to previous page with two fingers left on the mouse??

    In snow leopard, 2 fingers to the left on the mouse went back to the previous page. In Lion, it opens the dashboard. How can i make firefox go back to previous page with two fingers left on the mouse??

    Hi,
    I don't know of a preference, but have you used ⌘-T in iCal?
    Best wishes
    John M

  • Block websites on Internet Explorer 11 using group policy

    hi everyone,
    i have been trying to block website for domain users using group policy windows server r2 for IE the problem is in internet properties content adviser option is not active.
    thanks in advance

    This is how you enable content adviser User Configuration -> Administrative
    Templates -> Windows Components -> Internet Explorer -> Internet Control
    Panel -> Content Page
    Cant see a way to edit the content thereafter via GP however

  • Assign a local logon script using Group Policy

    Is there a way to assign a local logon script using Group Policy? The reason I ask is that I wrote a logon/logoff script that will record the date/time, user, and computer for everyone who logs on to any machine in the domain. Right now it's set on a domain
    GPO, so it works great for domain accounts, but I'd like to extend that functionality to local accounts as well. The only way I know how to do that would be to set my script to run using the local policy. Since I don't want to manually go around to all 400+
    machines in my domain, I would rather find a simpler way of modifying the local policy. Any ideas?

    Martin, thank you for your response. That's exactly the kind of out-of-the-box answer I was looking for, unfortunately, it looks like I can only do that for Logon scripts. I don't see an option for Logoff. (Maybe the took the Logoff functionality out?
    This article says there should be a Logoff item in the GPO, but they're talking about Windows 2000 in that article.)
    Matthias, I started playing around with what you said, and I noticed that the "Scripts" key only seems to show up on my Windows 7 clients. The XP workstations don't have that key. Plus I did some testing, and I think I can do it without having
    to mess with the registry at all.
    So I think I have a workable solution at the moment. I found
    this article that talks about copying Local Polices from one computer to another. I tried manually setting the Logon/Logoff scripts in the Local policy on a fresh machine. From that reference computer I copied the Scripts folder out of the %SYSTEMROOT%\System32\GroupPolicy\User
    directory. It also created a gpt.ini file in the %SYSTEMROOT%\System32\GroupPolicy directory. The gpt.ini file contained an attribute called gPCUserExtensionNames, and one called Version. The gPCUserExtensionNames attribute specified two GUIDs, which
    I assumed to be the GUIDs that identify the Local Policy. I tried manually creating the Local policy on several different machines, with several different Operating Systems, and those GUIDs always seemed to be the same (not sure why). So I copied the gpt.ini
    file off the reference machine as well. When I placed all of the files I copied from the reference machine on to a new machine, everything seemed to work just fine (no registry modification necessary), with one caveat. It seemed to be running the script twice.
    So I went back into the gpt.ini file and deleted one of the GUIDs listed under gPCUserExtensionNames, and now the script runs just once!
    So I think this solution will work ok for me. We don't have any other Local Policies in place, so demolishing all existing Local Policies is perfectly acceptable in my case. I'm just not sure if I'm doing any damage by copying the gpt.ini file from a reference
    machine (if anyone can expand on how that works, I would appreciate the peace of mind that I'm not making things worse by doing this). So all I need now is to write a Startup script, or an SCCM package to deliver the Logon scripts and associated ini files
    to the appropriate location on all the domain PCs. Easy enough to do on my own. If anyone knows of a reason why this method is a bad idea, please post here. I'll be testing it out on a handful of PCs in the mean time.
    Hi Guys,
    Will this solution work for my case? I have a forcereboot batch script that I need to load on the local policy (logoff script through GPEDIT) however I can only load it manually. I need to do it on multiple machines (approx 5000 computers). I am having
    trouble doing it using powershell. Is there any other options to do it? 
    Will I have to use the same GUID's you mentioned on the gpt.ini file? (gPCUserExtensionNames=[{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}] since it refers to the local script and how about the version on the gpt.ini file?
    Thanks in advance.
    Dash
    https://social.technet.microsoft.com/Forums/en-US/1f636042-bcff-498d-93c0-e1aa89f80961/how-to-load-a-script-on-the-local-group-policy-on-multiple-computers?forum=mdopagpm

  • Skype History Settings using group policy

    Hello,
    How to disable Skype keep History for (Forever, 1months, no History) settings using Group Policy Settings.
    Regards,
    Yatin

    It's all in the Skype admin guide:
    https://support.skype.com/en/doc/DO5/skype-it-administrators-guide
    If you have Skype-specific questions, you'll probably get better help with your questions on the Skype site.
    Don't retire TechNet! -
    (Don't give up yet - 12,420+ strong and growing)

Maybe you are looking for

  • CS4 Upgrade for Yosemite

    Hello: Not sure if a forum is the best place for this question, but it is where I got foisted, so here goes: I have Creative Suite 4 Design Standard, but just got upgraded to Yosemite and it doesn't work. I have some important time-critical work that

  • How can I list all the column names of a table by programming?

    Hi, Now I want to write an function which has the following features: Firstly, The function was given a parameter as table name. Then, it will lists all the columns names of the table. e.g table: person ---firstName------lastName----+        Michale 

  • Icon Transparency not working?

    I have a control in xcelsius using icons with the Transparency set to 0% (completely transparent in 4.5). They were working in 4.5 but after the upgrade to 2008, they did not work anymore From the help files: xcelsius 4.5: 0 being completely transpar

  • APPLLCSP Environment Variable Problem

    Gurus- How do I resolve this issue? I checked the Tk2Motif_UTF8.rgb file and I don't detect any errors. This btw, was generated as a result of a seeded report. Thanks APPLLCSP Environment Variable set to : XML_REPORTS_XENVIRONMENT is : /apps1/applmgr

  • Migrate oracle 9iR2 database from Suse to Red Hat???

    Hi Everyone, We're going to move an oracle 9iR2 database from Suse to Red Hat. At this moment I don't know the detail about the platforms yet. I still like to ask a question if DB backup on Suse is compatible on RedHat? Physical restoring may be our