{"id":93,"date":"2007-01-28T16:38:00","date_gmt":"2007-01-28T20:38:00","guid":{"rendered":"http:\/\/jdhitsolutions.com\/blog\/2007\/01\/28\/updated-logon-script-generator\/"},"modified":"2013-07-02T08:11:39","modified_gmt":"2013-07-02T12:11:39","slug":"updated-logon-script-generator","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/","title":{"rendered":"Updated Logon Script Generator"},"content":{"rendered":"<p>Last fall I demonstrated an HTA I had developed to rapidly develop a user logon script with practically no scripting.  You could map drives and printers based on group membership simply be selecting a group from a pre-populated drop down list. You could display a message to the user with information just as a summary of their mapped resources or how old their password is.  You could even run additional programs or code.  <\/p>\n<p>The only thing you really have to do is provide a text list of shared drives and printers that you want to map. The new version let's you specify the location of those files.<\/p>\n<ul>\n<li>Other items in the new version:<\/li>\n<li>Fixed bug when using %username% in the drive mapping.<\/li>\n<li>Previous used values are stored in the registry for faster access.<\/li>\n<li>Added popup help.<\/li>\n<li>Added ability to load welcome and error messages from files.<\/li>\n<li>Added a debug feature.<\/li>\n<li>Added option to load finished script in Notepad or PrimalScript (if installed).<\/li>\n<\/ul>\n<p>I have some screen shots of the latest version at http:\/\/www.jdhitsolutions.com\/logonscriptgen\/index.htm. <\/p>\n<p>The latest version is also now a free PrimalScript scripting tool. You can download the latest version at <a title=\"http:\/\/www.primalscript.com\/freetools\/\" href=\"http:\/\/www.primalscript.com\/freetools\/\">http:\/\/www.primalscript.com\/freetools\/<\/a>.<\/p>\n<p>Now you can script without scripting! I hope you'll let me know what you think.<\/p>\n<p> <span style=\"font-size:85%;\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/scripting\" rel=\"tag\">scripting<\/a>, <a href=\"http:\/\/technorati.com\/tags\/HTA\" rel=\"tag\">HTA<\/a>, <a href=\"http:\/\/technorati.com\/tags\/logon\" rel=\"tag\">logon<\/a>, <a href=\"http:\/\/technorati.com\/tags\/SAPIEN\" rel=\"tag\">SAPIEN<\/a>, <a href=\"http:\/\/technorati.com\/tags\/Network\" rel=\"tag\">Network<\/a>, Primalscript<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last fall I demonstrated an HTA I had developed to rapidly develop a user logon script with practically no scripting. You could map drives and printers based on group membership simply be selecting a group from a pre-populated drop down list. You could display a message to the user with information just as a summary&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[22,23,31,26,546],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-scripting","tag-automation","tag-hta","tag-logonscript","tag-mrroboto","tag-sapien"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Updated Logon Script Generator &#8226; The Lonely Administrator<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Updated Logon Script Generator &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"Last fall I demonstrated an HTA I had developed to rapidly develop a user logon script with practically no scripting. You could map drives and printers based on group membership simply be selecting a group from a pre-populated drop down list. You could display a message to the user with information just as a summary...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2007-01-28T20:38:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-07-02T12:11:39+00:00\" \/>\n<meta name=\"author\" content=\"Jeffery Hicks\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:site\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeffery Hicks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/93\\\/updated-logon-script-generator\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/93\\\/updated-logon-script-generator\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"Updated Logon Script Generator\",\"datePublished\":\"2007-01-28T20:38:00+00:00\",\"dateModified\":\"2013-07-02T12:11:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/93\\\/updated-logon-script-generator\\\/\"},\"wordCount\":231,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"keywords\":[\"Automation\",\"HTA\",\"LogonScript\",\"MrRoboto\",\"SAPIEN\"],\"articleSection\":[\"Scripting\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/93\\\/updated-logon-script-generator\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/93\\\/updated-logon-script-generator\\\/\",\"name\":\"Updated Logon Script Generator &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2007-01-28T20:38:00+00:00\",\"dateModified\":\"2013-07-02T12:11:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/93\\\/updated-logon-script-generator\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/93\\\/updated-logon-script-generator\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/scripting\\\/93\\\/updated-logon-script-generator\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Scripting\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/scripting\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Updated Logon Script Generator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/\",\"name\":\"The Lonely Administrator\",\"description\":\"Practical Advice for the Automating IT Pro\",\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\",\"name\":\"Jeffery Hicks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"caption\":\"Jeffery Hicks\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Updated Logon Script Generator &#8226; The Lonely Administrator","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/","og_locale":"en_US","og_type":"article","og_title":"Updated Logon Script Generator &#8226; The Lonely Administrator","og_description":"Last fall I demonstrated an HTA I had developed to rapidly develop a user logon script with practically no scripting. You could map drives and printers based on group membership simply be selecting a group from a pre-populated drop down list. You could display a message to the user with information just as a summary...","og_url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/","og_site_name":"The Lonely Administrator","article_published_time":"2007-01-28T20:38:00+00:00","article_modified_time":"2013-07-02T12:11:39+00:00","author":"Jeffery Hicks","twitter_card":"summary_large_image","twitter_creator":"@JeffHicks","twitter_site":"@JeffHicks","twitter_misc":{"Written by":"Jeffery Hicks","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"Updated Logon Script Generator","datePublished":"2007-01-28T20:38:00+00:00","dateModified":"2013-07-02T12:11:39+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/"},"wordCount":231,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"keywords":["Automation","HTA","LogonScript","MrRoboto","SAPIEN"],"articleSection":["Scripting"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/","url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/","name":"Updated Logon Script Generator &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"datePublished":"2007-01-28T20:38:00+00:00","dateModified":"2013-07-02T12:11:39+00:00","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/scripting\/93\/updated-logon-script-generator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Scripting","item":"https:\/\/jdhitsolutions.com\/blog\/category\/scripting\/"},{"@type":"ListItem","position":2,"name":"Updated Logon Script Generator"}]},{"@type":"WebSite","@id":"https:\/\/jdhitsolutions.com\/blog\/#website","url":"https:\/\/jdhitsolutions.com\/blog\/","name":"The Lonely Administrator","description":"Practical Advice for the Automating IT Pro","publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jdhitsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9","name":"Jeffery Hicks","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","caption":"Jeffery Hicks"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":30,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/30\/logon-script-generator\/","url_meta":{"origin":93,"position":0},"title":"Logon Script Generator","author":"Jeffery Hicks","date":"April 14, 2006","format":false,"excerpt":"I've developed a new and free HTA, in the \"scriptomatic\" philosophy, that generates logon scripts. You can pick your drive and print mapping combinations, including checking group membership, and create a working VBScript logon script without having to write a single line of code. The tool reads in lists of\u2026","rel":"","context":"In &quot;Scripting&quot;","block_context":{"text":"Scripting","link":"https:\/\/jdhitsolutions.com\/blog\/category\/scripting\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":56,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/56\/logon-script-generator-1-1\/","url_meta":{"origin":93,"position":1},"title":"Logon Script Generator 1.1","author":"Jeffery Hicks","date":"October 10, 2006","format":false,"excerpt":"While testing some Techmentor demos with the Logon Script Generator, I found a few bugs. The tool allows you to use %username% in a file UNC (like \\\\file03\\%username% and it substitutes the appropriate VBScript to get the username. What I didn't take into account is if you wanted to have\u2026","rel":"","context":"In &quot;Scripting&quot;","block_context":{"text":"Scripting","link":"https:\/\/jdhitsolutions.com\/blog\/category\/scripting\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":107,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/107\/pwdman-update\/","url_meta":{"origin":93,"position":2},"title":"PWDMan Update","author":"Jeffery Hicks","date":"March 20, 2007","format":false,"excerpt":"I've updated my Password Manager utility. If you haven't seen this, I wrote about it in my Mr. Roboto column. This tool will scan computers and report the age of the local administrator password. If you've renamed the account you can change the account name to check. When finished, you'll\u2026","rel":"","context":"In &quot;Scripting&quot;","block_context":{"text":"Scripting","link":"https:\/\/jdhitsolutions.com\/blog\/category\/scripting\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":132,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/132\/updated-group-reporter\/","url_meta":{"origin":93,"position":3},"title":"Updated Group Reporter","author":"Jeffery Hicks","date":"March 4, 2008","format":false,"excerpt":"A few of my recent Mr. Roboto columns have been about group auditing. I first published an HTA that would report on group membership last December. Astute reader Matt V. found a bug with the way nested group memberships were being reported. Or in this case, not being reported. It\u2026","rel":"","context":"In &quot;Scripting&quot;","block_context":{"text":"Scripting","link":"https:\/\/jdhitsolutions.com\/blog\/category\/scripting\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":102,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/102\/itunes-lyrics-viewer-hta\/","url_meta":{"origin":93,"position":4},"title":"iTunes Lyrics Viewer HTA","author":"Jeffery Hicks","date":"February 20, 2007","format":false,"excerpt":"I've been toying around with the iTunes COM object (iTunes.Application) which gives you some pretty handy control over the iTunes application. I was particularly interested in having something display song lyrics so I developed an HTA that displays album art, artist and song information and lyrics. The tool will refresh\u2026","rel":"","context":"In &quot;Scripting&quot;","block_context":{"text":"Scripting","link":"https:\/\/jdhitsolutions.com\/blog\/category\/scripting\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":29,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/29\/exchangemonitorplus-2-0\/","url_meta":{"origin":93,"position":5},"title":"ExchangeMonitorPlus 2.0","author":"Jeffery Hicks","date":"April 3, 2006","format":false,"excerpt":"Version 2 of my popular ExchangeMonPlus monitoring and reporting tool for Exchange 2003 is now available. This HTA uses WMI and ADSI to monitor, manage and report on Exchange 2003 servers. The latest version provides greater detail on storage group and server utilization including quotas and mailbox reports. I've even\u2026","rel":"","context":"In &quot;Scripting&quot;","block_context":{"text":"Scripting","link":"https:\/\/jdhitsolutions.com\/blog\/category\/scripting\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}