tscon 1 /dest:console
tscon 2 /dest:console
Rundll32.exe User32.dll,LockWorkStation
Great, thanks loads Rob! I'll try that and see if it works. :smileyhappy:
","body@stringLength":"80","rawBody":"Great, thanks loads Rob! I'll try that and see if it works. :smileyhappy:
","author":{"__ref":"User:user:791563"},"isEscalated":null,"postTime":"2013-02-19T07:02:09.474-05:00","solution":false,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"repliesCount":4},"Revision:revision:92025_1":{"__typename":"Revision","id":"revision:92025_1","lastEditTime":"2013-02-20T11:02:07.251-05:00"},"QueryVariables:ReplyList:message:92025:1":{"__typename":"QueryVariables","id":"ReplyList:message:92025:1","value":{"id":"message:92025","first":10,"sorts":{"postTime":{"direction":"DESC"}},"repliesFirst":3,"repliesFirstDepthThree":1,"repliesSorts":{"postTime":{"direction":"DESC"}},"useAvatar":true,"useAuthorLogin":true,"useAuthorRank":true,"useBody":true,"useKudosCount":true,"useTimeToRead":false,"useMedia":false,"useReadOnlyIcon":false,"useRepliesCount":true,"useSearchSnippet":false,"useAcceptedSolutionButton":true,"useSolvedBadge":false,"useAttachments":false,"attachmentsFirst":5,"useTags":false,"useNodeAncestors":false,"useUserHoverCard":false,"useNodeHoverCard":false,"useModerationStatus":true,"usePreviewSubjectModal":false,"useMessageStatus":true}},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1748940143592":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1748940143592","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1748940143592":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1748940143592","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"CachedAsset:text:en_US-components/common/ExternalLinkWarningModal-1748940143592":{"__typename":"CachedAsset","id":"text:en_US-components/common/ExternalLinkWarningModal-1748940143592","value":{"title":"Leaving the Community","description":"You're about to leave this site and navigate to an external domain. Are you sure you want to continue?","action.submit":"Continue","action.cancel":"Go Back"},"localOverride":false},"CachedAsset:text:en_US-components/messages/AcceptedSolutionButton-1748940143592":{"__typename":"CachedAsset","id":"text:en_US-components/messages/AcceptedSolutionButton-1748940143592","value":{"accept":"Mark as Solution","accepted":"Marked as Solution","errorHeader":"Error!","errorAdd":"There was an error marking as solution.","errorRemove":"There was an error unmarking as solution.","solved":"Solved","topicAlreadySolvedErrorTitle":"Solution Already Exists","topicAlreadySolvedErrorDesc":"Refresh the browser to view the existing solution"},"localOverride":false},"CachedAsset:text:en_US-components/messages/ThreadedReplyList-1748940143592":{"__typename":"CachedAsset","id":"text:en_US-components/messages/ThreadedReplyList-1748940143592","value":{"title":"{count, plural, one{# Reply} other{# Replies}}","title@board:BLOG":"{count, plural, one{# Comment} other{# Comments}}","title@board:TKB":"{count, plural, one{# Comment} other{# Comments}}","title@board:IDEA":"{count, plural, one{# Comment} other{# Comments}}","title@board:OCCASION":"{count, plural, one{# Comment} other{# Comments}}","noRepliesTitle":"No Replies","noRepliesTitle@board:BLOG":"No Comments","noRepliesTitle@board:TKB":"No Comments","noRepliesTitle@board:IDEA":"No Comments","noRepliesTitle@board:OCCASION":"No Comments","noRepliesDescription":"Be the first to reply","noRepliesDescription@board:BLOG":"Be the first to comment","noRepliesDescription@board:TKB":"Be the first to comment","noRepliesDescription@board:IDEA":"Be the first to comment","noRepliesDescription@board:OCCASION":"Be the first to comment","messageReadOnlyAlert:BLOG":"Comments have been turned off for this post","messageReadOnlyAlert:TKB":"Comments have been turned off for this article","messageReadOnlyAlert:IDEA":"Comments have been turned off for this idea","messageReadOnlyAlert:FORUM":"Replies have been turned off for this discussion","messageReadOnlyAlert:OCCASION":"Comments have been turned off for this event"},"localOverride":false},"Rank:rank:16":{"__typename":"Rank","id":"rank:16","position":15,"name":"New Member","color":null,"icon":null,"rankStyle":"TEXT"},"User:user:832027":{"__typename":"User","id":"user:832027","uid":832027,"login":"stauffski","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2013-06-03T03:00:50.312-04:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://community.logmein.com/t5/s/logmein/m_assets/avatars/default/avatar-5.svg?time=0"},"rank":{"__ref":"Rank:rank:16"},"entityType":"USER","eventPath":"community:logmein/user:832027"},"ModerationData:moderation_data:96939":{"__typename":"ModerationData","id":"moderation_data:96939","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"User:user:939324":{"__typename":"User","id":"user:939324","uid":939324,"login":"123454321","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2014-07-15T11:21:01.067-04:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://community.logmein.com/t5/s/logmein/m_assets/avatars/default/avatar-2.svg?time=0"},"rank":{"__ref":"Rank:rank:16"},"entityType":"USER","eventPath":"community:logmein/user:939324"},"ForumReplyMessage:message:96939":{"__typename":"ForumReplyMessage","uid":96939,"id":"message:96939","entityType":"FORUM_REPLY","eventPath":"category:LogMeIn-Hamachi/community:logmeinboard:Hamachi/message:90291/message:96939","revisionNum":1,"author":{"__ref":"User:user:832027"},"readOnly":false,"repliesCount":2,"depth":6,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:Hamachi"},"parent":{"__ref":"ForumReplyMessage:message:92025"},"conversation":{"__ref":"Conversation:conversation:90291"},"subject":"Re: LogMeIn Hamachi Connection issues with Windows 8","moderationData":{"__ref":"ModerationData:moderation_data:96939"},"body":"I've got a solution that keeps Hamachi open and locks the workstation as well.
The batch file command that uses \"tscon 1 /dest:console\" didn't work for me either. But a simple change to \"tscon 0 /dest:console\" fixed the issue. Try it on yours YW-Slayer. The number represents the sessionID. I'm not clear on how the ID is assigned or why there's a variance.
As for the lock screen, the batch file just needs one more line of code:
\"Rundll32.exe User32.dll,LockWorkStation\"
So your batch file should look like this:
tscon 0 /dest:console
Rundll32.exe User32.dll,LockWorkStation
Hope that clears it up for everyone! Cheers! And thanks robspcs for your legwork!
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2013-06-03T03:08:50.500-04:00","lastPublishTime":"2013-06-03T03:08:50.500-04:00","metrics":{"__typename":"MessageMetrics","views":24145},"visibilityScope":"PUBLIC","placeholder":false,"showMoveIndicator":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuNHwyLjF8aXwzfDQwOjB8aW50LDEyMjY4MCwxMjI2ODA","node":{"__ref":"ForumReplyMessage:message:122680"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:122680":{"__typename":"ModerationData","id":"moderation_data:122680","status":"UNMODERATED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"User:user:1250793":{"__typename":"User","id":"user:1250793","uid":1250793,"login":"mambonomercy","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2022-09-25T12:35:51.196-04:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://community.logmein.com/t5/s/logmein/m_assets/avatars/default/avatar-2.svg?time=0"},"rank":{"__ref":"Rank:rank:16"},"entityType":"USER","eventPath":"community:logmein/user:1250793"},"ForumReplyMessage:message:122680":{"__typename":"ForumReplyMessage","uid":122680,"id":"message:122680","entityType":"FORUM_REPLY","eventPath":"category:LogMeIn-Hamachi/community:logmeinboard:Hamachi/message:90291/message:122680","revisionNum":1,"author":{"__ref":"User:user:939324"},"readOnly":false,"repliesCount":1,"depth":7,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:Hamachi"},"parent":{"__ref":"ForumReplyMessage:message:96939"},"conversation":{"__ref":"Conversation:conversation:90291"},"subject":"Re: LogMeIn Hamachi Connection issues with Windows 8","moderationData":{"__ref":"ModerationData:moderation_data:122680"},"body":"I tried that, but it just brings up a command prompt, then goes back to the desktop. I am trying to use hamachi to play on a server created by my friend on unturned. (a video game on steam) It has been working fine until today.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2014-07-15T11:23:56.366-04:00","lastPublishTime":"2014-07-15T11:23:56.366-04:00","metrics":{"__typename":"MessageMetrics","views":8274},"visibilityScope":"PUBLIC","placeholder":false,"showMoveIndicator":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuNHwyLjF8aXwxfDQwOjB8aW50LDI5MzQ2NCwyOTM0NjQ","node":{"__ref":"ForumReplyMessage:message:293464"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:293464":{"__typename":"ModerationData","id":"moderation_data:293464","status":"UNMODERATED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:293464":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1250793"},"id":"message:293464","entityType":"FORUM_REPLY","eventPath":"category:LogMeIn-Hamachi/community:logmeinboard:Hamachi/message:90291/message:293464","revisionNum":1,"uid":293464,"depth":8,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:Hamachi"},"parent":{"__ref":"ForumReplyMessage:message:122680"},"conversation":{"__ref":"Conversation:conversation:90291"},"subject":"Re: LogMeIn Hamachi Connection issues with Windows 8","moderationData":{"__ref":"ModerationData:moderation_data:293464"},"body":"hghg
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"6","kudosSumWeight":0,"repliesCount":0,"postTime":"2022-09-25T12:36:07.255-04:00","lastPublishTime":"2022-09-25T12:36:07.255-04:00","metrics":{"__typename":"MessageMetrics","views":2188},"visibilityScope":"PUBLIC","placeholder":false,"showMoveIndicator":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}}}}},"page":"/forums/ForumMessagePage/ForumMessagePage","query":{"boardId":"hamachi","messageSubject":"logmein-hamachi-connection-issues-with-windows-8","messageId":"90291","replyId":"92025"},"buildId":"L6311oNj_FtHpWug1zHiY","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","surveysEnabled":true,"openTelemetry":{"clientEnabled":false,"configName":"logmein","serviceVersion":"25.4.0","universe":"prod","collector":"http://localhost:4318","logLevel":"error","routeChangeAllowedTime":"5000","headers":"","enableDiagnostic":"false","maxAttributeValueLength":"4095"},"apolloDevToolsEnabled":false,"quiltLazyLoadThreshold":"3"},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["components_seo_QAPageSchema","components_community_Navbar_NavbarWidget","components_community_Breadcrumb_BreadcrumbWidget","components_messages_TopicWithThreadedReplyListWidget","components_messages_MessageListForNodeByRecentActivityWidget","components_community_FooterWidget","components_messages_MessageView_MessageViewStandard","components_community_FooterWidgetHelpLink","components_community_KhorosLogo","components_messages_EscalatedMessageBanner","shared_client_components_common_List_ListGroup","components_messages_MessageView","components_messages_MessageView_MessageViewInline","shared_client_components_common_Pager_PagerLoadMore","shared_client_components_common_List_UnstyledList"],"appGip":true,"scriptLoader":[]}