To set the time ( Tested against Windows 2016) Launch CMD as administrator exampled c:\time 09:00:00 AM - This will set the time to 9am Note a time source…
Get a list of inactive computers which have not logged on to the domain in the last 12 weeks
# Inactive computers ( this will include systems not regularly used) # Launch command prompt as administrator and run the following commands Dsquery computer -inactive 12 -limit 500 # Lists…
Hide Folders Under Share with Access Based Enumeration
So todays challenge. Hide visible folders under share to users who don't have access. Example We create some new shares. Folders are then created under the share and NTFS permissions…
Differences between Roaming Profiles and ProfileimagePath
We have and RDS cluster everythings is working fine. We use roaming profiles, redirection to a share is working as well. When a user logs on to any RDS node…
Group Policy –Add the Administrator security group to roaming users profiles
Tested on Windows 2008 R2 Create a GPO - “Add the Administrator security group to roaming users profiles” Computer Configuration > Policies > Administrative Templates > System > User Profiles”…
Check if an AD user has a roaming profile configured (PowerShell) – OneScript Team
Check if an AD user has a roaming profile configured (PowerShell) This script can query specified active directory users whether or not a roaming profile was configured. Scenarios IT admins…
Temp Profile issue 2008 R2 RDS using roaming profiles
Issue Some of our users keep getting logged on with a temporary profile. Scenario We have an RDS cluster using Window 2008 R2 x64 and users are setup with roaming…
Change user command to switch a Terminal Services server to Install mode.
KB 320185 How to put a Terminal Services server in Install mode. You will need to switch to install mode, to install or remove programs on a terminal server. The method…
For Loop command to list users with sessions on servers
Problem : Users/Admins disconnect from sessions on servers. How to get a list of users logged on to server active and disconnected Simple Solution! Create a file call servers.txt -…
Create or Remove A Static Route in a Microsoft Windows OS
Route traffic via a specific NIC and IP in most Microsoft Windows operating systems. Quick guide to create a static route in windows or remove a static route in a…