I wanted to automate this process: http://www.blogsdna.com/2698/you-can-customize-windows-7-logon-background-officially.htm
Registery was no problem.
But when i wanted to create the backgrounds folder in Windows\System32\oobe\info, it simply didn't work. It just won't create the dir whatever i try.
I assume it's something with unauthorized acce开发者_JS百科ss? But even with UAC turned of, I still can't create the folder.
Anyone has an idea how that does come?
Just go in with Windows Explorer and change the permissions on the folder where you try to create your sub folder to give your user account write permssions.
You need to request administration rights for the application. changing the rights for the Windows dir is bad because it has system files. Google it.
To test right click the program and click run as admin. In vb there is an settings xml you set permissions in, I assume there will be a way in c#
精彩评论