Get all AD users password expiration dates

Get-ADUser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} –Properties “DisplayName”,”msDS-UserPasswordExpiryTimeComputed”|Select-Object -Property “Displayname”,@{Name=”ExpiryDate”;Expression={[datetime]::FromFileTime($_.”msDS-UserPasswordExpiryTimeComputed”)}}|Sort-Object ExpiryDate -Descending

Time syncing in Hyper-V with AD and virtualized DC

From Hyper-V manager, go to the settings for the DC VM, go to integration services, and uncheck time sync.

If this is what’s showing, it’s wrong:

[dc1]: PS C:\Users\chris\Documents> w32tm /query /source
VM IC Time Synchronization Provider

After disabling the time sync integration thing, run this (I had to do it twice to get it to work properly):

[dc1]: PS C:\Users\chris\Documents> w32tm /resync /rediscover
Sending resync command to local computer
The command completed successfully.

Then running the /source command will show the following:

[dc1]: PS C:\Users\chris\Documents> w32tm /query /source
pool.ntp.org,0x9

A group policy has to be configured on the PDC to configure the Windows Time service.

Some more output after everything is working:

On the DC

[dc1]: PS C:\Users\chris\Documents> w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 2 (secondary reference – syncd by (S)NTP)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0573343s
Root Dispersion: 7.7756200s
ReferenceId: 0x84A30465 (source IP: 132.163.4.101)
Last Successful Sync Time: 4/24/2016 4:55:26 PM
Source: pool.ntp.org,0x9
Poll Interval: 6 (64s)

On a client

PS C:\Windows\system32> w32tm /query /source
DC1.ad.domain.net
PS C:\Windows\system32> w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 3 (secondary reference – syncd by (S)NTP)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0885773s
Root Dispersion: 15.5867755s
ReferenceId: 0xC0A80AF6 (source IP: 192.168.10.246)
Last Successful Sync Time: 4/24/2016 5:01:35 PM
Source: DC1.ad.domain.net
Poll Interval: 10 (1024s)

Synology DiskStation personal photo station enable

Enable Personal Photo Station Service for DSM Users

DSM admin (or a user belonging to the administrators group if Photo Station’s account system is set as DSM accounts) can enable Personal Photo Station service to allow all DSM users to have their own Personal Photo Station.
To enable Personal Photo Station, you need to activate DSM’s user home service, Personal Photo Station in Photo Station, and DSM options.
Note: Only local users can use Personal Photo Station.
To enable Personal Photo Station service for DSM users:
1. Log in to DSM as an administrator, go to Main Menu > Control Panel > User, click User Home to enable user home service.
2. Open Photo Station as DSM admin, and go to Settings > General > Personal Photo Station. Tick Enable Personal Photo Station service and click Save.
3. When the Personal Photo Station service is enabled, go back to DSM again, and then choose Options > Photo Station from the Options menu (with a figure icon) at the top-right corner of DSM desktop to enable their Personal Photo Station. *Must be done for each user (log in to DSM as that user and choose the option)

Create a free website or blog at WordPress.com.

Up ↑