Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Custom screensaver file read access right, network access

01 Sep 2013   #1

Windows 7 Ultimate x64
 
 
Custom screensaver file read access right, network access

Hi,

I've creates my own custom screensaver (in Visual Studio 12 using WPF), which need access to network for check an weather and email check.

I've settings saved in two files. First one is NotifyScreensaver.scr.config, where I've only url to server, from which I take weather informations. The second one NotifyScreensaver.ini contains informations about screensaver (paths to backgrounds, mail settings - server, inbox folder, ...).

First of all I tried to check if it is running well in settings windows of screensavers as showed here: Screen Saver - Change and it is working perfectly (weather and mail are loaded in preview and you can set settings (username, password) without problem).

My problem is in real use, where it seems, that my screensaver cannot access these two files (or cannot access network - I don't know). I tried to add Logging to my screensaver, which worked perfectly in settings mode, but does not work in real use. So I think it can be missing rights to access to files or networks.

I've tried to find out, after which user account is windows running screensaver, but I cannot find out. I've one more solution to run screensaver as administrator and it is to create small exe application, where I call windows runas command with administrator settings, but I think it is ugly solution.

Screensaver is available in attached files. If you need source code, let me know.



Thanks

Workaround:
In C:\Windows\system32 (where are stored screensavers), must be length of file name of screensaver less than 8 characters. I don't know why.

J.

My System SpecsSystem Spec
.

Reply

 Custom screensaver file read access right, network access





Thread Tools



Similar help and support threads for2: Custom screensaver file read access right, network access
Thread Forum
Extremely slow file transfers and network access... Network & Sharing
unidentified network, no network access, limited access Network & Sharing
Unable to access internet with No network access error Network & Sharing
Windows can't access file. May not have permission to access. General Discussion
Solved Unidentified Network; No Network Access; Limited Access Network & Sharing
Win7 x64 Crashes on Internet Access or File Access BSOD Help and Support
Access denied file sharing over home network Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:39 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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