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

set a program to auto start at logon #268

Open
mircot80 opened this issue Jun 29, 2017 · 6 comments
Open

set a program to auto start at logon #268

mircot80 opened this issue Jun 29, 2017 · 6 comments

Comments

@mircot80
Copy link

Hello.
With Windows 10 pro is possible to set a program to auto start at logon and no start explorer.exe (like Windows server)?
Thanks

@shippj
Copy link

shippj commented Jul 3, 2017

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell

Replace this with whatever you want

@binarymaster
Copy link
Member

binarymaster commented Jul 10, 2017

See this comment: #13 (comment)

And this link: https://support.oneidentity.com/zh-cn/kb/109474

@mircot80
Copy link
Author

mircot80 commented Jul 11, 2017

Changing the shell key works but when I close the program the session does not disconnect automatically.
Is there a solution?

@shippj
Copy link

shippj commented Jul 11, 2017

try using notepad.exe as your shell. when you close notepad, it should log you out of RDP automatically. If it doesn't, there is a problem with windows. If it does, there is a problem with whatever program you are trying to use.

It is a shame the "start the following program on connection" setting in the RDP client wont work.

@mircot80
Copy link
Author

I tried with notepad but when I close it does not make the automatic logoff

@shippj
Copy link

shippj commented Oct 18, 2017

I tested it myself and it didn't automatically log off for me neither. Older versions of windows would do that. Would you test it on a non-rdpwrapped computer?

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

3 participants