Posted by robd
on May 10, 2019
I wanted to make some changes to some permissions on mass today but decided it would be prudent to backup the permissions first.
So I used icals, to do this I first ran CMD as admin, then mapped the share drive with “Net Use“.
Why didn’t I do this on the server hosting the files? UAC gets in the way and is a pain the bum.
To backup the permissions:
/t – Performs the operation on all specified files in the current directory and its subdirectories.
/c – Continues the operation despite any file errors. Error messages will still be displayed.
icacls x:\ /save c:\temp\permissions.txt /t /c
Then to restore:
icacls y:\test /restore c:\temp\permissions.txt
Posted by robd
on May 08, 2014
My company uses a sub domain for a satellite office, all works fine and replication takes places etc etc.
The problem I had was with DNS. I’m based in Contoso.local and I cannot ping any device the sub-domain Sub.contoso.local without fully qualifying the domain.
For example if I ping a server1 on the subdomain using
DNS cannot route the command where as if I type
it works fine.
I’ve checked DNS on Contoso.local and there are conditional forwarders to Sub.contoso.local:
So how can I get around this?? The answer is to add a DNS Suffix locally or to all the domain devices via group policy:
Computer Policy > Policies > Administrative Templates > Network/DNS Client > DNS Suffix Search List.
Then GPUPDATE /force your client and run IPCONFIG /ALL and you should see: