Skip to main content

Shared folder got converted into the Recyle Bin on Windows File and Print server.

Technical:

You can almost convert any folder into anything for example.

To Convert Folder Into Contol Panel, Rename With Adding  .{21EC2020-3AEA-1069-A2DD-08002B30309D}

To Convert Folder Into Recycle Bin, Rename With Adding .{645FF040-5081-101B-9F08-00AA002F954E}

To Convert Folder Into My Computer, Rename With Adding. {20D04FE0-3AEA-1069-A2D8-08002B30309D}

To Convert Folder Into Internet Explorer, Rename With Adding. {871C5380-42A0-1069-A2EA-08002B30309D}

You need to rename folder again using following command.

Example Folder Avinash got converted in Recycle in to bring Avinash folder in normal attribute. Run following command.

Ren Avinash.{645FF040-5081-101B-9F08-00AA002F954E} Avinash

But problem we were facing was not that simple because it was virus infection which transmits with Autorun.inf

Please find following URL which has detailed information autorun.inf cleanup.

Run command on drive for example C Drive. “ C:\attrib -s -r -h *.*” This will visible all Autorun files.

http://en.kioskea.net/forum/affich-63526-how-to-remove-autorun-inf-virus-open-hidden

Comments

Popular posts from this blog

"kerberos: the specified credentials were rejected by the server", "unreachable": true" Ansible

Hello Friends, I was getting following Error while deploying my Ansible script, Basically my credential were getting rejected by server. SSH password: PLAY [Playbook_Name] ***************************************************************02:00:30 TASK [Gathering Facts] *********************************************************02:00:30 fatal: [Server_Inventory_Name]: UNREACHABLE! => {"changed": false, "msg": "kerberos: the specified credentials were rejected by the server", "unreachable": true} PLAY RECAP *********************************************************************02:00:30 Server_Inventory_Name    : ok=0    changed=0    unreachable=1   failed=0  It was resolved using one additional parameter in Inventory  i.e  "ansible_winrm_server_cert_vaildation:ignore"

NBSUTIL commands

Frustrated with syntax finding hence decided to post all NBSTLUTIL related commands so people will not face same problem. Common SLP Related Commands Show EMM Image list of Images that were backed up to an SLP STU [ -I / -U ] nbstlutil list nbstlutil list –lifecycle <name> nbstlutil list –backupid <id_value> nbstlutil list -image_state <value> nbstlutil list -copy_state <value> nbstlutil list -frag_state <value> nbstlutil list –mediaid <media_id>_–state 3 Activate /Inactivate SLP operations nbstlutil inactive –lifecycle <lifecycle name> nbstlutil inactive –backupid <backupid> nbstlutil active –lifecycle <lifecycle name> nbstlutil active –backupid <backupid> Cancel pending operations on selected image nbstlutil cancel -backupid <backupid> nbstlutil cancel -lifecycle <lifecycle> Show status on Incomplete copies of Lifecycle Managed images nbstlutil stlilist –lifecycle <lifecycle name> nbstlutil stlil...

How to disable USB Storage ?

Question came. #How to disable USB Drive but USB headphones/Keyboard/Mouse and Data cards should work? Simple:  When administrator says how he will block things using GPO what we do is we edit Group Policy Management template. #Group Policy Management Editor Following option need to be configure. What exactly happens? As we know Windows is all about registry and for each and everything we had one Reg file same thing applies to USB.  For example USB Printer, USB hub, USB headphones for each component we had different registry keys. Now I just want to disable USB storage hence will concentrate on following registry path. #[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR] and mainly START (Dword) By default it is 3 if you modify registry to 4. USB Mass storage will be block. (Cell Phones, Jump drives, Disk and Pen drives will not detect in OS.