<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2527 " id="quads-ad2527" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p>While I was doing a cross forest migration in a customer’s environment I had to make sure that of some computers&#8217; logged in users before starting the migration process due to the customer’s policy how Computer hostnames are used.</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2525 " id="quads-ad2525" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2531 " id="quads-ad2531" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2528 " id="quads-ad2528" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p>There was about 500 computers, most of these computers don’t use their users’s names but company’s name and then a number e.g. (PC5123).</p>



<p>Luckily <strong>Mark Russinovich </strong>has provided the great PSTOOLS for administrators to work remotely and find out everything about user’s computers in domain without having to go physically or interact with the users.</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2522 " id="quads-ad2522" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p>So I had to download the tools from this <a href="https://www.google.com/url?q=https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fsysinternals%2Fbb897545&;sa=D&;sntz=1&;usg=AFQjCNHTilLLjRavSKnMlJsjZrBFiGTjGA" target="_blank" rel="noreferrer noopener">link</a> and use the following command to get the logged in user.</p>



<p><strong>wmic /node:&#8221;smart0498&#8243; ComputerSystem GET UserName</strong></p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2526 " id="quads-ad2526" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<figure class="wp-block-image"><a href="http://lh3.googleusercontent.com/-IR3OHeXOS-A/VZKPhwHvk2I/AAAAAAAAQEw/t487uaDzy1U/s1600-h/image%25255B5%25255D.png" target="_blank" rel="noreferrer noopener"><img src="https://lh3.googleusercontent.com/3-KPuuIWo44JcID5VftvqH0gRsSCFyxfnwreg5LOIzamda1svZojCP_nX9UqyM6C4hjvtzBzdoyVeAxQFazlJUUvD8olq-y13GRr8Ppu1tX0yHdzGmvX=w673" alt="image"/></a> 

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2523 " id="quads-ad2523" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
 
</figure>



<p>Hope you find this useful</p>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2530 " id="quads-ad2530" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>


Reset and manage your Active Directory users' Passwords Active Directory is one of the most…
Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…
If you're using a Proxy server in your firewall or in your network and have…
Story:I got some clients that have reported some of their users being locked out and…
Delegate Permissions This is a code that I have wrote recently to check if an…
Story: I got a request from a client who constantly gets CVs and have to…