{"id":5297,"date":"2019-10-21T17:00:12","date_gmt":"2019-10-21T15:00:12","guid":{"rendered":"https:\/\/www.razumny.no\/?p=5297"},"modified":"2019-10-22T09:09:07","modified_gmt":"2019-10-22T07:09:07","slug":"quickly-check-user-logon-time","status":"publish","type":"post","link":"https:\/\/www.razumny.no\/?p=5297","title":{"rendered":"Quickly check user logon time"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">With surprising regularity, I need to check when a user last logged in. I recently found a command that returns this information; <code>quser<\/code>. Using it is simple enough; open a command prompt, enter the command, and hit return:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"168\" src=\"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-5.png?resize=671%2C168&#038;ssl=1\" alt=\"\" class=\"wp-image-5304\" srcset=\"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-5.png?w=671&amp;ssl=1 671w, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-5.png?resize=300%2C75&amp;ssl=1 300w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><figcaption>Screenshot of a command line showing the results of the &#8220;quser&#8221; command<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When run on a server, the command returns information of when all currently logged on users logged on. This can be useful for any number of reasons. One example is when you&#8217;ve granted a user new permissions, which usually only refresh when logging off and back on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With surprising regularity, I need to check when a user last logged in. I recently found a command that returns this information; quser. Using it is simple enough; open a command prompt, enter the command, and hit return: When run on a server, the command returns information of when all currently logged on users logged [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[615,677],"tags":[1094,299,1192],"class_list":["post-5297","post","type-post","status-publish","format-standard","hentry","category-how-to-2","category-tips-tricks","tag-cmd","tag-command-line","tag-quser"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2ukSU-1nr","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4027,"url":"https:\/\/www.razumny.no\/?p=4027","url_meta":{"origin":5297,"position":0},"title":"Access UNC paths from the Windows command line","author":"Aleksander Nordgarden-R\u00f8dner","date":"04\/02\/2019","format":false,"excerpt":"I am, with surprising regularity, faced with the need to access UNC paths\u00a0from the command line, as that is perhaps pretty much the quickest way to browse to network shares with a different user than the one currently logged in. There's just one issue: the Windows command line does not\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3736,"url":"https:\/\/www.razumny.no\/?p=3736","url_meta":{"origin":5297,"position":1},"title":"Resolving Error 1312 when mapping a folder on a network share","author":"Aleksander Nordgarden-R\u00f8dner","date":"22\/08\/2016","format":false,"excerpt":"Some time ago, I was talking to a user on the phone, while\u00a0remotely controlling their computer. I needed to connect to a folder on a network share\u00a0as my admin account, rather than that of the logged-in user, but kept running into the following error: Error 1312: A specified logon session\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5045,"url":"https:\/\/www.razumny.no\/?p=5045","url_meta":{"origin":5297,"position":2},"title":"Drives mapped through login scripts unavailable from Windows Explorer","author":"Aleksander Nordgarden-R\u00f8dner","date":"11\/02\/2019","format":false,"excerpt":"Every so often, a customer will call in, saying that they are unable to access one of the servers that are mapped through their login script. There are generally two reasons for this; either there's an issue with the network connection, or the drive letter is already being used for\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2513,"url":"https:\/\/www.razumny.no\/?p=2513","url_meta":{"origin":5297,"position":3},"title":"SSH: Logging in","author":"Aleksander Nordgarden-R\u00f8dner","date":"06\/10\/2014","format":false,"excerpt":"The single most handy tool for any Linux administrator is SSH.\u00a0Short for\u00a0Secure SHell, it is a way to connect to another computer, using the terminal. It is immensely powerful, and\u00a0gaining confidence with it can be a bit of a challenge. Before you can do ANYTHING else, you need to know\u2026","rel":"","context":"In &quot;Linux101&quot;","block_context":{"text":"Linux101","link":"https:\/\/www.razumny.no\/?cat=824"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4024,"url":"https:\/\/www.razumny.no\/?p=4024","url_meta":{"origin":5297,"position":4},"title":"Managing startup applications in Windows 10","author":"Aleksander Nordgarden-R\u00f8dner","date":"10\/04\/2017","format":false,"excerpt":"In earlier versions of Windows, I - and I would assume many with me - used the Startup folder in the Start menu to manage startup applications. In Windows 10, however, this folder is no more, and so we must find other ways of dealing with them. There are three\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Task-Manager-Startup-tab-1024x938.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Task-Manager-Startup-tab-1024x938.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Task-Manager-Startup-tab-1024x938.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Task-Manager-Startup-tab-1024x938.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2542,"url":"https:\/\/www.razumny.no\/?p=2542","url_meta":{"origin":5297,"position":5},"title":"Oracle Linux: Insufficient memory to auto-enable kdump","author":"Aleksander Nordgarden-R\u00f8dner","date":"21\/07\/2014","format":false,"excerpt":"Remember how I said \"you\u00a0should be\u00a0all set\", last week? Turns out, I was only partially right. After\u00a0creating a local user account, Linux also configures kdump, the kernel crash dumping mechanism. When attempting to do so, it returned this error message: As problems go, this one is fairly minor. Kdump does\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.razumny.no\/?cat=108"},"img":{"alt_text":"Insufficient memory to auto-enable dump. Use system-config-kdump to configure manually","src":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Screenshot-2014-06-29-21.36.25-300x113.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/5297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5297"}],"version-history":[{"count":3,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/5297\/revisions"}],"predecessor-version":[{"id":5308,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/5297\/revisions\/5308"}],"wp:attachment":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}