Skip to content

Commit

Permalink
fix: Allow guest access to network shares (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Feb 8, 2024
1 parent a8ee8a0 commit 43f70a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/win10arm64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,11 @@
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
<Description>Disable Hibernation Mode</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>12</Order>
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
<Description>Allow guest access to network shares</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
Expand Down
5 changes: 5 additions & 0 deletions assets/win11arm64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,11 @@
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
<Description>Disable Hibernation Mode</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>14</Order>
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
<Description>Allow guest access to network shares</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
Expand Down

0 comments on commit 43f70a0

Please sign in to comment.