- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
04-16-2020 03:16 AM
I created a PACLI command to update certain file cats. When I run the PACLI scrip, i get ITATS053E Object Operating doesn't exist. I can't find anything on this error? The object I'm testing on has the file cats on it and I want to be able to change them to a different one. Here's my script:
pacli init
pacli definefromfile vault="Production Vault" parmfile=Vault.ini
pacli default vault="Production Vault" USER=PACLINonHumanUser FOLDER=Root
pacli logon USER=PACLINonHumanUser logonfile=PACLINonHumanUser.ini
Pacli OpenSafe SAFE="Test ID"
pacli FILESLIST SAFE="Test ID" output(NAME) >> users.txt
FOR /F %%i IN (users.txt) DO PACLI UPDATEFILECATEGORY SAFE="Test ID" FILE=%%i CATEGORY=DeviceType VALUE=Operating System
FOR /F %%i IN (users.txt) DO PACLI UPDATEFILECATEGORY SAFE="Test ID" FILE=%%i CATEGORY=PolicyID VALUE=WinDesktopLocal
FOR /F %%i IN (users.txt) DO PACLI ADDFILECATEGORY SAFE="Test ID" FILE=%%i CATEGORY=ResetImmediately VALUE=ReconcileTask
Pacli closesafe SAFE="Test ID"
pacli logoff
pacli term
It pulls the user from the safe and places it in the file, but when it gets to updating and adding the file cat that where I get the error.
04-16-2020 03:33 AM
@Thomas Dozer Just a wild guess here.... I think you need to update the DeviceType and PolicyID category for an account in one loop. So, in one iteration, it should update both the values for an account.
ResetImmediately category should not be a problem in a different loop.
Try it once and see how it goes.
04-16-2020 03:41 AM
@Ratul Gandhi Thank you for your response. So how would that be done? I've never nested more than one command in a single line?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

