{"id":809296,"date":"2026-05-18T07:33:40","date_gmt":"2026-05-18T07:33:40","guid":{"rendered":"https:\/\/www.ninjaone.com\/?post_type=script_hub&#038;p=809296"},"modified":"2026-05-18T07:33:40","modified_gmt":"2026-05-18T07:33:40","slug":"como-habilitar-o-windows-fast-startup","status":"publish","type":"script_hub","link":"https:\/\/www.ninjaone.com\/pt-br\/script-hub\/como-habilitar-o-windows-fast-startup\/","title":{"rendered":"Como ativar a inicializa\u00e7\u00e3o r\u00e1pida do Windows com o PowerShell"},"content":{"rendered":"<p><a href=\"https:\/\/www.ninjaone.com\/it-hub\/endpoint-management\/what-is-windows-fast-startup-fastboot\/\">O Fast Boot<\/a>, conhecido por outros nomes, como Hiberboot ou Fast Startup, \u00e9 um recurso do Windows projetado para reduzir o tempo de inicializa\u00e7\u00e3o ap\u00f3s o desligamento. Sua integra\u00e7\u00e3o transformou a maneira como os sistemas Windows retomam sua opera\u00e7\u00e3o, um elemento de desempenho crucial para usu\u00e1rios pessoais e profissionais de TI.<\/p>\n<h2>Hist\u00f3rico<\/h2>\n<p>Com os avan\u00e7os no sistema operacional Windows, especialmente a partir do Windows 10 e do Windows Server 2016, o sistema operacional trouxe v\u00e1rios recursos com o objetivo de aumentar o desempenho e a experi\u00eancia do usu\u00e1rio. Um desses recursos \u00e9 o Windows Fast Boot. Para os provedores de servi\u00e7os gerenciados (MSPs) e profissionais de TI, a minimiza\u00e7\u00e3o dos tempos de inicializa\u00e7\u00e3o se traduz em uma prontid\u00e3o mais r\u00e1pida da esta\u00e7\u00e3o de trabalho, resultando em maior produtividade e satisfa\u00e7\u00e3o do usu\u00e1rio. Portanto, <strong>garantir que o Fast Boot esteja ativado<\/strong> pode ser de suma import\u00e2ncia.<\/p>\n<h2>Habilitar a inicializa\u00e7\u00e3o r\u00e1pida com o script do PowerShell<\/h2>\n<p><div class=\"button-wrap orange-button \"><a href=\"#disable-fast-startup\" data-js=\"button-script-cta\" class=\"button script-cta\" data-js=\"script-cta\"  data-modal=\"249041\" >Email me the script<\/a><\/div><br \/>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">&lt;#\r\n.SYNOPSIS\r\n    Enable Windows Fast Boot, also known as Hiberboot or Fast Startup.\r\n.DESCRIPTION\r\n    Enable Windows Fast Boot, also known as Hiberboot or Fast Startup.\r\n    Note this does enable the option to hibernate.\r\n.EXAMPLE\r\n    No parameter needed.\r\n    Enables Windows Fast Boot\r\n.OUTPUTS\r\n    None\r\n.NOTES\r\n    Minimum OS Architecture Supported: Windows 10, Windows Server 2016\r\n    Release Notes:\r\n    Initial Release\r\n    (c) 2023 NinjaOne\r\n    By using this script, you indicate your acceptance of the following legal terms as well as our Terms of Use at https:\/\/www.ninjaone.com\/terms-of-use.\r\n    Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms. \r\n    Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party. \r\n    Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library or website belonging to or under the control of any other software provider. \r\n    Warranty Disclaimer: The script is provided \u201cas is\u201d and \u201cas available\u201d, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations. \r\n    Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks. \r\n    Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script. \r\n    EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).\r\n#&gt;\r\n[CmdletBinding()]\r\nparam ()\r\n\r\nbegin {\r\n    function Test-IsElevated {\r\n        $id = [System.Security.Principal.WindowsIdentity]::GetCurrent()\r\n        $p = New-Object System.Security.Principal.WindowsPrincipal($id)\r\n        $p.IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)\r\n    }\r\n}\r\nprocess {\r\n    if (-not (Test-IsElevated)) {\r\n        Write-Error -Message \"Access Denied. Please run with Administrator privileges.\"\r\n        exit 1\r\n    }\r\n\r\n    $Path = \"HKLM:SystemCurrentControlSetControlPower\"\r\n    $Name = \"HibernateEnabled\"\r\n    $Value = \"1\"\r\n\r\n    try {\r\n        # This path should always be there, if not then something is badly wrong.\r\n        New-ItemProperty -Path $Path -Name $Name -Value $Value -PropertyType DWord -Force | Out-Null\r\n    }\r\n    catch {\r\n        Write-Error $_\r\n        Write-Host \"Failed to enable hibernation.\"\r\n        exit 1\r\n    }\r\n\r\n    $Path = \"HKLM:SYSTEMCurrentControlSetControlSession ManagerPower\"\r\n    $Name = \"HiberbootEnabled\"\r\n    $Value = \"1\"\r\n\r\n    try {\r\n        if (-not $(Test-Path $Path)) {\r\n            New-Item -Path $Path -Force | Out-Null\r\n            New-ItemProperty -Path $Path -Name $Name -Value $Value -PropertyType DWord -Force | Out-Null\r\n        }\r\n        else {\r\n            New-ItemProperty -Path $Path -Name $Name -Value $Value -PropertyType DWord -Force | Out-Null\r\n        }\r\n    }\r\n    catch {\r\n        Write-Error $_\r\n        Write-Host \"Failed to enable Fast Boot.\"\r\n        exit 1\r\n    }\r\n    exit 0\r\n}\r\nend {}<\/pre>\n<p>&nbsp;<\/p>\n<div class=\"in-context-cta\"><p>Acesse mais de 300 scripts no NinjaOne Dojo<\/p>\n<p><a href=\"https:\/\/www.ninjaone.com\/freetrialform\/\">Obter acesso<\/a><\/p>\n<\/div><\/p>\n<h2>An\u00e1lise detalhada do roteiro<\/h2>\n<p>O script come\u00e7a fornecendo uma descri\u00e7\u00e3o de sua fun\u00e7\u00e3o, sistema operacional compat\u00edvel e observa\u00e7\u00f5es sobre seu uso.<\/p>\n<ul>\n<li><strong>Fase de prepara\u00e7\u00e3o (in\u00edcio):<\/strong> O script \u00e9 iniciado com uma fun\u00e7\u00e3o <strong>Test-IsElevated<\/strong> criada para verificar se o usu\u00e1rio atual tem privil\u00e9gios administrativos. Isso \u00e9 fundamental, pois fazer altera\u00e7\u00f5es nas configura\u00e7\u00f5es do sistema geralmente requer permiss\u00f5es elevadas.<\/li>\n<li><strong>Fase de execu\u00e7\u00e3o (processo):<\/strong><br \/>\na. O script verifica se est\u00e1 sendo executado com privil\u00e9gios de administrador usando a fun\u00e7\u00e3o <strong>Test-IsElevated<\/strong>. Caso contr\u00e1rio, ele emite uma mensagem de erro.<br \/>\nb. Em seguida, ele tenta ativar a hiberna\u00e7\u00e3o modificando uma chave de registro<strong>(HibernateEnabled<\/strong>) no caminho <strong>do Power<\/strong>.<br \/>\nc. Depois disso, ele tenta ativar a inicializa\u00e7\u00e3o r\u00e1pida definindo a chave <strong>HiberbootEnabled<\/strong> no caminho <strong>Session ManagerPower<\/strong>. Se o caminho n\u00e3o existir, ele o criar\u00e1.<\/li>\n<li><strong>Fase de conclus\u00e3o (final):<\/strong> Esse campo \u00e9 deixado vazio, mas pode ser preenchido com qualquer tarefa de limpeza ou finaliza\u00e7\u00e3o, se necess\u00e1rio, no futuro.<\/li>\n<\/ul>\n<h2>Casos de uso em potencial<\/h2>\n<p>Imagine uma profissional de TI, Carol, que est\u00e1 encarregada de configurar e gerenciar as esta\u00e7\u00f5es de trabalho de um novo escrit\u00f3rio. Para garantir que os funcion\u00e1rios n\u00e3o percam tempo esperando a inicializa\u00e7\u00e3o dos sistemas todas as manh\u00e3s, Carol usa esse script para ativar o Fast Boot em todas as m\u00e1quinas, aumentando a produtividade em todos os setores.<\/p>\n<h2>Implica\u00e7\u00f5es<\/h2>\n<p>Ao modificar os registros do sistema, esse script pode afetar a maneira como os sistemas s\u00e3o inicializados. A aplica\u00e7\u00e3o incorreta pode levar a problemas de inicializa\u00e7\u00e3o. Al\u00e9m disso, embora o Fast Boot melhore o tempo de inicializa\u00e7\u00e3o, ele pode causar problemas com determinadas atualiza\u00e7\u00f5es do sistema ou configura\u00e7\u00f5es de inicializa\u00e7\u00e3o dupla. A seguran\u00e7a de TI n\u00e3o \u00e9 diretamente afetada, mas garantir que um sistema seja inicializado corretamente \u00e9 fundamental para a prontid\u00e3o operacional.<\/p>\n<h2>Como ativar a inicializa\u00e7\u00e3o r\u00e1pida manualmente<\/h2>\n<p>Se preferir n\u00e3o usar um script do PowerShell, voc\u00ea pode ativar esse recurso manualmente seguindo estas etapas:<\/p>\n<ol>\n<li><strong>Abra o Painel de Controle<\/strong>:\n<ul>\n<li>Pressione `Windows<strong>+ R`<\/strong>\u00a0em seu teclado para abrir a caixa de di\u00e1logo Executar.<\/li>\n<li>Digite<strong>`painel de<\/strong> controle` e pressione<strong>`Enter`<\/strong> ou clique em<strong>`OK`<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Exibir por categoria<\/strong>:\n<ul>\n<li>No Painel de controle, verifique se a visualiza\u00e7\u00e3o est\u00e1 definida como &#8220;Categoria&#8221;. Caso contr\u00e1rio, clique no menu suspenso no canto superior direito e selecione &#8220;Category&#8221; (Categoria).<\/li>\n<\/ul>\n<\/li>\n<li><strong>V\u00e1 para Op\u00e7\u00f5es de energia<\/strong>:\n<ul>\n<li>Clique em &#8220;System and Security&#8221; (Sistema e seguran\u00e7a).<\/li>\n<li>Em seguida, clique em &#8220;Power Options&#8221; (Op\u00e7\u00f5es de energia).<\/li>\n<\/ul>\n<\/li>\n<li><strong>Escolha o que os bot\u00f5es de energia fazem<\/strong>:\n<ul>\n<li>No lado esquerdo da janela Op\u00e7\u00f5es de energia, clique no link que diz &#8220;Choose what the power buttons do&#8221; (Escolha o que os bot\u00f5es de energia fazem).<\/li>\n<\/ul>\n<\/li>\n<li><strong>Alterar configura\u00e7\u00f5es que n\u00e3o est\u00e3o dispon\u00edveis no momento<\/strong>:\n<ul>\n<li>Na parte superior da janela seguinte, talvez voc\u00ea veja uma se\u00e7\u00e3o esmaecida. Para fazer altera\u00e7\u00f5es, clique no link que diz &#8220;Change settings that are currently unavailable&#8221; (Alterar configura\u00e7\u00f5es que n\u00e3o est\u00e3o dispon\u00edveis no momento).<\/li>\n<\/ul>\n<\/li>\n<li><strong>Ativar inicializa\u00e7\u00e3o r\u00e1pida<\/strong>:\n<ul>\n<li>Role para baixo at\u00e9 a se\u00e7\u00e3o &#8220;Shutdown settings&#8221; (Configura\u00e7\u00f5es de desligamento).<\/li>\n<li>Marque a caixa ao lado de &#8220;Ativar inicializa\u00e7\u00e3o r\u00e1pida (recomendado)&#8221;.<\/li>\n<li>Se voc\u00ea n\u00e3o vir essa op\u00e7\u00e3o, pode ser porque a hiberna\u00e7\u00e3o n\u00e3o est\u00e1 ativada em seu sistema. Voc\u00ea precisar\u00e1 ativar a hiberna\u00e7\u00e3o primeiro para ver essa op\u00e7\u00e3o.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Salvar altera\u00e7\u00f5es<\/strong>:\n<ul>\n<li>Clique no bot\u00e3o &#8220;Save changes&#8221; (Salvar altera\u00e7\u00f5es) na parte inferior da janela.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Reinicie o computador<\/strong>:\n<ul>\n<li>Para que as altera\u00e7\u00f5es tenham efeito, \u00e9 uma boa ideia reiniciar o computador.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h2>\u00a0Recomenda\u00e7\u00f5es e considera\u00e7\u00f5es finais<\/h2>\n<ul>\n<li>Sempre fa\u00e7a backup do seu registro antes de fazer altera\u00e7\u00f5es.<\/li>\n<li>Certifique-se de que o script seja executado com privil\u00e9gios administrativos.<\/li>\n<li>Depois de aplicar o script, teste o tempo de inicializa\u00e7\u00e3o do sistema e verifique se o Fast Boot est\u00e1 ativado.<\/li>\n<\/ul>\n<p>Para os profissionais de TI ou para aqueles que usam uma <a href=\"https:\/\/www.ninjaone.com\/pt-br\/\">plataforma de gerenciamento de TI<\/a> como o NinjaOne, a capacidade de controlar e otimizar o comportamento do sistema, como a ativa\u00e7\u00e3o do Windows Fast Boot, \u00e9 fundamental. O NinjaOne pode complementar ainda mais esses scripts, permitindo que os gerentes de TI os implementem em v\u00e1rios sistemas, garantindo o desempenho m\u00e1ximo do sistema e a experi\u00eancia ideal do usu\u00e1rio<\/p>\n","protected":false},"author":35,"featured_media":142600,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_lmt_disableupdate":"no","_lmt_disable":""},"operating_system":[4212],"use_cases":[12456],"class_list":["post-809296","script_hub","type-script_hub","status-publish","has-post-thumbnail","hentry","script_hub_category-windows"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/script_hub\/809296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/script_hub"}],"about":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/types\/script_hub"}],"author":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/comments?post=809296"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/media\/142600"}],"wp:attachment":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/media?parent=809296"}],"wp:term":[{"taxonomy":"script_hub_category","embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/operating_system?post=809296"},{"taxonomy":"use_cases","embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/use_cases?post=809296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}