Elias Lecomte
Elias Lecomte

Reputation: 1

creating folder in windows dir

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 access? But even with UAC turned of, I still can't create the folder.

Anyone has an idea how that does come?

Upvotes: 0

Views: 294

Answers (2)

Will03uk
Will03uk

Reputation: 3444

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#

Upvotes: 0

Hans Olsson
Hans Olsson

Reputation: 55001

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.

Upvotes: 1

Related Questions