Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Uninstall WDS problem - No Permissions

Reply
Thread Tools Display Modes

Uninstall WDS problem - No Permissions

 
 
Greg Candido
Guest
Posts: n/a

 
      10-30-2007
Recently Windows Update installed Windows Desktop Search (WDS) on all my
networks workstations. I created a batch file that silently uninstalls this
application (Which Microsoft throws upon us). My intention was when a user
logons on it will execute the batch file (Silently) and uninstall the
application from the user's workstation.

Heres the problem:

None of our domain workstations have any local administrative permissions,
nor does the user. So when the batch file runs when the user logon script
executes it says. The uninstall says 'Access Denied', blah, blah, blah due to
these restrictive permissions.

Now I don't want to give the user or the workstation any administrative
permissions. How can I execute the script with full administrative
permissions? Just so the uninstall will perform. I really don't feel like
walking around to 150 workstation to uninstall this.

BTW if I do give the workstation/user full permission the batch file
executes fine.

Greg
 
Reply With Quote
 
 
 
 
MowGreen [MVP]
Guest
Posts: n/a

 
      11-01-2007
Give this a shot, Greg:
http://blogs.technet.com/wsus/archiv...p.aspx#2288114

> Put the script in your Active Directory Computer Startup GPO and this runs with the
> necessary rights, also /norestart if you don't want it to retart the PC
>
> [ instead of /promptrestart ]
>
> %windir%\$NtUninstallKB917013$\spuninst\spuninst.e xe /q /promptrestart
>
> This works great!
>
> Add a policy object and set startup script to
>
> %windir%\$NtUninstallKB917013$\spuninst\spuninst.e xe
>
> and set parameters to
>
> /q /promptrestart
>
> Link the GPO to a specific OU in your Active Directory and it works. I tried it on
> several systems.
>
> Offcourse it can take a while for your policy to be replicated so to test go to the
> commandprompt on the workstation and use gpupdate /force


*Note* that some posters have seen the Quick Launch bar become Disabled
when uninstalling WDS.

MowGreen [MVP 2003-2008]
===============
*-343-* FDNY
Never Forgotten
===============



Greg Candido wrote:

> Recently Windows Update installed Windows Desktop Search (WDS) on all my
> networks workstations. I created a batch file that silently uninstalls this
> application (Which Microsoft throws upon us). My intention was when a user
> logons on it will execute the batch file (Silently) and uninstall the
> application from the user's workstation.
>
> Heres the problem:
>
> None of our domain workstations have any local administrative permissions,
> nor does the user. So when the batch file runs when the user logon script
> executes it says. The uninstall says 'Access Denied', blah, blah, blah due to
> these restrictive permissions.
>
> Now I don't want to give the user or the workstation any administrative
> permissions. How can I execute the script with full administrative
> permissions? Just so the uninstall will perform. I really don't feel like
> walking around to 150 workstation to uninstall this.
>
> BTW if I do give the workstation/user full permission the batch file
> executes fine.
>
> Greg

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with Permissions- can anyone please help robinb Windows Vista General Discussion 11 01-23-2008 11:32 PM
Uninstall problem - uninstall not recognized by system KarenA Windows Vista Mail 1 11-08-2007 11:02 PM
Permissions Problem Bob Hansen Windows Vista Networking 1 10-24-2007 06:01 AM
Permissions problem? Nicholas Hall Windows Vista General Discussion 1 05-09-2007 02:08 PM
Permissions problem? Nicholas Hall Windows Vista Installation 1 05-09-2007 02:08 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59