{"id":467,"date":"2021-09-19T08:10:36","date_gmt":"2021-09-19T07:10:36","guid":{"rendered":"https:\/\/www.netexpertise.eu\/es\/?p=467"},"modified":"2021-09-19T08:10:38","modified_gmt":"2021-09-19T07:10:38","slug":"autodesk-inventor-licencia-de-red-no-disponible","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html","title":{"rendered":"Autodesk Inventor Licencia de Red no Disponible"},"content":{"rendered":"\n<div style=\"position: relative;\"><img style=\"margin-top: 0px; padding-top: 0px;\" src=\"\/images\/Inventor_Log.png\" alt=\"Logs Autodesk Inventor en LMTools\"><br><img style=\"right: 5px; margin-top: -130px; position: absolute;\" src=\"\/images\/Inventor_Licenses.png\" alt=\"Inventor Licencia de Red no Disponible\"><br>Autodesk no parece proporcionar una herramienta para averiguar<br>qui\u00e9n utiliza las licencias de red de <a href=\"https:\/\/www.autodesk.com\/products\/inventor\/overview\">Inventor<\/a>. Los usuarios finales<br>se preguntan por qu\u00e9 reciben el mensaje de error Inventor<br> \u00abLicencia de Red no Disponible\u00bb, y a qui\u00e9n se han asignado estas licencias.<\/div>\n\n\n\n<p><br>Escrib\u00ed esta herramienta para evitar llamadas innecesarias al departamento de TI y tambi\u00e9n para dar a todos la posibilidad de saber qui\u00e9n est\u00e1 conectado en todo momento. Por lo tanto, los usuarios pueden organizar entre ellos la liberaci\u00f3n de una licencia.<br><br>Inventor genera un archivo de registro en el que se registra cada (des) conexi\u00f3n junto con otra informaci\u00f3n. El script analiza el archivo y muestra los usuarios registrados.<br><br>Solo son necesarios 2 pasos para la instalaci\u00f3n:<br>&#8211; Establezca la ruta del archivo de registro flex.log en un directorio compartido de solo lectura y otorgue derechos de acceso a los usuarios finales.<br>&#8211; Cree el siguiente script inventor.vbs en la misma carpeta.<br><br>El script fue escrito en VB para ser ejecutado desde cualquier PC con Windows. Lo puse a disposici\u00f3n de los usuarios en un recurso compartido de <a href=\"\/es\/category\/sistema\/windows\">Windows<\/a>.<br>Finalmente, configure la variable \u00abUsers\u00bb con su propio n\u00famero de licencias. Tenemos 4 licencias concurrentes aqu\u00ed.<br><br>Ahora, los usuarios saben d\u00f3nde buscar cuando reciben un mensaje de error de Inventor \u00abLicencia de red no disponible\u00bb.<br><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"visual-basic\" class=\"language-visual-basic\">Option Explicit\n\nDim objFSO, objFile, strTextFile\nDim line, allSessions(), offline, currentSessions, firstIndex\nDim i, l\nCONST ForReading = 1\nCONST Users = 4\n\n'Nombre del archivo de registro\nstrTextFile = \"flex.log\"\n\n'Crear un objeto de sistema de archivos\nSet objFSO = CreateObject(\"Scripting.FileSystemObject\")\nif not (objFSO.FileExists(strTextFile)) then\n   MsgBox strTextFile&amp;\" no existe!\", vbExclamation, \"Error\"\n   wscript.quit\nend if\nSet objFile = objFSO.OpenTextFile(strTextFile, ForReading)\n\ni = 0\n\n' Encuentra conexiones en orden inverso\nDo Until objFile.AtEndOfStream\n    Line = objFile.ReadLine\n    If (not InStr(line, \"(adskflex) OUT:\") = 0) or (not InStr(line, \"(adskflex) IN:\") = 0) Then\n        Redim Preserve allSessions(i)\n        allSessions(i) = line\n        i = i + 1\n    End If\nLoop\n\n' Index en allSessions\nOn Error Resume Next\nl = UBound(allSessions)\n' Compte les licences\ni = 0\n\nif (l = \"\") then\n   currentSessions = \"Nadie ha iniciado sesi\u00f3n\"\nend if\n\n' Devuelve las \u00faltimas x conexiones\n' sin tener en cuenta los duplicados\nDo While (i &lt; Users) and (l >= 0)\n   line = split(allSessions(l))\n   ' Cas heure &lt; 10h\n   if line(0) = \"\" then\n      ' Compruebe si el usuario no se ha desconectado\n      if StrComp(line(3), \"In:\", vbTextCompare) = 0 and InStr(currentSessions, line(5)) = 0 then\n         offline = offline &amp; line(5) &amp; \" \"\n      end if\n      if InStr(currentSessions, line(5)) = 0 and InStr(offline, line(5)) = 0 then\n         currentSessions = currentSessions &amp; line(1) &amp; \" \" &amp; line(5) &amp; VbCrLf\n         i = i + 1\n      end if\n   else\n      if StrComp(line(2), \"In:\", vbTextCompare) = 0 and InStr(currentSessions, line(4)) = 0 then\n         offline = offline &amp; line(4) &amp; \" \"\n      end if\n      if InStr(currentSessions, line(4)) = 0 and InStr(offline, line(4)) = 0 then\n         currentSessions = currentSessions &amp; line(0) &amp; \" \" &amp; line(4) &amp; VbCrLf\n         i = i + 1\n      end if\n   end if\n   l = l - 1\nLoop\n\nMsgBox currentSessions, vbInformation, \"Licencias Inventor\"\n'wscript.echo currentSessions\n\nobjFile.Close\n\n'Cleanup\nSet objFSO = Nothing<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Autodesk no parece proporcionar una herramienta para averiguarqui\u00e9n utiliza las licencias de red de Inventor. Los usuarios finalesse preguntan por qu\u00e9 reciben el mensaje de error Inventor \u00abLicencia de Red no Disponible\u00bb, y a qui\u00e9n se han asignado estas licencias. Escrib\u00ed esta herramienta para evitar llamadas innecesarias al departamento de TI y tambi\u00e9n para dar [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[41],"tags":[104,105,106],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - Autodesk Inventor Licencia de Red no Disponible<\/title>\n<meta name=\"description\" content=\"Autodesk Inventor licencia de red no disponible? Brinde a sus usuarios la posibilidad de ver qui\u00e9n est\u00e1 usando las licencias\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - Autodesk Inventor Licencia de Red no Disponible\" \/>\n<meta property=\"og:description\" content=\"Autodesk Inventor licencia de red no disponible? Brinde a sus usuarios la posibilidad de ver qui\u00e9n est\u00e1 usando las licencias\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-19T07:10:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-19T07:10:38+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html\",\"url\":\"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html\",\"name\":\"Netexpertise - Autodesk Inventor Licencia de Red no Disponible\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/es\/#website\"},\"datePublished\":\"2021-09-19T07:10:36+00:00\",\"dateModified\":\"2021-09-19T07:10:38+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/es\/#\/schema\/person\/27ec923be6625ac4b4bb86c8f0b12abf\"},\"description\":\"Autodesk Inventor licencia de red no disponible? Brinde a sus usuarios la posibilidad de ver qui\u00e9n est\u00e1 usando las licencias\",\"breadcrumb\":{\"@id\":\"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"http:\/\/www.netexpertise.eu\/es\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Autodesk Inventor Licencia de Red no Disponible\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/es\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/es\/\",\"name\":\"Netexpertise\",\"description\":\"Sistemas \/ Redes \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/es\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/es\/#\/schema\/person\/27ec923be6625ac4b4bb86c8f0b12abf\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"http:\/\/www.netexpertise.eu\/es\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - Autodesk Inventor Licencia de Red no Disponible","description":"Autodesk Inventor licencia de red no disponible? Brinde a sus usuarios la posibilidad de ver qui\u00e9n est\u00e1 usando las licencias","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":"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html","og_locale":"es_ES","og_type":"article","og_title":"Netexpertise - Autodesk Inventor Licencia de Red no Disponible","og_description":"Autodesk Inventor licencia de red no disponible? Brinde a sus usuarios la posibilidad de ver qui\u00e9n est\u00e1 usando las licencias","og_url":"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html","og_site_name":"Netexpertise","article_published_time":"2021-09-19T07:10:36+00:00","article_modified_time":"2021-09-19T07:10:38+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html","url":"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html","name":"Netexpertise - Autodesk Inventor Licencia de Red no Disponible","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/es\/#website"},"datePublished":"2021-09-19T07:10:36+00:00","dateModified":"2021-09-19T07:10:38+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/es\/#\/schema\/person\/27ec923be6625ac4b4bb86c8f0b12abf"},"description":"Autodesk Inventor licencia de red no disponible? Brinde a sus usuarios la posibilidad de ver qui\u00e9n est\u00e1 usando las licencias","breadcrumb":{"@id":"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.netexpertise.eu\/es\/diverso\/autodesk-inventor-licencia-de-red-no-disponible.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"http:\/\/www.netexpertise.eu\/es"},{"@type":"ListItem","position":2,"name":"Autodesk Inventor Licencia de Red no Disponible"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/es\/#website","url":"http:\/\/www.netexpertise.eu\/es\/","name":"Netexpertise","description":"Sistemas \/ Redes \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/es\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/es\/#\/schema\/person\/27ec923be6625ac4b4bb86c8f0b12abf","name":"dave","image":{"@type":"ImageObject","inLanguage":"es","@id":"http:\/\/www.netexpertise.eu\/es\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"}}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/posts\/467"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/comments?post=467"}],"version-history":[{"count":16,"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/posts\/467\/revisions"}],"predecessor-version":[{"id":483,"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/posts\/467\/revisions\/483"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/media?parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/categories?post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/es\/wp-json\/wp\/v2\/tags?post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}