Execution Of DOS Command Each Time User Logs Off
May 24, 2013In all editions of Windows 8, how do I make sure that it executes a DOS command each time a user logs off?
View 9 RepliesIn all editions of Windows 8, how do I make sure that it executes a DOS command each time a user logs off?
View 9 RepliesIn all editions of Windows 8, how do I make sure that it executes a DOS command each time a user logs off?
View 3 Replies View Related In a Windows 8 PC, User account is "Standard" and Administrator account is different, in which how can I exclude some application which is from asking administrator password to execute?
My situation is specially for application updates such as java and/or adobe reader. Each time, when there is an update, it is asking administrator password to run the same.
Windows 8 creates a roaming profile in the C:Users directory using xxxxxx_000 subdirectories for each Microsoft account which is created.
Apparently, these subdirectories are only temporary directories that are recreated each time a user logs on to Windows 8 via these accounts.
Is there a way to make sure that these profiles are completely deleted when the user logs off from his Microsoft account?
Is there any way to add a command to the Windows 8.1 start button (right mouse click throws up a menu).
That could be quite useful for launching something like a user tool bar from the start button.
I am trying to elevate a command given (in this case just another cmd.exe) if the user is not admin. However i get the error:
Code:
C:Usersmetul_000>runas /user:administrator cmd.exe
Enter the password for administrator:
Attempting to start cmd.exe as user "WINDOWS8administrator" ...
RUNAS ERROR: Unable to run - cmd.exe
1326: The user name or password is incorrect.
C:Usersmetul_000>
This is a personal pc, and I know i put in the password correctly as i have done it a few times slowly typing in my admin password to confirm that it is input correctly. So why am i getting this error? Initially my overall goal is to get this python script to say you are admin ...
Code:
import ctypes
import subprocess
import sys
import os
[Code] ......
if you are admin its done, but if you are not admin then it reruns itself with the so called run as command to get admin rights. However currently it just pulls up the run as usage messages. The full command this script attempts to run then is:
Code:
C:Usersmetul_000>runas /user:administrator "python3 test2.py"
Enter the password for administrator:
Attempting to start python3 test2.py as user "WINDOWS8administrator" ...
RUNAS ERROR: Unable to run - python3 test2.py
1326: The user name or password is incorrect.
C:Usersmetul_000>
In Windows 8, it is possible to run a command whenever the login screen of the last user is displayed in a local computer? This command should always be run with elevated rights and just before this screen appears.
View 2 Replies View RelatedIn Windows 8, it is possible to run a command whenever the login screen of the last user is displayed in a local computer? This command should always be run with elevated rights and just before this screen appears.
View 3 Replies View RelatedIn Windows 8, it is possible to run a command whenever the login screen of the last user is displayed in a local computer? This command should always be run with elevated rights and just before this screen appears.
View 6 Replies View RelatedI've never used Bitlcoker before
Have win 8.1 pro
Can I use this to encrypt my office 365 access database files or folders, too?
If so, how?
Also, I'm currently saving files to 'skydrive / myusername'. Is that the same as the new Onedrive pro?
I want to understand where to save my files to have BOTH local & onedrive copies.
I'm experiencing a weird problem with Windows 8 Pro x64. Although I'm on the only user account on Windows (that is the administrator one), it looks like I don't have the Admin privileges and need to manually request them each time.
For instance, when I install some programs (e.g., VLC, Deamon tools, Dropbox...), I often receive errors similar to "Windows could not elevate", or "Windows doesn't have sufficient rights to install from a temporary directory". This is easily fixed by right-clicking the executable and selecting "Run as administrator", but is this working as intended? I have another Windows 8 installation where it just works without this workaround.
Do I need to change some settings?
Two days ago I received quite a strong new Win 8.1 computer (with SATA drive). I have opted for a LOCAL user only without a password.
The boot process was extremely fast: the computer turns-on to the blue log-in screen in few seconds; and then pressing Enter the signing-in process was almost immediate.
Then, a bad thing happened: I was lured by Microsoft to sign-in with a Microsoft account. Then, signing-in to my computer with this MS account (and password) took ages; I mean, something like a full one minute the computer was trying to sign-in until eventually succeeding.
Understanding my mistake (why would I want an MS account?) I decided to disconnect from my Microsoft account, and return back to my nice local user.
But now, the long waiting time to signing-in (even without a password, and with an automatic log-in) still remains: I wait like 25 sec when the blue screen and the white dot circulate repeatedly until my account is signed-in.
This script was made for Windows 7 but works perfectly on Windows 8:
Event Viewer One Click Clear - Windows 7 Forums
Note: Some say you should never clear the Event Logs but when "I can't see the forrest for the trees", I run this script (as admin).
I have booted in safe mode, and it seems to work fine. But, when I do a clean boot (disabling all non-windows startup services and programs), it still logs me out.
View 4 Replies View RelatedI've clean installed and registered Windows 8.1 Pro 'With Update', and it logs into the Desktop automatically. If I run "netplwiz" my "Users must enter a user name and password to use this comptuer." check box is checked... As well all my registry entries under:
Code:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUI
...seem to be in order for the system requiring a password to be entered before the system loads the start screen or desktop but I'm directly in the desktop whether I cold boot or reboot.
I have an Admin & a Guest account on my Windows 8.1 Pro (32 bit). I have enabled the option to go directly to the desktop (through toolbar properties > Navigation) in both the accounts. However, I notice that at times when I start my PC, it logs me in directly to the Guest account instead of taking me to the page where I should see the date & time (before login page). This does not happen always.
View 9 Replies View RelatedRunning Windows 8, the system boots into a user account without login.
The launcher seems to work, I can bring up the desktop. From the desktop I cannot launch any programs, other than a non-admin DOS window- but from there I can't launch any other non command.com EXE.
When I try and run any desktop app, the icon comes up and highlights for about 5-10 seconds, then goes back to normal. I can't even ht CTRL-ALT-DEL and run Task Manager. It just never comes up.
Logging out never gets me back to the login screen.
I can swap accounts- but the other account never gets logged in. Just waits forever (or, at least, a long time).
When I launch Metro apps, the splash comes up to the app... and that's it. I can CTRL-F4 it, and that's it.
Hitting F8 on boot doesn't do anything (no safe mode anymore?).
Tutorial or ebook i could read for reading windows event logs? id like to learn more about them.
View 3 Replies View RelatedWhether or not these batch files that I use to clear the Event Viewer logs and to activate the extended disk cleanup prompt of windows 7 are compatible with Windows 8.1.
-Event Viewer log clean up batch file
@echo offFOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%VIF (%adminTest%)==(Access) goto noAdminfor /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")echo.echo goto theEnd:do_clearecho clearing %1wevtutil.exe cl %1goto :eof:noAdminexit
I am using windows 8 and from time to time the whole laptop freezes with only short moments where you can move the mouse until it freezes again.
And today I was using word and the program wouldn't let me work in it, you could see the mouse movement at the bottom of the screen only. I had to shut it down using task manager for it to work again.
After making clean install of Windows 8.1 (before I had Windows 8) then my laptop started to hang from time to time.
Selecting tiles in Start screen with keyboard is normal as it used to be , mouse moves normally but HDD light is not on or blinking. Clicking with mouse does do nothing.
When I click fast many times then it finally opens App from Start screen on a program in Desktop mode but everything is slow for 3-4 min. Then it automatically works as it should be, like nothing would be wrong.
Today I thought I'd set a picture for my user account.
Nothing happens when I click or double click on the user account icon in the control panel.
I then went to check if our other pc was the same but that's fine.
I did notice that on mine instead of an icon of two people the icon is that of a folder.
I have tried accessing it through "Godmode" and it says it can't find it and also all the icons for user tasks are a blank piece of paper.
I am trying to add a second account to my machine and whether I try a Local or Microsoft account, I get the same "User Profile Service failed the sign-in. User profile cannot be loaded" error every time I try to sign in for the first time. I've Googled this a bit and it seems everything I've found yet (except one) has been with logging in to existing profiles. For the one that was with a new profile, the solution didn't work.
I tried deleting all files similar to the specified one (file in C:UsersDefaultAppDataLocalMicrosoftVSCommon12.0SQM with name of "sqmdata-####-###-#####.sqm"), but that had no effect. I'm guessing this is because I have VS2013 installed, as this happens with my laptop as well. I don't want to delete my profile, I have important (and large) data in my documents folder that I don't want to lose. I'm guessing this will have to do with messing with the registry, but I don't know where to begin.
So, I wanted to download a game from the windows store and had to create a Live/microsoft account. After doning so win 8 made that account the account that I use to sigh-in to windows. Didn't wanted that so I went to user managment and deleted the account from thare. The problem is that I also accidenly deleted my windows user account as well.
After I restarted, I got to the password screen and my windows user was gone, just "other user". I tryed to enter the windows user name and password but nothing. the screen also showed the microsoft acount name but here also the password dident work (probably because a deleted them both from the system...)
I have been using an unelevated admin user account since installing win 8.1 pro and I've been having problems constantly (UAC nagging me, access denied when trying to kill processes and so on) and I decided I want to use the elevated admin account as my main. I understand security risks and convenience is more important to me as I don't have any sensitive information on my laptop. I was wondering if I can merge the user account I used until now, which has all my app settings, with the elevated admin user account and use that one from now on.
View 9 Replies View Relatedlike everyone else my tiles are missing but for some reason I am under temp user. I'm looking apps there's only a few. I can click on computer, users: to select files from the main user but I cannot sign in as that user. When I click on users it only shows administrator and activate guests. This happened two weeks ago
View 3 Replies View RelatedI have recently installed 8.1 on my desktop with 3 local user accounts (no Microsoft accounts) and no user passwords, and Guest account Off. I have bypassed the lock screen but whenever the computer is switched on or a user signs out, the OS loads the last user instead of going to the user select screen. Something that all Windows OSs have done from go to Win 7. I can back arrow which does display the user select screen.
Or more importantly, any way to make it act like all previous Windows systems. I would not be fussed if this was a single user computer.
How come the UAC is set to the lowest setting for the admin, but for a standard user it is still set as default (requiring admin password)?
View 1 Replies View RelatedMy son's pc will not hibernate on it's own. I used CMD in administrator mode and ran:
powercfg -requests
I found that a usb audio device was currently in use. I can disable it with:
powercfg -REQUESTSOVERRIDE DRIVER "USB Audio Device" SYSTEM
This works, and the pc can now enter hibernation. But when it resumes, the usb driver is running again. Is there a way to run...
powercfg -REQUESTSOVERRIDE DRIVER "USB Audio Device" SYSTEM
Using admin privileges at startup? I want it to be automated.
I seem to be having a problem when command prompt needs to run anything as an admin.
This happens whenever it feels it needs to do so, like when setting a program to run as admin myself, or running an installer, like the setup for firefox (I'm in chrome right now, but I happen to prefer firefox)
Basically, whenever it needs to run anything, it'll open up to the user account controls window in this picture:
Upon clicking yes, it opens the command prompt you see in the left of the image for a split second, then closes. (it took many attempts to get a clear shot using printscreen, and I did edit it to have the UAC prompt in the same image to save space)
I'm guessing a manual regedit of some kind, as running any program is obviously blocked by the problem itself. (I cannot install any fixing programs, and anything that needs to run as admin to work is out as well).
I need to execute the command prompt as admin. When I try to do it the command prompt window doesn't open and there are no errors. If I run the command prompt without admin privs it works, but I then can't do what I need to do in the admin window.
Note: I am running Windows 8.1.