Category Archives : Uncategorized

SCL

https://pivkey.zendesk.com/hc/en-us/articles/203128099-Enrolling-a-Smart-Card-certificate-on-behalf-of-another-user

https://pivkey.zendesk.com/hc/en-us/articles/203863255-Self-enrolling-a-Smart-Card-Certificate

To change the User PIN type:

pivkeytool –changepin “111111” –userpin “000000”

pivkeytool –unblockpin “111111” –userpin “000000”

To change the Admin Key type:

pivkeytool –changeadminkey “111111111111111111111111111111111111111111111111” –adminkey “000000000000000000000000000000000000000000000000”

Delete a cert from SC:

certutil -scinfo

certutil -delkey -csp “Microsoft Base Smart Card Crypto Provider” “CertReq-PIVKeyC980-00000000-df58–00000”

HP LJ M404 MFG Mode

With MFG Mode on display, press Power to get to Ready display

Then Cancel-Return-Return-Cancel-Return-Return

Engineering Menu>Undeware Menu>boot_code_menu

Swith to user mode then OK then Power Cycle

Robocopy

permissions for full shares

robocopy source destination /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /LOG:X:\Robocopy.log

Live, post first copy

robocopy source destination /XO


robocopy Y:\ Z:\ /copy:DATSOU /secfix /e /b /MT:8

The example command preceding uses the following elements and options:

  • Y – Refers to the source share located in the on-premises Active Directory forest mydata.com.
  • Z – Refers to the target share \\amznfsxabcdef1.mydata.com\share on Amazon FSx.
  • /copy – Specifies the following file properties to be copied:
    • D – data
    • A – attributes
    • T – timestamps
    • S – NTFS ACLs
    • O – owner information
    • U – auditing information.
  • /secfix – Fixes file security on all files, even skipped ones.
  • /e – Copies subdirectories, including empty ones.
  • /b – Uses the backup and restore privilege in Windows to copy files even if their NTFS ACLs deny permissions to the current user.
  • /MT:8 – Specifies how many threads to use for performing multithreaded copies.

Time Server Migration/Setup

Check all pastes for bad quotes!

First:

Old server

w32tm /config /syncfromflags:domhier /reliable:no /update
net stop w32time & net start w32time

Then:

New server

w32tm /config /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org” /syncfromflags:manual /reliable:yes /update
net stop w32time & net start w32time

w32tm /query /configuration
w32tm /query /source
w32tm /query /peers
w32tm /query /status

Next Page »
Back to Top