Skip to main content
Nintex Community Menu Bar

PowerShell NWAdmin.exe DetachDatabase

  • Jan 7, 2022 6:18 AM UTC
  • 0 replies
  • 197 views
  • Translate All

Hi

 

I am trying to detach the nintex content database in PowerShell using the statement:

 NWAdmin.exe -o DetachDatabase -serverName $dbServer -databaseName $targetNWContentDatabase

 

but keeps getting the following error:

Content database 'dbname***' is in use. Detaching it will cause workflow history to be lost and workflows in site collections associated with this database to fail.
Are you sure you want to detach this database? (yes / no)

 

Typing yes or y and enter does nothing it just stops here. Have to stop the script to get out of it.

Any help will be appreciated.

 

Regards