STSADM is a command-line utility for configuring SharePoint

learn more… | top users | synonyms

5
votes
2answers
284 views

Why we need to do IIS Reset after adding a template

I added a template using, STSADM -o addtemplate -filename "C:\Stalker\BaleeeBaleee.stp" -title "YouBreakLive" I can see it in Central Administration in "Custom" site templates when I try to create ...
5
votes
1answer
71 views

Multilingual user interface: Is it possible to Export Translations using PowerShell?

I have a SharePoint Server 2010 Enterprise with several language packs installed. The Alternate Languages have been enabled in the Site Settings and several items have been translated. Is it possible ...
4
votes
5answers
4k views

I cant delete or restore a site collection or repair database

When I try to do a restore of a site collection, restore-spsite -Identity https://xx/10014628/ -Path D:\SiteCollectionBackups\10014628.bak -Force -Confirm I get: restore-spsite : ...
4
votes
3answers
1k views

call stsadm.exe programmatically (using System.Diagnostics.Process) doesn't seems to work

The title pretty much says it. My target is to deploy a custom alerttemplates.xml to my SharePoint 2010 solution programmatically. Which would decrease the steps for an installation of the solution, ...
4
votes
1answer
287 views

Enumerate every solution for each WebApplication

I'm performing an inventory and I need to get list of sharepoint solutions (*.wsp) deployed to every individual web-application and ideally, it would also be great to list what Application pool on ...
4
votes
1answer
649 views

Can't restore backup of content database using stsadm after migration to SQL 2008 R2

WSS 3.0 on Server 2003 within a Domain. I set the server up 3.5 years ago along with a test setup. It's the first and only SharePoint install. I recently had to migrate the content database from ...
3
votes
2answers
739 views

Deploying .dlls to the web application bin folder using .wsp fails with feature recevier

When deploying .dlls to the bin directory using a .wsp my feature receivers seem to blow at the deploysolution stage as they cannot find the related code for my feature receivers. How can I handle ...
3
votes
1answer
81 views

Disable timer job

Please provide me stsadm command to disable timer job in sharepoint 2007 I want to disable not delete so that in future I can enable it again if required
3
votes
2answers
811 views

stsadm.exe crashes on all commands

All of a sudden, stsadm has stopped working, crashing on all commands it is run with (even -help!) e.g. > stsadm.exe -help Unhandled Exception: System.ArgumentNullException: Value cannot be null. ...
3
votes
1answer
361 views

Import-Spweb is changing the user id if the user does not exist in the organisation anymore

We had to restore a list (which has versionsing enabled) in our PROD enviornment SP 2010 August CU 2012. We used the following command metioned below: Import-SPWeb http://example.com/projects/myList ...
2
votes
3answers
4k views

stsadm to enumerate all Web Applicstions

Is there an stsadm command that will enumerate / list all web applications? This would be the similar to SPWebService.AdministrationService.WebApplications. What I'm looking for is an stsadm command ...
2
votes
1answer
1k views

STSADM.exe, PowerShell v2.0 and Management Shell

What is the difference between the three? STSADM.exe PowerShell v2.0 Management Shell I understand you can run powershell scripts in the management shell, but I thought I remember reading that ...
2
votes
2answers
5k views

List all deployed solution with stsadm?

I managed to deploy several solution with conflicting features while developing. Now I can't access the admin central, is there a way to see all deployed solutions through stsadm?
2
votes
1answer
330 views

cant find webapplication scoped feature anywhere

I developed a Custom Timer Job Feature using WSP Builder but for some reason I am not able to find it so that I can activate it. I know I can activate it using stsadm but why cant I find it in Site ...
2
votes
3answers
2k views

Stsadm - Avoid subsites while exporting a site

I am exporting a site using stsadm command. It is automatically exporting the subsites too. I need to take the current site only, how can I restrict the subsites? For example I'm exporting the site, ...
2
votes
1answer
185 views

Site collection Disaster Recovery?

One of the Site collection Administrators has deleted the Site Collection mistakenly, so we want to restore it back. What would the best approach ? Some of the SQL stuff: SQL Full backup -> Every ...
2
votes
1answer
565 views

Using wspbuilder to create a custom STSADM command

I'm using wspbuilder to create a .wsp package that will deploy a custom stsadm command. I need the .wsp to include an .xml command file: <commands> <command name="mycustomcommand"....../> ...
2
votes
1answer
177 views

Is stsadm output guaranteed to be XML?

I have a tool that programmatically invokes stsadm.exe and parses the results. The output looks like XML, so I've been using an XML parser to read it. One of my customers ran my tool on a French ...
2
votes
4answers
242 views

Administering SharePoint with PowerShell

I have a limited knowledge on Powershell, but from what I've seen, it can be very useful in admin/dev tasks. What would I have to develop to get a nice toolset for WSS/Stsadm administration? Is ...
2
votes
2answers
211 views

2 SiteCollections in same web app - what is special about the root site collection?

So, I have these 2 site collections within a single web app at port 83: Main Site Collection: / Nested Site Collection: /sites/custom/ Again, these are 2 separate isolation boundaries.. each is ...
2
votes
2answers
2k views

Can I export a list from SharePoint 2007 and then import to SharePoint 2010?

I have a user that has requested we copy her Shared Documents library from SharePoint 2007 team site to an existing SharePoint 2010 team site. Can this be accomplished with OOB STSADM export/import ...
2
votes
0answers
49 views

Need a script to list webparts on each .aspx page in wss3.0 (using stsadm command)

Need a script to list webparts used in a web application on each .aspx page for wss3.0 using stsadm command. The list should show webparts per page, their names and Id's. Thanks I used VB Script from ...
2
votes
1answer
621 views

Trouble promoting subsite or moving it to a different site collection

My company is just starting to use sharepoint for some of our contractors. And I am now tasked with the administration. (yay) Development was done on a standalone server and they were planning on ...
1
vote
2answers
944 views

unable to retract Sharepoint solutions

I am having trouble retracting solutions in SharePoint 2007. I used both the retract solution button and the stsadm command in command line. The timer job was created in both instances, but it never ...
1
vote
3answers
2k views

Web site already exists error when restoring

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. And I am using command, stsadm -o restore -url ...
1
vote
3answers
1k views

Sync between the Content DB and Profile DB is not happening?

Sync between the Content DB and Profile DB is not happening since a week, even the command "stsadm -o sync -DeleteOldDatabases 0" is failed to respond. is there any other specific command can be used ...
1
vote
2answers
4k views

Move Config DB to new SQL server

Our SQLserver db containing the SharePoint config db went down, hardware failure, the content is on a different server, managed to get the config db from backup, i ran stsadm -o delete configdb, but ...
1
vote
1answer
430 views

STSAdm Access Denied and UAC

If you have an access denied error message when executing an STSAdm command its easy to solve by turning off UAC. I can understand this, but what I would like to know is, what is the offical way to ...
1
vote
2answers
1k views

Why a restored stsadm Site is'nt showing images and styles?

i have a site which i migrated with stsadm -o restore -url urlto site - filename file.dat. Restored to a new web application in the production machine. The development machine does not use host ...
1
vote
3answers
7k views

People Picker and fltering by certain AD Groups

I have a scenario where a client wants to filter in the People Picker what AD Groups are available to choose from. For instance, when selecting what AD User/AD Group can be added to an Alert on a ...
1
vote
2answers
602 views

Schema.XML not found in 12/Template/Features/myfeature

I am trying to create a custom list feature, what I did is created feature and then i build a solution out of it using this tutorial Creating a Solution file for Feature when it creates a .wsp ...
1
vote
4answers
3k views

Site scope feature will not deactivate

I have a site collection scoped feature that deployed a web part in my site collection, and I am trying to remove them. If I run "stsadm -o enumallwebs -includefeatures" I see that the feature is ...
1
vote
2answers
1k views

STSADM: enumallwebs -includefeatures question

I cant seem to find any documentation on what the -includefeatures parameter does. Obviously it returns features in the output of the stsadm command, but is it deployed or activated features?
1
vote
1answer
443 views

stsadm deploy fails

I am trying to deploy a SharePoint 2010 feature using the following commands: stsadm -o addsolution -filename %featureWSPFile% stsadm -o deploysolution -name %featureWSPFile% -url ...
1
vote
2answers
2k views

SharePoint restore fails because of newer version

I have installed SharePoint 2010 SP1 on my local developer machine. I wanted to copy a site collection from one of our productive servers (which hasn't SP1 yet but the December 2010 Cumulative ...
1
vote
2answers
6k views

stsadm migrateuser: The user does not exist or is not unique

I'm running: stsadm -o migrateuser -oldlogin "domain1\user" -newlogin "domain2\user" -ignoreidhistory and getting the error "The user does not exist or is not unique". The users exist in both ...
1
vote
1answer
216 views

Solution deployment fails with error “Violation of PRIMARY KEY constraint 'PK_Classes'”

In our install script, which installs several solutions together, we found that solutions were occasionally failing to deploy with the following error in the ULS log: ...
1
vote
1answer
194 views

FAB 40 Install issues

I am trying to install one of the FAB 40 templates for MOSS and I am having some trouble with it. I have run my script to install which is: stsadm -o addsolution -filename ...
1
vote
2answers
372 views

Stsadm restore issue

I try to restore Sharepoint 2007 site using STSAdm but the previous operation failed , I checked the event viewer and found the following information : Faulting application mssdmn.exe, version ...
1
vote
1answer
2k views

stsadm -o execadmsvcjobs as part of a batch command

When using the stsadm -o execadmsvcjobs as part of a batch command we are finding that even though the command is saying all the jobs have been run, the jobs haven't necessarily completed. This means ...
1
vote
1answer
132 views

programmatically check if sharepoint installed

I'm developing an application which test if SharePoint is installed correctly, with stsadm and PowerShell access. I wonder if there is a specified stsadm or PowerShell command or a specified C# code ...
1
vote
1answer
2k views

After site collection restore, site cannot be crawled?

We have a SharePoint 2007 site collection that some permissions were accidentally deleted from. It was impossible to determine how it was originally setup, so we decided to do an STSADM restore from ...
1
vote
1answer
425 views

Error Deploying Solution - returns The feature path 'myfeaturename' must be of the form 'directory/feature.xml'

Let me start out by saying I'm sure WSP builder or STSdev is the way to go, but I can't use those where I work, so I'm having to do this all manually. So here's where I am. I have created a simple ...
1
vote
1answer
87 views

Can not turn of notifications (SP 2010)

I'm about to update 300 items in a list that I know lots of users are subscribing to (notification by email on every item update event). I've tried turn this off by using STSADM: stsadm -o ...
1
vote
1answer
220 views

SharePoint 2007: Site collection deletes itself during restore

I am trying to restore some content databases, and during the restore a sitecollection deletes itself. I am running the stsadm restore command, and i get the message "No content databases are ...
1
vote
3answers
3k views

Content Database showing 0 (zero) site collection after content database attach

I have two server farms, Server farm 1 and Server farm 2. Server farm 2 runs SharePoint 2010 Enterprise with SQL Server 2008 R2 Enterprise and Server 1 runs SharePoint 2010 Enterprise with SQL Server ...
1
vote
2answers
565 views

How can I get the job-immediate-alerts stsadm property setting to work?

Despite my running the following command: stsadm -o setproperty -pn job-immediate-alerts -pv "Every 1 minutes between 0 and 59" the immediate alerts timer job runs every five minutes. What do I ...
1
vote
3answers
552 views

Write error on restore

I am moving a site from one url to another within the same site collection. Stsadm -o backup..... works great and says the operation completed successfully since the guid's of everything stay the ...
1
vote
1answer
32 views

Powershell Script to approve all the pages,masterpages,layouts in a site collection

Need some automated way for publishing the content throughout the site within the one action using some commands, powershell or some custom code or any utility available for SharePoint 2013. Any ...
1
vote
0answers
68 views

stsadm migrateuser operation successful, but no change

We recently had an AD username change on our system. In SharePoint, the profile is updated except, as many people have experienced, some of the core fields like username are still stuck on the old ...