AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Software > Programming and Assembly Language

Programming and Assembly Language Please read this Topic's rules!!


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 12th October, 2009, 04:06 PM
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 13,075

Win 7 - WUA & permission denied

For some reason, when I'm trying to invoke the Windows Update Agent (WUA) to identify any missing patches, I'm getting a permission denied error.

Basically, I'm doing something like:
Code:
Set UpdateSession = CreateObject("Microsoft.Update.Session")
Set UpdateServiceManager = CreateObject("Microsoft.Update.ServiceManager")
Set UpdateService = UpdateServiceManager.AddScanPackageService("Offline Sync Service", CabFile)
Set UpdateSearcher = UpdateSession.CreateUpdateSearcher()
I get the permission denied at the AddScanPackageService point. Note that this isn't occurring across the network, as WUA can only handle local files. Any idea why this is happening?
__________________

Last edited by Áedán; 12th October, 2009 at 04:07 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12th October, 2009, 07:14 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, Unicycle Challenge Champion, YetiSports 9: Final Spit Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 16,178
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Does WUA run normally if invoked using the Windows Update entry in the start menu?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 13th October, 2009, 10:54 AM
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 13,075

Good question, well asked. I don't know, but I'll endeavour to find out.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 13th October, 2009, 02:51 PM
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 13,075

The answer appears to be "no", Windows update comes back with an error, and MS suggest it's because there's a proxy. I do wonder if this means there's a WSUS server on the network though.

However, should that stop a local test happening? I have the CAB file locally.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 13th October, 2009, 08:16 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, Unicycle Challenge Champion, YetiSports 9: Final Spit Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 16,178
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Well, I wouldn't THINK it would stop a local test happening, but then again we don't truly know what's going on in WUA, so there's no telling. Maybe it tries to 'phone home' even when it's doing a local update?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
windows 7



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pirate Bay retrial denied; judge declared "unbiased" Daniel ~ Data Security 22 1st July, 2009 04:11 PM
Rebate denied PorPorMe Betty's Rants and Rages 15 1st January, 2009 07:24 PM
Permission based MS Excel 2007 Documents Rondog OS, Software, Firmware, and BIOS 3 17th September, 2008 02:55 PM
WTF??? Windows XP Home NTFS 'ACCESS DENIED' bluestreak84 CRASHED! 8 17th May, 2004 11:28 AM


All times are GMT +1. The time now is 01:36 AM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0