Over 1 million tech questions and answers.

Switch User - run a script/command

Q: Switch User - run a script/command

Hi,

I have a mate who has very poor eyesight and I've just been helping him and his wife set up their new laptop (Windows 7). We found the best way for him to use it is to set the screen resolution to 800x600 but his wife doesn't need/like this setting and I was dismayed to realise that this is not a 'per user' setting.

However, I found a little utility (multires) that I can call via a .bat file stored in the respective Startup folder to set the resolution when they log on but now i am looking for a way of re-setting when they switch users as opposed to logging on but can't find a way to do this.

..anyone know of a way? is there a script that runs on a user switch event? I've done a bit of vbscripting in the past so am happy delving into that sort of stuff!!

Thanks in advance for any help.
Jim.

RELEVANCY SCORE 200
Preferred Solution: Switch User - run a script/command

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: Switch User - run a script/command

You can run the .bat from the registry (in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run key)

Create a New String value and point it at the location of the batch file.

Read other 2 answers
RELEVANCY SCORE 53.6

Hello,

I use windows 7.
When I turn on laptop (acer Aspire 5742) cannot connect to internet until I switch user and log in again. Soon as I touch any browser icon the rest of computer stops responding as well. It's only me on computer. Have virgin media security/ spyware/ virus protection. Tried CCleaner. After I switch user everything is fine.
Additional info; On 16th October had great difficulty getting my emails from Yahoo. Sometimes sign-in box appeared without my security signature and different style of writing for browser remembered log-on details.

Cheers,

Gordon.
 

A:Solved: have to switch user to continue after switch on

Read other 11 answers
RELEVANCY SCORE 52.4

Earlier today I turned on my Toshiba laptop (Satellite P855-S5200) and got some sort of error screen, and then it brought me to a screen asking if I wanted to do a system repair or start windows normally. I chose system repair, but then it seemed to get stuck in that process (It was taking forever and nothing was happening), so I turned off the laptop (I know, big no no), booted in safe mode, and did a system restore to a restore point from about a week ago. The "starting Windows" screen came and went, no problem. Everything seemed fine till I got to the User Selection screen (the default blue one with the little hummingbird or whatever). Then it just sat there on that screen. I could see the hummingbird and the little squiggly lines, but there were no buttons to click my user. I just let it sit there, and after about 5 minutes, the user names popped up, and I was able to continue using the computer without any problems, no other speed issues whatsoever. It now makes me wait every time, always about 5 minutes, before the user names pop up. It does this when I restart the machine and when I try to switch users.

It is a Pentium Core i7
2.3 Ghz
8 GB RAM
Windows 7 Home Premium 64 bit
Let me know if you need any other specs.

Any ideas?

Thanks,
Tim

A:Windows 7 takes forever to load the select user/switch user screen

Work through these steps for Troubleshooting Windows 7 Failure to Start.

The steps begin with disinfection from Safe Mode or boot disk, since if Win7 is badly infected it may not repair until cleaned up. Then everything possible to start it is sequenced.

I would also do the hardware tests provided before rescuiing the data to run Recovery or get the superior Clean Reinstall.

Read other 1 answers
RELEVANCY SCORE 52.4

On windows 7 professional 64-bit sp1,
if a current user is screen locked, the lock screen indicates the current user name and account is logged on and the computer is locked. I am using Classic Logon in group policy,
and under local policy-security options-interactive logon i have it set to display username and account info (the option with most information).

the problem i have is say a user is logged in and then I need to use the computer,
at that point the lock screen says so and so is logged in and locked,
I do a switch user, log in and do my thing, then log out.
Now the screen goes back to the base login screen saying 'ctrl-alt-del' not saying any user is currently logged in.
Now if that original user does log back in, all his stuff is still here and everything acted like a basic screen lock happened so no problem there... but what i want to happen is after a switch user logs out the screen goes back to the lock screen displaying who has the computer locked. is there a way to do that?
thanks.

A:Switch User then logoff, back to ctrl-alt-del login not previous user

At a guess, I'd say Classic Logon is the culprit here, as I do not have this issue with Windows 7 64-bit SP1 with the default login screen. Changing this is likely impractical next to the simple solution of ditching Classic Logon (It's an ancient artifact by now)

Read other 1 answers
RELEVANCY SCORE 52.4

Running Win 7 Home Premium 64 bit.

Why does iTunes and other sounds keep playing even when that user who initiated it logs off using "Switch user?" The sounds and iTunes keep playing even when another user logs in.

A:iTunes & sounds keep playing even when user logs off using Switch user

Could be because of Fast User Switching. That really doesn't Log Out the other user. It just Switches users, as in both are still logged in.

Try Logging out the other user.

Read other 6 answers
RELEVANCY SCORE 52.4

Here's my issue, I would like to RDP to a Windows 7 laptop. Even with Administrative privledges, it will tell me "Waiting for user to respond". I would like to either switch users via RDP, or force them to log off without prompting.

Server is SBS 2008. I already have "Set Rules for remote control of Terminal Services user sessions" to Full Control without user's permission.

A:Forcing user logoff/switch user with Remote Desktop

Anyone?

Read other 2 answers
RELEVANCY SCORE 52.4

Hello

Interestingly on boot up I see "another user" but the picture is blank, with a frame around it (I can see through it to the boot wallpaper that I have changed to prove) ..

Who is another user?

Please help as I have been on the 2 days now

A:Created admin User but can see on 'Switch User" cntrl/alt/del

Sorry to bump but things have changed somewhat, and yes could start a new topic but will try the edit function as I am not here often. I see 110 views and that's promising

Please advise who is this "another user" icon/picture is blank, with a frame around it (I can see through it to the boot wallpaper that I have changed to prove) .. on control /alt/ delete.

I now have admin rights back (previous problem) but this "another user" can't be found anywhere (I know of) except at login. I am stumped..

Read other 5 answers
RELEVANCY SCORE 51.6

Hi Guys,

I had this issue:when the fast user switching is disabled and someone already login to the computer, I can not unlock or switch to another user to login. Only thing I can do is power off.( I don't have that user's password to unlock the computer).
Can please advise is there anyway do unlock the computer without power off?

Thank you.
 

A:How to switch user when fast user switching is disabled?

Read other 6 answers
RELEVANCY SCORE 51.6

Hi everybody
My computer has just started this one in the last week or so. Not sure of the exact trigger or exactly when.

I can be logged on as any valid user on the system. When I try to switch user using the standard methods, after selecting a user account it says that there is already a user logged in and that I can only have one user logged in.

I have Windows 7 Home Premium 64 bit and have been running it successfully (and being able to switch users) for several years now.

Is there anybody that can point me in the right direction as to where to look for this one?
Many Thanks
LP

A:Switch User does not permit additional user to be logged in

Hi,

Take a look at this guide and see if Fast User Switching is enabled?
How To Enable/Disable Fast User Switching In Windows 7, Vista, XP

Regards,
Jamie

Read other 3 answers
RELEVANCY SCORE 50.8

Hello,

I've searched the forum and could not find an answer to this problem.

I have a Windows 7 Enterprise machine where at the login screen the "Switch User" button is missing and so I am unable to clear the last user.

Just about all the results I got back on this topic was how to re-enable the "Switch User". This doesn't help because I can't login to make the change.

TIA!

Read other answers
RELEVANCY SCORE 50.8

Hi
On my new laptop, everytime (almost) I switch user I have the BSOD ) Unexpected Kernel Mode Trap. BSOD, then reboot.
No freeze but just reboot and lost all

Attached is the zip file

BIG thanks for your help
Franck

A:Computer is crashing when I switch user to other user

Hi again,
Im adding a new zip file as it just crashed 5mins ago _ minidump included.
Thanks for your help
Franck

Read other 1 answers
RELEVANCY SCORE 50.8

I have a computer in the breakroom at work, which is running Windows 8. We normally don't use W8, so I am new to it. Apparently an employee logged into the computer with their personal account, then left the company. The screen shows her account logged in, with a blank password box, and no option to switch user. A reboot of the machine comes back to the same screen.

I was able to get into the Advanced Boot Manager and go into Safe Mode, but the same user login screen comes up in Safe Mode also.

I just need to get this user logged out and get back to the main login screen so that anyone can login to the machine. This is a simple step in W7, just can't seem to get it done in W8.

A:Cannot Switch User or Logout User, no one else can login

Hello kc5hwb, and welcome to Eight Forums.

Do you have a back arrow in a circle button at the top left of the user's picture on the sign in screen?

Signing in to Windows 8

Read other 12 answers
RELEVANCY SCORE 50.8

How do I create a command promp shortcut which automatically types this in the window:
net session<enter>
net file<enter>

Is it even possible?
 

A:dos command shortcut with a script

Read other 8 answers
RELEVANCY SCORE 50.4

I can't find any info from online guides on simply:
list all *.txt files created on/after a given date
for example, it doesn't seem you can use the date switch w/ dir like:
dir C:\*.txt /s /d:12-17-2006

any input is appreciated.

A:Command: Using Date Switch W/ Dir?

It doesn't appear that you can do this - although the /T or /O switch should sort them in dated order - so it'll be easier to pick them out.

Type dir /? at the command prompt to see the syntax.

Read other 4 answers
RELEVANCY SCORE 50.4

Hello, I am trying to make a script or reg file to switch on and off "enhance pointer precision" which is generally a mouse acceleration you can set in control panel. I was trying to find what's happening in registry via sysinternals Process Monitor, but did not see anything interesting. Then I found that a value HKEY_CURRENT_USER\Control Panel\Mouse\MouseSpeed switches between 0 an 1 when I check/uncheck this in control panel, but it is probably not the only thing! Because When I change this manualy it does not do anything and the mouse settings remains unchanged... What do you think? I was trying to find some WMI method but failed...

A:reg or script to switch mouse acceleration

To give you an idea, to get the higher speed:

MouseThreshold1 = 0
MouseThreshold2 = 0
MouseSpeed to 1 or 2 (1 X2 the normal speed, 2 X4 the normal speed)

Read other 2 answers
RELEVANCY SCORE 50

Write a shell script that will accept any number of command line interger parameters do the following....I have to use a if statment for the lowest and highest values???

first question-----Determind the lowest and highest values?
second question------Determind the sum of all parameters entered??

for num in $*

do

if [ num -lt lowest}
then
echo " The low number is : $num"
fi
if { $num -gt high ]
then echo "High num is: $num"
fi

How
 

A:shell script Command line help please

Read other 6 answers
RELEVANCY SCORE 50

Hi,
I want to uninstall fonts with command line or script. Can any one help me on this?
Regards,
Umesh

Read other answers
RELEVANCY SCORE 50

Hi all, i use this script to compress all .txt and .cpi files into the backup folder in separated files with 7zip. After the files are zipped i delete the original files. However this script has a logical flaw. Lets say if the 7zip program fails to run, the files will also get deleted. How can i change the script so that it should not delete the files if they don't get zipped first. Also how can i change this script so it zips files that are older than 7 days? Thanks for your help. Jason

@echo off
setlocal
set _source=C:\test7zip\bak
set _dest=C:\test7zip\bak
set _wrpath=C:\Program Files\7-Zip
if NOT EXIST %_dest% md %_dest%
for %%I in (%_source%\*.txt,%_source%\*.cpi) do "%_wrpath%\7z" a "%_dest%\%%~nI.7z" "%%I" & del "%%I"
pause
 

A:Command Line Batch Script

Read other 6 answers
RELEVANCY SCORE 50

I need to terminate a program running under Windows 2000 Professional in a cmd script, prior to shutting down the system in the event of a power outage. Since the powe outage may come when the system is unattended, I need to write a script to cause the program to exit.

Is there a way to do this in Windows 2000? Or a utility that will perform this function?

Any suggestions are appreciated.
 

A:how can I terminate a program from command script?

Read other 7 answers
RELEVANCY SCORE 50

anyone know of a command line to make xp switch to a specific resolution
when a program runs and then back to default on exit?

driving me nuts..........
 

Read other answers
RELEVANCY SCORE 50

I use a program called "Texmod" for a number of games to modify their textures. One game I am recently playing, however, requires that a command line switch be used to run the game client exe directly. Texmod doesn't support command line switching through it's own, so the game client refuses to work. Is there anyway (via Windows options or a third-party application) I can embed/hardcode the command line switch into the exe permanatly, so if the exe is ran, it'll always force load the command line switch?

A:Command Line Switch exe embeding?

There are switches for cmd.exe, but I don't see how you could utilize this outside of a batch or scripting file.

Read other 6 answers
RELEVANCY SCORE 50

Do you know any way to find the command-line switches of a program. For example, I noticed that the Avira command on start up is "C:\Programs\Avira\AntiVir Desktop\avgnt.exe" /min". I want to find out if it is possible to find out the command at the end (in this case "/min")
 

A:Find a Command-Line Switch?

Read other 10 answers
RELEVANCY SCORE 50

How do you activate and utilize the NCRC command line switch to skip the NSIS check during software installation. I purchased the software and verified its integrity with a successful installation on an older system of mine. I've attached the basic specs for my current system running XP PRO.
 

Read other answers
RELEVANCY SCORE 50

I am makeing a windows blinds skin and I want to add a button on my windows that when pressed it shows all windows 3d like when you press the hot key or quick launch shorcut. I have to enter the command for the button and I dont know what It would be? The command that would tell the pc to do that? Is anyone know what that command would be. I

A:Command for Switch between windows in vista?

Bump!

Read other 2 answers
RELEVANCY SCORE 50

I need script to change my WiFi IP to specific IP as well as DNS and then change back to DHCP.
I need to work on both College and Home network. So I am looking for script which changes WiFi IP.

I have got two files. But I am not sure whether it will work. Somebody help me in verifying the script. If it appears to be wrong, then please provide the correct script.

College IP script: 
@ECHO OFF
netsh interface ipv4 set address name="Wi-Fi" source=static addr=172.16.20.131 mask=255.255.240.0 gateway=172.16.16.2
netsh interface ipv4 set dns name="Wi-Fi" source=static addr=172.16.16.2
netsh interface ipv4 add dns name="Wi-Fi" addr=8.8.8.8 index=2
:EOF

Home IP script:
@ECHO OFF
netsh interface ipv4 set address name="Wi-Fi" source=dhcp
netsh interface ipv4 set dns name="Wi-Fi" source=dhcp
ipconfig /renew
:EOF

Please help me in verifying and identifying the working script to switch between college and home network IP.
Thanks in advance. Looking for a positive reply in soon.

Read other answers
RELEVANCY SCORE 50

I have a dual monitor set up in my office with a 23" Asus connected via DVI and a 19" Sony connected via VGA and adapter to my custom build. In my living room I have a TV connected Via Receiver Via adapter(composite/s-video) Via s-video to my same custom build.

At the moment I have to go in to "screen resolution" and select the sony from the "Display" menu and then "disconnect this display" from the "Multiple displays" menu. So far I have only disconnected the sony monitor, I still need to extend desktop on to the TV.

this gets to be a legthy process when I do it 8 times a day every day. Is there a why to have 1 or 2 executable script that will allow me to switch between the desired displays?

Thanks,
John

A:executable script to switch active displays

For starters you''l get quite far by using default installed hotkeys: Press WindowsKey+P

It should be fairly obvious from now on. However; select one of the four default configurations and it will set up your view as requested. Try all of them if in doubt, but try to avoid duplicate.

- On my setup its somehow reversed. I use Projector only for my computer screens. But to watch TV I have to choose Computer only.

Read other 1 answers
RELEVANCY SCORE 49.6

A file called aaw7boot, which is a windows command script type file, appeared in my C drive. I am not sure what this is, or how to remove it, and neither Spyware Doctor or Adaware is locating this. I found it when I got home at about 4:00 or 4:30. Adaware was already on my computer, fully updated to their Anniversary edition. I recently installed the free version of Spyware Doctor to try to get rid of that virus. The internet has been running at a slower speed than usual. This computer also wirelessly connects to two other computers, one a desktop, and one a laptop. It used to also connect to my sister's laptop, until she was affected with a virus that will not let her go on the internet; she is blocked off by an ad for antivirus 360, and we know it's a rogue antivirus program. We plan to have that fixed later.
This may have something to do with my updating Adaware, though that doesn't explain why the internet is working so slowly.
Of course, this may be me being paranoid. If so, I am very sorry for wasting your time. My sister can't even use her computer anymore, and with my computer slowing down, and the problem where google said that the / key was related to malware...
Thanks for your time, whatever the results are.

DDS (Ver_09-02-01.01) - NTFSx86
Run by User Name at 18:43:01.12 on Mon 02/02/2009
Internet Explorer: 7.0.6001.18000
Microsoft? Windows Vista? Home Premium 6.0.6001.1.1252.1.1033.18.2045.1107 [GMT -5:00]
============== Running Processes ========... Read more

A:aaw7boot windows command script infection

Computer seems to be running even slower today. I hope nothing bad's on this computer.

Read other 11 answers
RELEVANCY SCORE 49.6

Hello,I was wondering if Combofix has any Command Line Parameters. I would like to be able to create a script to download and run a Combofix without and user interaction. Is there a way to make Combofix run silently and select OK or YES to any of its pop-up windows (like to install Microsoft recovery or to reboot the computer)? Please let me know ThanksPS. Love your products, they work awesome!! Edit: Moved topic from XP to the more appropriate forum. ~ Animal

A:Combofix script/command line Parameters

Please read the pinned topic ComboFix usage, Questions, Help? - Look here.

Read other 5 answers
RELEVANCY SCORE 49.6

Windows 7 has apparently changed the way fonts are installed. I have a web page that I use that when visiting the page it looks to see if a file called barcode.exe is installed in a particular folder and if it is not present it downloads the file and executes it. The exe file is designed to place 2 carolina bar code fonts into C:\windows\fonts. This works with no issues in both Windows XP and Windows Vista but is not working in Windows 7. I can manually install these into Windows 7 font folder with no problem, but need to be able to do it automatically. Does anyone know an effective command line to use to place a font into the font folder in Windows 7? Thanks...

Jerry Mill

A:Installing fonts via command line/script

in my my .bat file, I run Font.vbs file.

rem Add files

O:\BDARevit\Distra\Font.vbs

Text code inside of Font.vbs file as follows:

' Fonts.cfg
' January 13, 2010
' ----------------------------------------------------------
Option Explicit

Dim objShell, objFolder

Const FONTS = &H14&

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(FONTS)
objFolder.CopyHere "O:\BDARevit\Distra\architxt.ttf"

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(FONTS)
objFolder.CopyHere "O:\BDARevit\Distra\BlankSerif.ttf"

Wscript.Quit

Read other 9 answers
RELEVANCY SCORE 49.6

Hi all, i use this script for compress all bak files into the backup folder in separated files with 7zip.
for %%I in (*.bak) do 7z a "%%~nI.7z" "%%I"

The thing i have to add here is when finish compressing each file deletes the source .bak file, is this posible?

Thanks a LOT!!!! & Thanks TheOutcast for the original code from here !!!!

Regards,
 

A:Solved: Help With Command Line Batch Script

Read other 14 answers
RELEVANCY SCORE 49.2

I'm new to writing command line scripts and am trying to write one that will record time, date, and ip configuration each time my laptop signs on to a network (wireless mainly, but wired as well).

I don't know how to check for a connection in a script or what event is triggered when the network is connected.

Any help is much appreciated.
 

A:Command Line Script/ Wireless Network Logon

Read other 8 answers
RELEVANCY SCORE 48.8

Seems like in Windows Seven there's no way to add a command line switch when setting up default programs?

What I'm trying to do is ensure that Chromium is always opened with this command line switch: -allow-outdated-plugins

I have it in the shortcut pinned to taskbar. All is fine until I open a page via association when the browser isn't open. Chromium has Flash built in. I have it disabled. So without the switch I'm going to keep seeing "your plugin is outdated" blah blah.

I don't understand why command line params when setting up file types has been removed.

A:use command line switch when browser opened via association?

hmmmmm, this seems to be working. I went to HKCR key for .html and got the value. Searched on that to get the command string. It was
"c:\path\Chromium\chrome.exe" -- "%1"

I changed it to
"c:\path\Chromium\chrome.exe" " --allow-outdated-plugins " "%1"

Note the empty space at the start and end of the allow param.
If you just stick the allow part after a space after the exe it won't work. It needs these 3 quoted groupings. At least by trial and error it works for me.

(Use ERUNT or restore point to back up registry before these edits in case browsing gets broken from messing with it.)

Read other 3 answers
RELEVANCY SCORE 48.4

Hello,

I am currently having to occasionally adjust my color settings in Windows 7 after using older Direct 3d programs. They reset the monitor's color profile and to set it to the correct one, I do this by going to Screen Resolution>Advanced Settings>Color Management, then ticking the box to Use My Settings, which will apply the proper color profile.

I am wondering if there's a dos prompt or run command line for the following feature to which I could then build into a batch file for ease and convenience.

Thanks

A:Please advise command/method/script to adjusting color profiles

  
Quote: Originally Posted by Saraya


Hello,

I am currently having to occasionally adjust my color settings in Windows 7 after using older Direct 3d programs. They reset the monitor's color profile and to set it to the correct one, I do this by going to Screen Resolution>Advanced Settings>Color Management, then ticking the box to Use My Settings, which will apply the proper color profile.

I am wondering if there's a dos prompt or run command line for the following feature to which I could then build into a batch file for ease and convenience.

Thanks


Hi Saraya,

Please check the similar post below which might be useful for you:

How to set color profile with command prompt?

Hope it helps.

Read other 1 answers
RELEVANCY SCORE 48.4

Hello,
Our objective is to disable "IPv4 Checksum Offload" property from all network adapters via command.
We searched a bit on the internet and found such a command for Powershell, compatible starting with Windows 8 libraries:
Set-NetAdapterAdvancedProperty (Get-NetAdapter | where status -eq 'Up' | select -ExpandProperty name) -DisplayName "IPv4 Checksum Offload"
-DisplayValue "Disabled" ?NoRestart
On Windows 7 we upgraded to Powershell 4.0 and tried the commands again but Windows 7 does not seem to have the needed libraries.
The only way we found in Windows 7, is to disable the property via registry but it does not seem to work properly:
new-ItemProperty -force -Path HKLM:\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters -Name IPChecksumOffloadIPv4  -Value
0


Is there a way to add specific libraries in Windows 7 to use those commands: Get-NetAdapter, Set-NetAdapterAdvancedProperty etc. or another way to disable the "IPv4 Checksum Offload" from command?



Thank you very much,

Craznic Razvan


Read other answers
RELEVANCY SCORE 48.4

this was simple in windows xp.I have a script that installs Citrix web client.Problem I need to copy over the shortcut to users\public\public desktop through this scriptHow can you program the copy to run in the Elevated command prompt mode to do this?

A:Windows7 elevated command prompt priviledges throug a script

Greetings, I agree with Calwell’s reply. It seems that you want to run the copy action as an administrator using the script itself.
You can refer the following URLs, hope it would be helpful.Utility Spotlight - Script Elevation PowerToys for Windows Vistahttp://technet.microsoft.com/en-us/magazine/2007.06.utilityspotlight.aspx?pr=blogHow Can I Run a Script Under Alternate Credentials?http://blogs.technet.com/heyscriptingguy/archive/2004/12/13/how-can-i-run-a-script-under-alternate-credentials.aspx  Since this issue is more related to scripting, I recommend you open a thread to Official Scripting Guys Forum in Technet so those coders can help you fix the issue in a timely manner.Official Scripting Guys Forum http://social.technet.microsoft.com/Forums/en/ITCG/threadsScript Center:  http://technet.microsoft.com/en-us/scriptcenter/default.aspx

Read other 15 answers
RELEVANCY SCORE 48.4

Hi all. Anyone able to suggest a vbs (or command-line file) to clean out C:\Windows\Software Distribution\Download?

Thanks, I'm aware of the significance (or lack of) of this folder, and I realize I could just drill down to it and manually dump the contents. I'm just looking for a more elegant solution.

Incidentally, the folder seems to named 'SoftwareDistribution' on my XP machines, but 'Software Distribution' (with a space) on my Win7 pc. Maybe just a glitch in the matrix?

Cheers :-)

A:Script or command to delete contents of Software Distribution folder?

Hello,

Save the the below text a Notepad. And save it as a batch file. i.e.

File > Save as > <filename>.bat

Note: You have to Right Click on the Batch File and Run as administrator


Code:
net stop wuauserv
ren %windir%\SoftwareDistribution SD.old
net start wuauserv
Hope this helps,
Captain

Read other 7 answers
RELEVANCY SCORE 48.4

Hello all,
I would need to run a specific script in EMET (using local CLI) when it detects some "attack" or security problem.
This script should receive the filename and path of the file, executable or process who "launched the attack".
Please, do you know if this can be done? Through Active Directory scheduled tasks I can schedule a task triggered by a specific event however, I cannot tell the script the filename affected in this way, if I'm not wrong.
Any help?

Thanks!
Mat.

Read other answers
RELEVANCY SCORE 48.4

Hello,
Inside a batch script, how to use the content of a variable that come from a PowerShell command ?
Regards,

Read other answers
RELEVANCY SCORE 48.4

Is there a way to run a certain command from the command prompt and set it to run as a scheduled task every day?

Example: I wan to run - start/b c:\fnsw\bin... everyday at 3:00.

- I am running Windows 2000

Thanks,
~Jeremy
 

A:Solved: Scheduled Task: Running Script on Command Prompt

Read other 8 answers
RELEVANCY SCORE 48.4

Hi Everyone, does this exist?
 
I want to write a script & have it play back with a unique voice per actor, for example?
 
Voice 1: How are you?
Voice 2: Good
Voice 1: What's new?
Voice 2: Nothing
 
I will need to "export to wav" & I would want to use my own TTS files too.
 
As there anything out there like this?

A:Text-to-Speech software that will switch voices per line (acting script)

good morning to all,
 
there some software out there that can do the job 
 
text to speech something like that...
 
https://www.readspeaker.com/voice-demo/
 
you can find many android applications as well 
 
http://www.techradar.com/news/the-best-free-text-to-speech-software
 
 
http://www.audiobookmaker.com
 
https://www.quora.com/What-is-the-best-text-to-speech-software
 
https://www.ivona.com
 
even with windows xp you can do text to speech but i am not sure if this is what you really want
 
 
https://support.microsoft.com/en-us/help/306902/how-to-configure-and-use-text-to-speech-in-windows-xp-and-in-windows-v
 
 
 
good luck my friend

Read other 3 answers
RELEVANCY SCORE 48.4

We are looking to initially turn-off the bluetooth function on our deployed computers unless the user specifically needs it. We have already tested two command options: Turn off Bluetooth support service and Disable Bluetooth adapter. Neither of these will
toggle the switch found in Metro's PC and Device Settings, so the device still shows as ON and confuses the user. 
Can someone help us find the command line to execute that will emulate triggering this switch to Off?

Read other answers
RELEVANCY SCORE 48.4

Hi all,
I'm trying to run the process manager SMPD on a remote computer in LAN environment. Computers are 64-bit, running Windows 7 pro, Ethernet connected via wired router, and have same account's user name and password. The following WMIC has been written
to command prompt: WMIC /node:SERVER /user:"Said El Noshokaty" /password:"soudy73" process call create ?cmd.exe /c smpd.exe -d?. I received "Invalid verb switch" error message. It does not tell what verb or what switch. I
need a solution which considers SMPD running within a Fortran 64-bit program using RUNQQ command. 
Need help.
Prof. Dr. Said El Noshokaty

Read other answers
RELEVANCY SCORE 48

I'm in need of a way to remove the *Session credentials via a script / command line.I support a large number of remote clients and due to SSPI conflicts I end up having to manually remove my *Session credentials multiple times per day.It would be extremely helpful to be able to do this via a script.Any help would be appreciated.Thanks in advance,Doug

A:Looking for a script / command line to remove the *Session credential from the Credentials vault

Hi Doug,
 
It appears that this is a scripting related question and we have specific forum for supporting this. Please go to our Scripting Forum for help.
 
Thanks. Nicholas Li - MSFT

Read other 3 answers
RELEVANCY SCORE 48

Greetings!
A forum moderator of Microsoft Community has suggested that I repost my question here.
What I need to do is to find a way to switch users automatically right
after the main user account has logged in (when Windows 8 start-up process is over). The sequence should be like this: booting the OS -> logging into the main user account -> logging it off -> logging into another user account.    


Since the edition of the OS is non-pro I cannot use scripts involving Group Policies Editor nor can I resort to the commands provided by 'quser' which is missing. From my understanding,
'Tscon' allows to switch to a user who's already logged in, and 'tsdiscon' just gets me to the Logon Screen.
 
If there's no other way to switch users via the Command Prompt what 3rd party software would you recommend that's capable of switching users and has a CLI so that I could use
it with Windows Task Scheduler?

(Have been looking into the problem for three hours.. to no avail) 

Read other answers
RELEVANCY SCORE 47.6

Hi everyone,
In our organisation we are using wireless displaying technology to mirror devices onto our TV's. At present we are having troubles because of a Cisco VPN client we use on our machines. I have narrowed the problem down to the 'Deterministic Network Enhancer'
which is installed with the Cisco VPN which is linked to each network adapter.
I was wondering if there was a way to create a batch file which disables the deterministic network enhancer on each network adapter, I will also need one to turn it back on.
If you need further info please let me know
Thanks in advance

A:Disable Deterministic Network Enhancer for wireless adapters via command line script

Hi Mark
since I have limitation knowledge regarding related product which caused this issue, I suggest you contact Intel for WiDI and Cisco regarding this VPN client
There supposed to be workaround that will fix this issue, I suspect this is maybe caused by version only, try to contact Cisco regarding which version that not conflict with WiDi, if still persist I suggest contact Intel why this certain version caused WiDi
stop
What im suggest:
1. From the hardware site, make sure you have the latest update for processor, graphic card, and network related driver. PC manufactured site supposed to be have this files
2. From the Cisco side, other than update the DNE, ask Cisco regarding which version that might be work with WiDi
3. From the Intel side (WiDi), ask them how to configure this thing so it will not conflict with your Cisco VPN client
I also think this issue will be solved by upgrade driver (related to network), I cant make sure if certain version of Cisco VPN Client will be conflict with WiDi, that's why I suggest you to contact both Cisco and Intel
Please let us know the update, you reply might be help for the others
good luck

Read other 9 answers
RELEVANCY SCORE 46.8

Hello, 
I have been using this script for some time now, and occasionally I get duplicate users, mostly because communication is to late. So I wanted to add 2 message windows (llnexists and llnexistsyes) I wanted to run llnexists right after the username check(line
482, but i cant seem to get it to work. I keep getting stuck in "a loop" with message: "A positional parameter cannot be found that accepts argument" 
Import-Module ActiveDirectory

Add-Type -AssemblyName System.Drawing
Add-Type -AssemblyName System.Windows.Forms


$DefaultValues = [PSCustomObject]@{
#### @domain.com ####
Domain = ""

#### A share for HomeFolders ####
HomeDir = ""

#### Home drive letter ####
HomeDrive = "P:"

#### Location in active directory ####
ADPath = "OU=test,DC=,DC="

#### Startup Script ####
StartupScript = "test.bat"

#### User is member of group ####
ADGroupMember = "agroup"

#### Available Classes ####
Class = @("testclass1","testclass2")

##########################################################

}


function NewStudentForm{
#####################################################
#### Text on New Student Form ####
$NSTitle = "Create new student account"
$NSBack = "Back"
$NSNex... Read more

Read other answers