Click here to Skip to main content
15,886,422 members
Home / Discussions / C#
   

C#

 
QuestionXML Parsing in Windows Phone 8 Pin
Junaid Javed26-Jun-14 21:08
Junaid Javed26-Jun-14 21:08 
AnswerRe: XML Parsing in Windows Phone 8 Pin
OriginalGriff26-Jun-14 22:11
mveOriginalGriff26-Jun-14 22:11 
GeneralRe: XML Parsing in Windows Phone 8 Pin
Junaid Javed26-Jun-14 23:42
Junaid Javed26-Jun-14 23:42 
Questionadd a streamer to windows kernel Pin
Member 1090881226-Jun-14 13:52
Member 1090881226-Jun-14 13:52 
GeneralRe: add a streamer to windows kernel Pin
Richard MacCutchan26-Jun-14 19:37
mveRichard MacCutchan26-Jun-14 19:37 
QuestionMEF Windows7 Service Pin
Member 1027274826-Jun-14 9:54
Member 1027274826-Jun-14 9:54 
AnswerRe: MEF Windows7 Service Pin
jschell26-Jun-14 10:28
jschell26-Jun-14 10:28 
QuestionEditing Local Machine Policies In a Windows Form Application Pin
Member 1024124126-Jun-14 4:54
Member 1024124126-Jun-14 4:54 
At work we image a lot of machines and prepare them for the users, There is a pre deployment Check-Off guide of things we have to configure before we send the machine off. I am trying my best to automate this, and am stuck at one part i cant seem to get using vbs, .bat, or c#. I am not a veteran coder what so ever, i usually just google what i need and start piecing together to fit what im looking for.

What i need help with is Editing/Enabling 2 local machine Policies i will paste what im trying to automate below:

1) Run gpedit.msc > Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Logon Options > Open "Disable or enable software Secure Attention Sequence" > Enable & Select "Services and Ease of Access Applications" in the drop down menu > Apply > Ok

2)Run gpedit.msc > Navigate to Computer Configuration > Administrative Templates > Printers > Point and Print Restrictions > Enable & In drop down menu for "When installing Drivers for a new connection" select "Do not show warning or elevation prompt" > In drop down menu for "When updating drivers for an existing connection" select "Do not show warning or elevation prompt" > Apply > Ok


These machines are all Windows 7 with latest .net framework installed. I will be doing a C# windows form application using Visual Studio 2010. I have tried making such changes in the registry but have had no luck. For testing purposes i have a simple form with a button. Trying to complete the changes above with the press of a button.

If anyone has any help or information they could point me to that would be awesome, If you could provide me snippets of code and any resources i may need to import to complete this task, that would be even more amazing.


Thank you in advance
AnswerRe: Editing Local Machine Policies In a Windows Form Application Pin
Eddy Vluggen26-Jun-14 9:30
professionalEddy Vluggen26-Jun-14 9:30 
AnswerRe: Editing Local Machine Policies In a Windows Form Application Pin
Bernhard Hiller26-Jun-14 23:52
Bernhard Hiller26-Jun-14 23:52 
QuestionDetermine Incoming Calls Pin
Jassim Rahma26-Jun-14 2:07
Jassim Rahma26-Jun-14 2:07 
AnswerRe: Determine Incoming Calls Pin
Dave Kreskowiak26-Jun-14 2:11
mveDave Kreskowiak26-Jun-14 2:11 
AnswerRe: Determine Incoming Calls Pin
V.26-Jun-14 2:54
professionalV.26-Jun-14 2:54 
QuestionInstallation of windows application on a specified drive using in c# Pin
pavnesh25-Jun-14 22:27
pavnesh25-Jun-14 22:27 
AnswerRe: Installation of windows application on a specified drive using in c# Pin
OriginalGriff25-Jun-14 23:15
mveOriginalGriff25-Jun-14 23:15 
JokeRe: Installation of windows application on a specified drive using in c# Pin
Keith Barrow26-Jun-14 1:06
professionalKeith Barrow26-Jun-14 1:06 
GeneralRe: Installation of windows application on a specified drive using in c# Pin
OriginalGriff26-Jun-14 1:19
mveOriginalGriff26-Jun-14 1:19 
AnswerRe: Installation of windows application on a specified drive using in c# Pin
Eddy Vluggen26-Jun-14 0:28
professionalEddy Vluggen26-Jun-14 0:28 
GeneralRe: Installation of windows application on a specified drive using in c# Pin
pavnesh26-Jun-14 0:37
pavnesh26-Jun-14 0:37 
GeneralRe: Installation of windows application on a specified drive using in c# Pin
Pete O'Hanlon26-Jun-14 1:33
mvePete O'Hanlon26-Jun-14 1:33 
GeneralRe: Installation of windows application on a specified drive using in c# Pin
pavnesh26-Jun-14 1:37
pavnesh26-Jun-14 1:37 
AnswerRe: Installation of windows application on a specified drive using in c# Pin
Keith Barrow26-Jun-14 1:10
professionalKeith Barrow26-Jun-14 1:10 
GeneralRe: Installation of windows application on a specified drive using in c# Pin
pavnesh26-Jun-14 1:26
pavnesh26-Jun-14 1:26 
GeneralRe: Installation of windows application on a specified drive using in c# Pin
Keith Barrow26-Jun-14 1:59
professionalKeith Barrow26-Jun-14 1:59 
AnswerRe: Installation of windows application on a specified drive using in c# Pin
Bernhard Hiller26-Jun-14 2:40
Bernhard Hiller26-Jun-14 2:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.