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: Gpedit via command line

29 Aug 2011   #1
Akshay

Windows 7, Arch Linux, Ubuntu Server 9.10, 8.10, 8.04
 
 
Gpedit via command line

how can I enable disable a policy using gpedit! Not via the GUI, you go do some clicks and enable.

But I want to execute one shot command which will say disable AutoRun.

I have searched exenstively, no results. I kind need this for my automation stuff.

Thanks,
Akshay


My System SpecsSystem Spec
.
29 Aug 2011   #2
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

create a .REG file. Execute the .reg file.

The grouppolicy editor is a registry editor of sorts.
My System SpecsSystem Spec
Reply

 Gpedit via command line




Thread Tools




Similar help and support threads
Thread Forum
Executing command line command anywhere ?
I want to create a setup whereas a command line command can be run from any directory/folder, without having to be in the directory/folder whereas the command line command resides ?
General Discussion
Command Line - Help
Hi Guy's and Girls, Just first off I've never been too good with CMD and only an Apprentice in my company I work for. Now something I've wanted to do for awhile was to make the following but I don't necassirealy I know how to do this in one batch file: I would need a Batch file that is...
General Discussion
What is wrong with this command line?
Help please I am pulling my hair out. I use a desktop shortcut to run an application called get_iplayer.cmd located in the directory c:\program files\get_iplayer The line in the Target of the shortcut properties therefore reads: C:\Windows\System32\cmd.exe /k "c:\program...
General Discussion
Command Line
Is there a cmd.exe /switch for “run as administrator” ? Thanks-
General Discussion
Can you boot from the command line?
This is an off topic thread because it concerns WinXP/2000 dual boot machine which are not booting. I can get to the Windows\ and Winnt command line of each but trying to figure out if I can boot from there. If I try to boot regularly I get "missing operating system" Im trying the Windows 2000...
Chillout Room


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 21:28.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App