summarylogtreecommitdiffstats
path: root/winexe.install
blob: b8ed4bf51694a861f592632392a60b847d79a025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
_show_notes() {
    cat <<'EOF'

==> winexe is installed at /usr/bin/winexe.

    For local admin accounts on Vista+/Win7/8/10/11, remote UAC token filtering
    blocks service install over SMB. On the target host, run (as Administrator):

        reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\system" ^
          /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

    Domain accounts are exempt and do not need this. See KB942817 and
    /usr/share/doc/winexe/NOTES for the full list of caveats (XP/2003/NT4 SMB1
    overrides, Win11 first-start timeout retry, etc.).

EOF
}

post_install() { _show_notes; }
post_upgrade() { _show_notes; }