How to get a computer SID using a doss command
i have around 20 machines has ghost images, assume have same sid. want know dos command check computer sid, know command current user , domain user sid , don't want ant tool.
please refer dos command or batch file use in network or directly.
two ways sid @ command prompt command line utilities:
dsquery * -filter "(name=mycomputer)" -attr objectsid
or
dsquery computer -name "mycomputer" | dsget computer -sidthese require rsat (remote server administration tools) installed on client, if can retrieve user , domain sid values, have this.
richard mueller - mvp enterprise mobility (identity , access)
Windows Server > Directory Services
Comments
Post a Comment