{"id":1322,"date":"2017-12-04T07:05:06","date_gmt":"2017-12-04T07:05:06","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1322"},"modified":"2021-02-27T09:34:25","modified_gmt":"2021-02-27T09:34:25","slug":"how-to-set-the-preferrence-for-aol-through-wise-script","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/","title":{"rendered":"How to Set the Preferrence for AOL Through Wise Script"},"content":{"rendered":"<p><strong>installanywhereExpert created the topic: How to Set the Preferrence for AOL Through Wise Script<\/strong><br \/>\nThe setting preference is stored under<br \/>\nHKEY_CURRENT_USER\\Software\\America Online\\AOL Instant Messenger (TM)\\CurrentVersion\\Users<\/p>\n<p>If you want to apply certain settings for all the screennames (username), we need to write a wise script executable that should pick all the screennames available in the machine and apply the settings&#8230;<\/p>\n<p>Better way is to create the script executable with the above logic and create it as shortcut.<\/p>\n<p>Step 1: The User has to launch AOL once in order to get the registry key created with the screen name<br \/>\nHKEY_CURRENT_USER\\Software\\America Online\\AOL Instant Messenger (TM)\\CurrentVersion\\Users\\TESTID<br \/>\nHKEY_CURRENT_USER\\Software\\America Online\\AOL Instant Messenger (TM)\\CurrentVersion\\Users\\HELLO<\/p>\n<p>TESTID and HELLO being the screenname<\/p>\n<p>Step 2: User has to run the shortcut that we have created to get the settings.<\/p>\n<p>Example: One of the settings will be applied as:&#8217;<br \/>\n[HKEY_CURRENT_USER\\Software\\America Online\\AOL Instant Messenger (TM)\\CurrentVersion\\Users\\TESTID\\AWAY]<br \/>\n&#8220;EnableIdleAutoResponse&#8221;=dword:00000000<br \/>\n&#8220;IdleAutoResponseText&#8221;=&#8221;<HTML><BODY BGCOLOR=\\\"#ffffff\\\"><FONT LANG=\\\"0\\\">I am away from my computer rightnow.<\/FONT><\/BODY><\/HTML>&#8221;<br \/>\n&#8220;DisableAwayAutoResponse&#8221;=dword:00000000<br \/>\n&#8220;HideIMsWhenAway&#8221;=dword:00000000<br \/>\n&#8220;DisableSoundWhenAway&#8221;=dword:00000000<br \/>\n&#8220;DisableToastersWhenAway&#8221;=dword:00000000<br \/>\n&#8220;MessageWhileAway&#8221;=dword:00000000<\/p>\n<p>Vbscript to grab all the screennames in the machine:<\/p>\n<p>Dim objFSO, objFolder, objShell, objTextFile, objFile<br \/>\nDim strDirectory, strFile, strText<br \/>\nstrDirectory = &#8220;c:\\working\\aol&#8221;<br \/>\nstrFile = &#8220;\\AOLInstall.txt&#8221;<\/p>\n<p>Const HKEY_CURRENT_USER = &#038;H80000001<br \/>\nConst REG_SZ = 1<br \/>\nConst REG_EXPAND_SZ = 2<br \/>\nConst REG_BINARY = 3<br \/>\nConst REG_DWORD = 4<br \/>\nConst REG_MULTI_SZ = 7<\/p>\n<p>strComputer = &#8220;.&#8221;<\/p>\n<p>Set objRegistry = GetObject(&#8220;winmgmts:\\\\&#8221; &#038; strComputer &#038; &#8220;\\root\\default:StdRegProv&#8221;)<br \/>\nSet objFSO = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)<br \/>\nset objFile = nothing<br \/>\nset objFolder = nothing<br \/>\nConst ForAppending = 8<\/p>\n<p>strKeyPath = &#8220;Software\\America Online\\AOL Instant Messenger (TM)\\CurrentVersion\\Users&#8221;<br \/>\nobjRegistry.EnumValues HKEY_CURRENT_USER, strKeyPath, arrValueNames, arrValueTypes<\/p>\n<p>For i = 0 to UBound(arrValueNames)<br \/>\n  strText = arrValueNames(i)<br \/>\n  strValueName = arrValueNames(i)<br \/>\n  Select Case arrValueTypes(i)<br \/>\n    Case REG_SZ<br \/>\n      objRegistry.GetStringValue HKEY_CURRENT_USER,strKeyPath, strValueName,strValue<br \/>\n      strText = strText &#038; &#8220;: &#8221; &#038; strValue<br \/>\n    End Select<\/p>\n<p>  Wscript.Echo strValue<br \/>\nSet objTextFile = objFSO.OpenTextFile _<br \/>\n(strDirectory &#038; strFile, ForAppending, True)<\/p>\n<p>objTextFile.WriteLine(strvalue)<br \/>\nobjTextFile.Close<br \/>\nNext<\/p>\n<p>Reference:<a href=\"http:\/\/www.symantec.com\/connect\/articles\/how-se...-through-wise-script\"> www.symantec.com\/connect\/articles\/how-se&#8230;-through-wise-script<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>installanywhereExpert created the topic: How to Set the Preferrence for AOL Through Wise Script The setting preference is stored under [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[278],"class_list":["post-1322","post","type-post","status-publish","format-standard","hentry","category-general","tag-script"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set the Preferrence for AOL Through Wise Script - scmGalaxy<\/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:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set the Preferrence for AOL Through Wise Script - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"installanywhereExpert created the topic: How to Set the Preferrence for AOL Through Wise Script The setting preference is stored under [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-04T07:05:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:34:25+00:00\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"How to Set the Preferrence for AOL Through Wise Script\",\"datePublished\":\"2017-12-04T07:05:06+00:00\",\"dateModified\":\"2021-02-27T09:34:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/\"},\"wordCount\":347,\"commentCount\":0,\"keywords\":[\"script\"],\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/\",\"name\":\"How to Set the Preferrence for AOL Through Wise Script - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2017-12-04T07:05:06+00:00\",\"dateModified\":\"2021-02-27T09:34:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-set-the-preferrence-for-aol-through-wise-script\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set the Preferrence for AOL Through Wise Script\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set the Preferrence for AOL Through Wise Script - scmGalaxy","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:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/","og_locale":"en_US","og_type":"article","og_title":"How to Set the Preferrence for AOL Through Wise Script - scmGalaxy","og_description":"installanywhereExpert created the topic: How to Set the Preferrence for AOL Through Wise Script The setting preference is stored under [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/","og_site_name":"scmGalaxy","article_published_time":"2017-12-04T07:05:06+00:00","article_modified_time":"2021-02-27T09:34:25+00:00","author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"How to Set the Preferrence for AOL Through Wise Script","datePublished":"2017-12-04T07:05:06+00:00","dateModified":"2021-02-27T09:34:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/"},"wordCount":347,"commentCount":0,"keywords":["script"],"articleSection":["General"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/","name":"How to Set the Preferrence for AOL Through Wise Script - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2017-12-04T07:05:06+00:00","dateModified":"2021-02-27T09:34:25+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-set-the-preferrence-for-aol-through-wise-script\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Set the Preferrence for AOL Through Wise Script"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/1322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=1322"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/1322\/revisions"}],"predecessor-version":[{"id":1323,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/1322\/revisions\/1323"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=1322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=1322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=1322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}