How to decrypt a field manually when Mass Decryption is not available in the instanceDescription<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Description This article explains how to decrypt a previously encrypted field manually when a Mass Decryption is not available in the instance. Procedure This procedure needs the admin user to create a new field in the table to copy the encrypted values. . Assuming the numbers of the records are unique, you can write a script to copy all the record numbers in the particular and encrypted field's display value(It will work only if you are logged in as a user with Encryption Context) to an EXCEL file. Once you do that, you can create a new string field for the table in the instance and copy the values to the new field using Import Sets (https://docs.servicenow.com/csh?topicname=import-sets-landing-page.html&version=latest?title=Import_Sets) Following is an example script that you can use to copy the field values to an Excel file. Please test and modify to your business requirements to copy and download the data. Please run and test the code properly preferably on an OOB instance before running this in your instances and seek help from your developers when you try the script. Sample Script var output = "Number,Encrypted Field"; //header for csv file var table = "table_name"; var recordId = ""; //using for attachment file var gr = new GlideRecord(table); //gr.addEncodedQuery("sysID="); //Test if it works with a particular SysID gr.query(); var count = 0; while (gr.next()) { count++; output += "\n" + gr.number + "," + gr.ENCRYPTED_FIELD.getDisplayValue(); //Enter encrypted field name if (!recordId) { recordId = gr.sys_id; } } gs.print(recordId); writeAttachmentFile(output); function writeAttachmentFile(data) { var attachment = new Attachment(); var attachmentRec = attachment.write(table, recordId, "exportEncrypted.csv", "text/csv", data); } Once you run your script in the Scripts - Background, you can navigate to sys_attachment.list to download exportEncrypted.csv file. You can use import sets to Map and import the data to your instance(to your newly created String Field). Applicable Versions All available versions