Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add registry hack to make windows shares work with services #41

Open
miigotu opened this issue Aug 29, 2022 · 0 comments
Open

Add registry hack to make windows shares work with services #41

miigotu opened this issue Aug 29, 2022 · 0 comments

Comments

@miigotu
Copy link
Contributor

miigotu commented Aug 29, 2022

http://woshub.com/how-to-access-mapped-network-drives-from-the-elevated-apps/
Also: https://www.infopackets.com/news/10088/how-fix-cant-access-mapped-network-drive-administrative-command-prompt

Registry

reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLinkedConnections" /t REG_DWORD /d 0x00000001 /f

Powershell

New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' -Name EnableLinkedConnections -Value 1 -PropertyType 'DWord'

I think this is right for a .reg file:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant